Example #1
0
        private void update_Click(object sender, EventArgs e)
        {
            int      ind   = table.SelectedRows[0].Index;
            Member   m     = (Member)table.Rows[ind].Tag;
            ItemForm form2 = new ItemForm(m, ind, this);

            form2.Show();
        }
Example #2
0
 private void add_Click(object sender, EventArgs e)
 {
     try
     {
         ItemForm form2 = new ItemForm(this);
         form2.Show();
     }
     catch (Exception c)
     {
         MessageBox.Show(c.ToString());
     }
 }