Exemplo n.º 1
0
 private void FrmInfoQuery_Load(object sender, EventArgs e)
 {
     Win32Utility.SetCueText(cbxKey, "请输入关键字");
     //cbxKey.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
     ShortCut();
     InitalData();
 }
Exemplo n.º 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));
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 4
0
 private void FrmFileSave_Load(object sender, EventArgs e)
 {
     Win32Utility.SetCueText(txtFilePath, "请选择文件");
     ShortCut();
 }