示例#1
0
 private void FrmInfoQuery_Load(object sender, EventArgs e)
 {
     Win32Utility.SetCueText(cbxKey, "请输入关键字");
     //cbxKey.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
     ShortCut();
     InitalData();
 }
示例#2
0
 private void FrmQuery_Load(object sender, EventArgs e)
 {
     Win32Utility.SetCueText(cbxKey, "请输入关键字");
     for (int i = 0; i < files.Count; i++)
     {
         fileName.Add(files[i].Substring(files[i].LastIndexOf("\\") + 1));
     }
 }
示例#3
0
 private void FrmQuery_Activated(object sender, EventArgs e)
 {
     try
     {
         Win32Utility.SetForegroundWindow(this.Handle);
         this.Activate();
         cbxKey.Focus();
     }
     catch (Exception ex)
     {
         Log.WriteErrLog(ex);
     }
 }
示例#4
0
 private void FrmFileSave_Load(object sender, EventArgs e)
 {
     Win32Utility.SetCueText(txtFilePath, "请选择文件");
     ShortCut();
 }