コード例 #1
0
        public FreeForm(FreeAction action)
        {
            InitializeComponent();
            this.helpTopic = Free.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;
        }
コード例 #2
0
 public FreePanel(FreeAction action)
 {
     InitializeComponent();
     this.action = action;
 }
コード例 #3
0
 public FreeGraphic(string key, FreeAction element, Point center)
     : base(key, element, center)
 {
     this.needInit = System.Convert.ToBoolean(Free.NeedInit);
     this.Surface.Blit(new Surface(Free.GraphicIcon));
 }