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