te
This commit is contained in:
parent
01151e679b
commit
57b2f0400e
265 changed files with 22828 additions and 6 deletions
31
Unused/Decal.Adapter.Wrappers/ChoiceTextIndexer.cs
Normal file
31
Unused/Decal.Adapter.Wrappers/ChoiceTextIndexer.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using Decal.Interop.Controls;
|
||||
|
||||
namespace Decal.Adapter.Wrappers;
|
||||
|
||||
public sealed class ChoiceTextIndexer : IDisposable
|
||||
{
|
||||
private Choice myControl;
|
||||
|
||||
public string this[int index]
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((IChoice)myControl).get_Text(index);
|
||||
}
|
||||
set
|
||||
{
|
||||
((IChoice)myControl).set_Text(index, value);
|
||||
}
|
||||
}
|
||||
|
||||
internal ChoiceTextIndexer(Choice control)
|
||||
{
|
||||
myControl = control;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
myControl = null;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue