Пример #1
0
        public RotateForm(RotateAction action)
        {
            InitializeComponent();
            this.helpTopic = Rotate.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 RotateGraphic(string key, RotateAction element, Point center)
     : base(key, element, center)
 {
     this.needInit = System.Convert.ToBoolean(Rotate.NeedInit);
     this.Surface.Blit(new Surface(Rotate.GraphicIcon));
 }
Пример #3
0
 public RotatePanel(RotateAction action)
 {
     InitializeComponent();
     this.action = action;
 }