示例#1
0
        private void mMouseUp(object sender, MouseButtonEventArgs e)
        {
            if (!GlobalVars.IsPressedFlag)
            {
                return;
            }

            GlobalVars.IsPressedFlag = false;

            FocusLabel.Focus();
            ErrorLabel.Visibility = Visibility.Collapsed;

            switch (((Grid)sender).Name)
            {
            case "CreateTestBt": CreateTest(); break;

            case "ClearFormBt": ClearForm(); break;

            case "CloseFormBt": CloseForm(); break;

            case "DeleteTestBt": DeleteTest(); break;

            case "SaveBt": Save(); break;
            }
        }
示例#2
0
 private void button1_Click(object sender, EventArgs e)
 {
     FocusLabel.Focus();
     OnClickExitButton(this, new 战绩追踪_C_Sharp.TitleClickArgs()
     {
         which = 1
     });
 }
示例#3
0
 private void button3_Click(object sender, EventArgs e)
 {
     FocusLabel.Focus();
     OnClickExitButton(this, new HEIF_Utility.TitleClickArgs()
     {
         which = 3
     });
 }
示例#4
0
        private void OpenTest()
        {
            FocusLabel.Focus();
            this.Hide();
            var Katakana = new Main();

            Katakana.Closed += (s, args) => this.Show();
            Katakana.Show();
        }
 private void RichEasyWires_Enter(object sender, EventArgs e)
 {
     FocusLabel.Focus();
 }
示例#6
0
 private void button3_MouseLeave(object sender, EventArgs e)
 {
     button3.BackgroundImage = global::战绩追踪_C_Sharp.Properties.Resources.Minimize;
     FocusLabel.Focus();
 }