示例#1
0
 public void LoadProgramInfo()
 {
     if (gvwProgram.SelectedRowsCount > 0)
     {
         DataRow row = gvwProgram.GetDataRow(gvwProgram.FocusedRowHandle);
         if (row != null)
         {
             Scheduler.Reports.ProgamInfodlg frm = new Scheduler.Reports.ProgamInfodlg();
             frm.LoadData(row["ProgramID"].ToString(), row["BrowseName"].ToString());
             frm.ShowDialog();
         }
     }
 }
示例#2
0
 public void LoadProgramInfo()
 {
     if (gvwProgram.SelectedRowsCount > 0)
     {
         DataRow row = gvwProgram.GetDataRow(gvwProgram.FocusedRowHandle);
         if (row != null)
         {
             Scheduler.Reports.ProgamInfodlg frm = new Scheduler.Reports.ProgamInfodlg();
             frm.LoadData(row["ProgramID"].ToString(), row["BrowseName"].ToString());
             frm.ShowDialog();
         }
     }
 }