Esempio n. 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();
        }
Esempio n. 2
0
 private void gridLookUpEdit1_Properties_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var department = new FormAddDepartment();
         department.ShowDialog();
         LoadGirdLookUpDepartment();
     }
 }
Esempio n. 3
0
 private void gridLookUpEdit1_Properties_ButtonPressed(object sender, ButtonPressedEventArgs e)
 {
     if (e.Button.Index == 1)
     {
         var addDepartment = new FormAddDepartment();
         addDepartment.ShowDialog();
         LoadGirdLookUpDepartment();
         Refresh();
     }
 }
Esempio n. 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();
 }