Пример #1
0
 public WindowToken(WindowId id, bool isActive, bool isVisible,
                    WindowState state, SheetId activeSheetId)
     : base(id)
 {
     IsActive      = isActive;
     IsVisible     = isVisible;
     State         = state;
     ActiveSheetId = activeSheetId;
 }
Пример #2
0
 public static Change SheetTabColor(SheetId id, Color?color) =>
 new Change <SheetId, Color?>(ChangeType.SetSheetTabColor, id, color);
Пример #3
0
 public static Change WindowVisibleSheet(WindowId id, SheetId sheetId) =>
 new Change <WindowId, SheetId>(ChangeType.SetWindowVisibleSheet, id, sheetId);
Пример #4
0
 public static Change SheetSetIndex(SheetId id, int index) =>
 new Change <SheetId, int>(ChangeType.SetSheetIndex, id, index);