Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     lbl_time.Text = "";
     if (radioButton1.Checked)
     {
         panel1.Controls.Clear();
         usdg = new UserControl_Puzzle_Numbers(280, 4, 70);
         panel1.Controls.Add(usdg);
     }
     else if (radioButton2.Checked && path != "")
     {
         panel1.Controls.Clear();
         uspc = new UserControl_Puzzle_Pictures(path, 280, 4, 70);
         panel1.Controls.Add(uspc);
     }
 }
Exemple #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     panel1.Controls.Clear();
     usdg = new UserControl_Puzzle_Numbers(270, 3, 90);
     panel1.Controls.Add(usdg);
 }