Exemplo n.º 1
0
        private void czytelnikaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ReaderForm reader = new ReaderForm();

            reader.MdiParent = this;
            reader.Show();
        }
Exemplo n.º 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            ReaderForm reader = new ReaderForm();

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