Пример #1
0
        private void button29_Click(object sender, EventArgs e)
        {
            Addroom create = new Addroom();

            create.Owner = this;
            create.ShowDialog();
        }
Пример #2
0
        private void button22_Click(object sender, EventArgs e)
        {
            string  ed2    = dataGridView9[0, dataGridView9.CurrentRow.Index].Value.ToString();
            string  ed1    = dataGridView9[1, dataGridView9.CurrentRow.Index].Value.ToString();
            Addroom create = new Addroom();

            create.Owner = this;
            create.edit  = ed2;
            create.edit1 = ed1;
            create.ShowDialog();
        }