///<summary> ///txtMakerKeyDown ///キー入力判定 ///作成者:大河内 ///作成日:2017/3/6 ///更新者:大河内 ///更新日:2017/3/7 ///カラム論理名 ///</summary> private void txtMakerKeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F9) { MakerList makerlist = new MakerList(); makerlist.Left = 100; makerlist.StartPosition = FormStartPosition.Manual; makerlist.intFrmKind = CommonTeisu.FRM_MAKER; makerlist.Show(); } }
///<summary> ///judMakerEditKeyDown ///コード入力項目でのキー入力判定(編集メーカー) ///作成者:大河内 ///作成日:2017/3/16 ///更新者:大河内 ///更新日:2017/3/16 ///カラム論理名 ///</summary> private void judMakerEditKeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F9) { if (String.IsNullOrWhiteSpace(txtDaibunrui.Text).Equals(true)) { return; } MakerList makerlist = new MakerList(); makerlist.Left = 100; makerlist.StartPosition = FormStartPosition.Manual; makerlist.intFrmKind = CommonTeisu.FRM_TANAOROSHI_EDIT; makerlist.strDaibunruiCode = txtDaibunrui.Text; makerlist.Show(); } else { setMoveOrder(sender, e); } }
///<summary> ///judMakerKeyDown ///コード入力項目でのキー入力判定(メーカー) ///</summary> private void judMakerKeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F9) { if (this.Parent is GroupBox || this.Parent is Panel) { MakerList makerList = new MakerList(this.Parent.Parent, this, strDaibunCd); makerList.Show(); } else { MakerList makerList = new MakerList(this.Parent, this, strDaibunCd); makerList.Show(); } } else if (e.KeyCode == Keys.Enter) { //TABボタンと同じ効果 SendKeys.Send("{TAB}"); } }