Exemple #1
0
        //Operator Context
        private void ContextAddOperator_click(object sender, EventArgs e)
        {
            this.Enabled = false;
            AddForm addform = new AddForm(language, language.Operator, this, AddOperator);

            addform.Show();
        }
Exemple #2
0
        //Country Context
        private void добавитьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Enabled = false;
            AddForm addform = new AddForm(language, language.Country, this, AddCountry);

            addform.Show();
        }
Exemple #3
0
        //Buttons
        private void AddCountryClick(object sender, EventArgs e)
        {
            this.Enabled = false;
            AddForm addform = new AddForm(language, language.Country, this, AddCountry);

            addform.Show();
        }
Exemple #4
0
 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();
     }
 }
Exemple #5
0
 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();
     }
 }
Exemple #6
0
 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();
     }
 }