Пример #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MainForm"/> class.
        /// </summary>
        private MainForm()
        {
            this.InitializeComponent();

            this.textBoxNumberSteps.Text = this._numberSteps.ToString();
            this.MarkProjectChanges(false);
            this.menuFileNew.Enabled = false;

            this._startForm = new StartForm();
            this._startForm.ButtonNewPressed          += this._startForm_ButtonNewPressed;
            this._startForm.ButtonClosePressed        += this._startForm_ButtonClosePressed;
            this._startForm.ButtonOpenPressed         += this._startForm_ButtonOpenPressed;
            this._startForm.ButtonOpenPreviousPressed += this._startForm_ButtonOpenPreviousProjectPressed;
        }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="MainForm"/> class.
        /// </summary>
        private MainForm()
        {
            this.InitializeComponent();

            this.textBoxNumberSteps.Text = this._numberSteps.ToString();
            this.MarkProjectChanges(false);
            this.menuFileNew.Enabled = false;

            this._startForm = new StartForm();
            this._startForm.ButtonNewPressed += this._startForm_ButtonNewPressed;
            this._startForm.ButtonClosePressed += this._startForm_ButtonClosePressed;
            this._startForm.ButtonOpenPressed += this._startForm_ButtonOpenPressed;
            this._startForm.ButtonOpenPreviousPressed += this._startForm_ButtonOpenPreviousProjectPressed;
        }