Пример #1
0
 public static void GridLookUpEditControlNotNull(GridLookUpEdit gridLookUpEdit, string title)
 {
     gridLookUpEdit.Properties.Appearance.BorderColor = System.Drawing.Color.Red;
     gridLookUpEdit.Focus();
     gridLookUpEdit.SelectAll();
     MessageBox.Show(string.Format("Vui lòng chọn {0}!", title), Resources.MessageBoxErrorMessageTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
Пример #2
0
 public static void GridLookUpEditControlNotNull(GridLookUpEdit gridLookUpEdit, string title)
 {
     gridLookUpEdit.Properties.Appearance.BorderColor = System.Drawing.Color.Red;
     gridLookUpEdit.Focus();
     gridLookUpEdit.SelectAll();
     MessageBox.Show(string.Format("Vui lòng chọn {0}!", title), Resource.MessageBoxErrorMessageTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
 }
Пример #3
0
        void teSoXe_Enter(object sender, EventArgs e)
        {
            switch (gluLoai.Text)
            {
            case "":
                XtraMessageBox.Show("Vui lòng chọn loại xe trước!", Config.GetValue("PackageName").ToString());
                gluLoai.Focus();
                break;

            case "Phúc Hảo":
            case "Xe thuê":
                teKmDau.Focus();
                break;
            }
        }
Пример #4
0
 public static void GridLookUpEditNoMessage(GridLookUpEdit gridLookUpEdit)
 {
     gridLookUpEdit.Properties.Appearance.BorderColor = System.Drawing.Color.Red;
     gridLookUpEdit.Focus();
 }
Пример #5
0
 public static void GridLookUpEditNoMessage(GridLookUpEdit gridLookUpEdit)
 {
     gridLookUpEdit.Properties.Appearance.BorderColor = System.Drawing.Color.Red;
     gridLookUpEdit.Focus();
 }