/// <summary> /// Handles the Click event of the BtnOpenEditor control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void BtnOpenEditor_Click(object sender, System.EventArgs e) { FormGlobusEditor editor = new FormGlobusEditor(); if (editor.ShowDialog() == DialogResult.OK) { this.GlobusShop = new GlobusShop(editor.GlobusShopEditor, this); this.btnStartStop.Enabled = true; } }
/// <summary> /// Handles the Load event of the FormGlobusView control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> private void FormGlobusView_Load(object sender, System.EventArgs e) { this.GlobusShop = new GlobusShop(this); }