//Operator Context private void ContextAddOperator_click(object sender, EventArgs e) { this.Enabled = false; AddForm addform = new AddForm(language, language.Operator, this, AddOperator); addform.Show(); }
//Country Context private void добавитьToolStripMenuItem_Click(object sender, EventArgs e) { this.Enabled = false; AddForm addform = new AddForm(language, language.Country, this, AddCountry); addform.Show(); }
//Buttons private void AddCountryClick(object sender, EventArgs e) { this.Enabled = false; AddForm addform = new AddForm(language, language.Country, this, AddCountry); addform.Show(); }
private void ContextEditOperator_click(object sender, EventArgs e) { if (current_country != null) { AddForm addForm = new AddForm(language, language.Operator, current_operator.Name, this, EditOperator); this.Enabled = false; addForm.Show(); } }
private void редактироватьToolStripMenuItem_Click(object sender, EventArgs e) { if (current_country != null) { AddForm addForm = new AddForm(language, language.Country, current_country.Name, this, EditCountry); this.Enabled = false; addForm.Show(); } }
private void AddOperatorButton_click(object sender, EventArgs e) { if (current_country != null) { this.Enabled = false; AddForm addform = new AddForm(language, language.Operator, this, AddOperator); addform.Show(); } }