Example #1
0
        private void informationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            InformationForm frm = new InformationForm();

            frm.label2.Name = label4.Name;
            frm.Show();
        }
Example #2
0
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            InformationForm frm = new InformationForm();

            frm.label3.Name = label2.Name;
            frm.label2.Name = dataGridView1.CurrentRow.Cells[0].Value.ToString();
            frm.Show();
        }