示例#1
0
文件: Ultils.cs 项目: cuongpv88/work
 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
文件: Ultils.cs 项目: imatary/work
 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
文件: Ultils.cs 项目: cuongpv88/work
 public static void GridLookUpEditNoMessage(GridLookUpEdit gridLookUpEdit)
 {
     gridLookUpEdit.Properties.Appearance.BorderColor = System.Drawing.Color.Red;
     gridLookUpEdit.Focus();
 }
示例#5
0
文件: Ultils.cs 项目: imatary/work
 public static void GridLookUpEditNoMessage(GridLookUpEdit gridLookUpEdit)
 {
     gridLookUpEdit.Properties.Appearance.BorderColor = System.Drawing.Color.Red;
     gridLookUpEdit.Focus();
 }