Example #1
0
        /// <summary>
        /// Thêm
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void barButtonItemAdd_ItemClick(object sender, ItemClickEventArgs e)
        {
            var department = new FormAddDepartment();

            department.ShowDialog();
            LoadDepartments();
        }
Example #2
0
 private void gridLookUpEdit1_Properties_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var department = new FormAddDepartment();
         department.ShowDialog();
         LoadGirdLookUpDepartment();
     }
 }
Example #3
0
 private void gridLookUpEdit1_Properties_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var addDepartment = new FormAddDepartment();
         addDepartment.ShowDialog();
         LoadGirdLookUpDepartment();
         Refresh();
     }
 }
Example #4
0
 /// <summary>
 /// Thêm
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barButtonItemAdd_ItemClick(object sender, ItemClickEventArgs e)
 {
     var department = new FormAddDepartment();
     department.ShowDialog();
     LoadDepartments();
 }