Example #1
0
        private InputResult showPasswordInputForm()
        {
            HKTextInputForm form = new HKTextInputForm();

            form.titleText  = "请输入密码";
            form.isSecurity = true;
            return(form.showTextInputForm());
        }
Example #2
0
        private void tabs_addBtn_Click(object sender, EventArgs e)
        {
            HKTextInputForm inputForm = new HKTextInputForm();

            inputForm.titleText = "新名单名";
            InputResult result = inputForm.showTextInputForm();

            if (result.confirm == true)
            {
                tabs_addNewStuList(result.input);
            }
        }
Example #3
0
        private void tabBtnMenuMethod_ConfirmToChange(string title, object userData)
        {
            HKTextInputForm inputForm = new HKTextInputForm();

            inputForm.titleText    = "修改名称";
            inputForm.textBox.text = title;
            InputResult result = inputForm.showTextInputForm();

            if (result.confirm)
            {
                tabBtnMenuMethod_ChangeName((string)userData, result.input);
            }
        }