Пример #1
0
        private void button5_Click_1(object sender, EventArgs e)
        {
            ind = Convert.ToInt32(this.dataGridView1.CurrentRow.Cells[0].Value);

            Form20 F20 = new Form20();

            F20.Show();
        }
Пример #2
0
        private void addNewToolStripMenuItem4_Click(object sender, EventArgs e)
        {
            Form20 chForm = new Form20();

            //set parent form for the child window
            chForm.MdiParent = this;

            //increment the child form count
            count++;
            //set the title of the child window.
            chForm.Text = "Add/New Category Information";

            // chForm.fileloc = oFileDlg.FileName;

            //display the child window
            chForm.Show();
            chForm.WindowState = FormWindowState.Maximized;
        }
Пример #3
0
        private void cleanerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form20 m = new Form20();

            m.Show();
        }