public StraightForm(StraightAction action) { InitializeComponent(); this.helpTopic = Straight.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; }
public StraightMoveGraphic(string key, StraightAction element, Point center) : base(key, element, center) { this.needInit = System.Convert.ToBoolean(Straight.NeedInit); this.Surface.Blit(new Surface(Straight.GraphicIcon)); }
public StraightPanel(StraightAction action) { InitializeComponent(); this.action = action; }