Example #1
0
        /// <summary>Creates a new instance of the <see cref="SimpleGui"/> class.</summary>
        public SimpleGui()
        {
            timers = new List<Timer>();

            Form = new SimpleGuiForm() {
                Text = "Simple GUI",
                Icon = ProjectResources.AppIcon
            };
            Form.FormClosed += Form_FormClosed;

            _controlsPanel = new SimpleGuiControlsPanel(Form.spltControls.Panel1);
            _canvasPanel = new SimpleGuiCanvasPanel(Form.spltCanvas.Panel1);
            _outputPanel = new SimpleGuiOutputPanel(Form.spltCanvas.Panel2);
        }
Example #2
0
        /// <summary>Creates a new instance of the <see cref="SimpleGui"/> class.</summary>
        public SimpleGui()
        {
            timers = new List <Timer>();

            Form = new SimpleGuiForm()
            {
                Text = "Simple GUI",
                Icon = ProjectResources.AppIcon
            };
            Form.FormClosed += Form_FormClosed;

            _controlsPanel = new SimpleGuiControlsPanel(Form.spltControls.Panel1);
            _canvasPanel   = new SimpleGuiCanvasPanel(Form.spltCanvas.Panel1);
            _outputPanel   = new SimpleGuiOutputPanel(Form.spltCanvas.Panel2);
        }