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