Ejemplo n.º 1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            if (DtGrid.SelectedItem != null)
            {
                T_HR_EMPLOYEECHECK ent = DtGrid.SelectedItem as T_HR_EMPLOYEECHECK;
                CheckGrade form = new CheckGrade(ent.BEREGULARID, ent.T_HR_EMPLOYEE.EMPLOYEEID, "0");
                EntityBrowser browser = new EntityBrowser(form);

                browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
                browser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) => { });
            }
        }
Ejemplo n.º 2
0
        void CheckPointSet_Click(object sender, RoutedEventArgs e)
        {
            CheckGrade form = new CheckGrade(FormTypes.Browse, "", "0");
            EntityBrowser browser = new EntityBrowser(form);

            browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
            browser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) => { });
        }
Ejemplo n.º 3
0
 void btnEdit_Click(object sender, RoutedEventArgs e)
 {
     if (DtGrid.SelectedItems.Count>0)
     {
         T_HR_ASSESSMENTFORMMASTER ent = DtGrid.SelectedItems[0] as T_HR_ASSESSMENTFORMMASTER;
         CheckGrade form = new CheckGrade(ent.ASSESSMENTFORMMASTERID, ent.EMPLOYEEID, ent.EMPLOYEELEVEL);
         EntityBrowser browser = new EntityBrowser(form);
         
         //browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
         browser.Show<string>(DialogMode.Default, SMT.SAAS.Main.CurrentContext.Common.ParentLayoutRoot, "", (result) =>{});
     }
 }