예제 #1
0
 private void toolStripButton4_Click_1(object sender, EventArgs e)
 {
    
      if (frm_update.ObjCreated == false)
       {
           frm_update = new frm_update();
           frm_update.MdiParent = this;
           frm_update.ClientSize = new System.Drawing.Size(2000, 800);
           this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
           frm_update.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
           frm_update.dataGridView1.DataSource = Db.get_table_contetnt("tbl_cases");
           frm_update.Dock = DockStyle.Fill;
           frm_update.Show();
           frm_update.ObjCreated = true;
       }
       else
       {
           frm_update.WindowState = FormWindowState.Normal;
           frm_update.Focus();
       }
 }
예제 #2
0
 private void toolStripButton7_Click(object sender, EventArgs e)
 {
     frm_update fu = new frm_update();
     fu.dataGridView1.DataSource = Db.get_table_contetnt("tbl_cases");
     fu.Show();
 }