Example #1
0
        private void frmZhuGuanTi_Load(object sender, EventArgs e)
        {
            if (txtZhuGuanTi.Text.Length == 0)
            {
                answerSheet.tsbSave.Enabled = false;
            }
            else
            {
                answerSheet.tsbSave.Enabled = true;
            }

            publicClass.DisableRightClickMenu(txtZhuGuanTi);
            publicClass.DisableCopying(txtZhuGuanTi);
        }
Example #2
0
        private void frmTyping_Load(object sender, EventArgs e)
        {
            GetTopicTime();

            topicFace = answerSheet.txtTyping.Text.ToList();

            if (txtTyping.Text.Length == 0)
            {
                answerSheet.tsbSave.Enabled = false;
            }
            else
            {
                answerSheet.tsbSave.Enabled = true;
            }

            publicClass.DisableRightClickMenu(txtTyping);
            publicClass.DisableCopying(txtTyping);
        }