Esempio n. 1
0
 public static int ToInt(MainTabKind kind)
 {
     switch (kind)
     {
         case MainTabKind.WritingTab:
             return 0;
         case MainTabKind.CharacterTab:
             return 1;
         case MainTabKind.ItemTab:
             return 2;
         case MainTabKind.StoryFrameTab:
             return 3;
         case MainTabKind.TimelineTab:
             return 4;
         case MainTabKind.FromKienaiTab:
             return 6;
     }
     return 0;
 }
 public ChangeTabEventArg(MainTabKind changeTo, object markable)
 {
     ChangeTo = changeTo;
     SubObject = markable;
 }