public TurnForm(TurnAction action)
        {
            InitializeComponent();
            this.helpTopic = Turn.HelpTopic;

            if (System.Environment.OSVersion.Platform == PlatformID.Unix)
            {
                this.Font = new System.Drawing.Font("Sans", 8.25F, System.Drawing.FontStyle.Regular);
            }

            //The action is saved in order to save the changes
            this.action = action;
        }
Beispiel #2
0
 public TurnPanel(TurnAction action)
 {
     InitializeComponent();
     this.action = action;
 }
Beispiel #3
0
 public TurnGraphic(string key, TurnAction element, Point center)
     : base(key, element, center)
 {
     this.needInit = System.Convert.ToBoolean(Turn.NeedInit);
     this.Surface.Blit(new Surface(Turn.GraphicIcon));
 }