/// <summary> /// 設定時間欄 ZCCmdKeyEvent キー入力フック /// </summary> /// <param name="o"></param> /// <param name="e"></param> /// <returns></returns> private bool txTime_ZCCmdKeyEvent(object o, ZCCmdKeyEventArgs e) { if (e.KeyData == Keys.Tab) { // TAB をオプションボタンではなく、タイトルテキストBOXへ飛ばす this.txTitle.Focus(); return(true); } return(false); }
/// <summary> /// 設定時間欄 ZCCmdKeyEvent キー入力フック /// </summary> /// <param name="o"></param> /// <param name="e"></param> /// <returns></returns> private bool txTargetTime_ZCCmdKeyEvent(object o, ZCCmdKeyEventArgs e) { if (this.ZCCmdKeyEvent != null) { return(this.ZCCmdKeyEvent(this, e)); } if (e.KeyData == Keys.C) { this.rdInRemain.Checked = true; } else if (e.KeyData == Keys.T) { this.rdInTime.Checked = true; } else { return(false); } return(true); }