Код: Выделить всё
// цветовая схема
[System.SerializableAttribute]
public struct millercolorscheme {
public System.Drawing.Color BorderColor;
public System.Drawing.Color BackColor;
}
Код: Выделить всё
[System.SerializableAttribute]
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
public struct cellclass{
public millercolorscheme scheme;
public int[] celllist;
}
Код: Выделить всё
// классы ячеек
private Dictionary<string, cellclass> cell_classes;
public Dictionary<string, cellclass> CellClasses
{
get {
return this.cell_classes;
}
set {
this.cell_classes = value;
}
}
Попробовал просто сделать свойство [System.Runtime.InteropServices.ComVisibleAttribute(true)]
Код: Выделить всё
public cellclass CellClass
{
get {
return c1;
}
set {
c1 = value;
}
}