Beispiel #1
0
 private void btnXemChiTiet_Click(object sender, EventArgs e)
 {
     if (gList.PrimaryGrid.DataSource == null) return;
     if (gList.PrimaryGrid.SelectedRows == null) return;
     if (gList.PrimaryGrid.GetSelectedRows().Count < 1) return;
     GridElement ele = gList.PrimaryGrid.GetSelectedRows()[0];
     GridRow currentRow = ele as GridRow;
     if (currentRow == null) return;
     GridCell cellID = currentRow["TK_ID"];
     int currentID = (int)cellID.Value;
     frmMIC f = new frmMIC(currentID);
     if (f.IsDisposed == false) st.myMDIMain.LoadFormF(f, false);
 }
Beispiel #2
0
 private void btnMIC_Click(object sender, EventArgs e)
 {
     frmMIC f = new frmMIC();
     if (f.IsDisposed == false) LoadFormF(f, false);
 }