예제 #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (!Form1.Instance.PnlContainer.Controls.ContainsKey("UCQuest4"))
     {
         UCQuest4 quest4 = new UCQuest4();
         quest4.Dock = DockStyle.Fill;
         Form1.Instance.PnlContainer.Controls.Add(quest4);
         Jawaban = trackBar1.Value;
     }
     Form1.Instance.PnlContainer.Controls["UCQuest4"].BringToFront();
 }
예제 #2
0
 public UCQuest9(UCQuest4 q4)
 {
     InitializeComponent();
     this.q4 = q4;
 }