Esempio n. 1
0
        private void редактироватьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AssemblyOne AssemblyOneForm = new AssemblyOne();

            AssemblyOneForm.ID   = dgAssembly.CurrentRow.Cells[1].Value.ToString();
            AssemblyOneForm.Type = "edit";
            AssemblyOneForm.Show();
        }
 private void dgCustomerList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (Mode == "1")
     {
         AssemblyOne main = this.Owner as AssemblyOne;
         if (main != null)
         {
             main.Customer = dgCustomerList.CurrentRow.Cells[1].Value.ToString();
             this.Close();
         }
     }
 }
Esempio n. 3
0
        private void добавитьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AssemblyOne AssemblyOneForm = new AssemblyOne();

            AssemblyOneForm.Show();
        }