Example #1
0
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            //int i = dataGridView1.Rows[0].Index;
            //string s = (string)dataGridView1.Rows[i].Cells[5].Value;
            //MessageBox.Show(s);
            addreturn rb = new addreturn();

            mdi.main(encapulation.Parent1, rb);
        }
Example #2
0
 private void btnadd_Click(object sender, EventArgs e)
 {
     addreturn      = new addreturn();
     addreturn.Text = "Add";
     mdi.main(encapulation.Parent1, addreturn, addreturn.Text);
 }