Example #1
0
 private void btnModuleHistory_Click(object sender, EventArgs e)
 {
     if (Module.ID > 0)
     {
         frmModuleHistory frm = new frmModuleHistory();
         frm.Module = Module;
         frm.ShowDialog();
     }
 }
Example #2
0
        private void showHistoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int id = TextUtils.ToInt(grvData.GetFocusedRowCellValue(colID));

            if (id > 0)
            {
                ModulesModel     module = (ModulesModel)ModulesBO.Instance.FindByPK(id);
                frmModuleHistory frm    = new frmModuleHistory();
                frm.Module = module;
                frm.Show();
            }
        }