private void FrmInfoQuery_Load(object sender, EventArgs e) { Win32Utility.SetCueText(cbxKey, "请输入关键字"); //cbxKey.AutoCompleteMode = AutoCompleteMode.SuggestAppend; ShortCut(); InitalData(); }
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)); } }
private void FrmQuery_Activated(object sender, EventArgs e) { try { Win32Utility.SetForegroundWindow(this.Handle); this.Activate(); cbxKey.Focus(); } catch (Exception ex) { Log.WriteErrLog(ex); } }
private void FrmFileSave_Load(object sender, EventArgs e) { Win32Utility.SetCueText(txtFilePath, "请选择文件"); ShortCut(); }