Exemplo n.º 1
0
 private void btnAdd_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     GUI.Program.GUI_Program_Syllabus sysadd = new GUI_Program_Syllabus();
     sysadd.idprogram = idPrg;
     sysadd.ShowDialog();
     loadData();
 }
Exemplo n.º 2
0
        private void gvCourse_DoubleClick(object sender, EventArgs e)
        {
            string id = gvCourse.GetRowCellValue(index, this.ID).ToString();

            GUI.Program.GUI_Program_Syllabus sysedit = new GUI_Program_Syllabus();
            sysedit.idprogram = idPrg;
            sysedit.idsys     = id;
            sysedit.ShowDialog();
            loadData();
        }
Exemplo n.º 3
0
        private void btnEdit_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            string id = gvCourse.GetRowCellValue(index, this.ID).ToString();

            GUI.Program.GUI_Program_Syllabus sysedit = new GUI_Program_Syllabus();
            sysedit.idprogram = idPrg;
            sysedit.idsys     = id;
            sysedit.ShowDialog();
            loadData();
        }