Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 public CellClickEvent(PickBrailleForm form)
 {
     m_Form = form;
 }