コード例 #1
0
 private void listIl_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         if (listIl.SelectedItems.Count > 0)
         {
             frmRaporUye frm = new frmRaporUye(listIl.SelectedItems[0].Text);
             frm.MdiParent = this.MdiParent;
             frm.Show();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
コード例 #2
0
 private void üyeRaporuToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (tekPencere())
     {
         if (raporUye == null || raporUye.IsDisposed)
         {
             raporUye           = new frmRaporUye();
             raporUye.MdiParent = this;
             acikForm           = raporUye;
             raporUye.Show();
         }
         else
         {
             raporUye.MdiParent = this;
             raporUye.Show();
             raporUye.Focus();
         }
     }
 }