Exemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            HireForm hire = new HireForm();

            hire.MdiParent = this.ParentForm;
            hire.Show();
        }
Exemplo n.º 2
0
        private void wypożyczenieToolStripMenuItem_Click(object sender, EventArgs e)
        {
            HireForm hire = new HireForm();

            hire.MdiParent = this;
            hire.Show();
        }
Exemplo n.º 3
0
 private void button3_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow row in this.dataGridView1.SelectedRows)
     {
         Hire hire = row.DataBoundItem as Hire;
         if (hire != null)
         {
             HireForm hireForm = new HireForm(hire);
             hireForm.MdiParent = this.ParentForm;
             hireForm.Show();
         }
     }
 }