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