private void btnPickBraille_Click(object sender, EventArgs e) { PickBrailleForm form = new PickBrailleForm(); if (form.ShowDialog() == DialogResult.OK) { int newLen = txtBraille.Text.Length - txtBraille.SelectionLength + form.BrailleText.Length; if (newLen > 3) { MsgBoxHelper.ShowInfo("點字最多只能輸入三方!"); return; } ControlHelper.InputText(txtBraille, form.BrailleText); } }
public CellClickEvent(PickBrailleForm form) { m_Form = form; }