コード例 #1
0
 private void saveAsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     timer1.Enabled = false;
     if (lblBrZivotiText.Text.Equals("0"))
     {
         Enter_Your_Name eyn = new Enter_Your_Name(lblScoreText.Text);
         eyn.Show();
     }
     else
     {
         MessageBox.Show("Igrata ne e zavrshena");
         timer1.Enabled = true;
     }
 }
コード例 #2
0
        private void btnSave_Click(object sender, EventArgs e)
        {
            Enter_Your_Name eyn = new Enter_Your_Name(score);

            eyn.Show();
        }