Ejemplo n.º 1
0
        private void bbiAddDepartment_ItemClick(object sender, ItemClickEventArgs e)
        {
            var insertOrUpdate = new FormInsertOrUpdateDepartment(null);

            insertOrUpdate.ShowDialog();
            LoadData();
        }
Ejemplo n.º 2
0
 private void gridLookUpEditDepartment_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var department = new FormInsertOrUpdateDepartment(null);
         department.ShowDialog();
         LoadDepartmentForGridLookUp();
     }
 }
Ejemplo n.º 3
0
 private void bbiEditDepartment_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (string.IsNullOrEmpty(_departmentId))
     {
         MessageBoxHelper.ShowMessageBoxEditWaringNotSelectId(this.Text);
     }
     else
     {
         var insertOrUpdate = new FormInsertOrUpdateDepartment(_departmentId);
         insertOrUpdate.ShowDialog();
         LoadData();
     }
 }
Ejemplo n.º 4
0
 private void gridView1_DoubleClick(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(_departmentId))
     {
         MessageBoxHelper.ShowMessageBoxEditWaringNotSelectId(this.Text);
     }
     else
     {
         var insertOrUpdate = new FormInsertOrUpdateDepartment(_departmentId);
         insertOrUpdate.ShowDialog();
         LoadData();
     }
 }
Ejemplo n.º 5
0
 private void gridLookUpEditDepartment_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var department = new FormInsertOrUpdateDepartment(null);
         department.ShowDialog();
         LoadDepartmentForGridLookUp();
     }
 }
Ejemplo n.º 6
0
 private void bbiAddDepartment_ItemClick(object sender, ItemClickEventArgs e)
 {
     var insertOrUpdate = new FormInsertOrUpdateDepartment(null);
     insertOrUpdate.ShowDialog();
     LoadData();
 }