コード例 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (!Form1.Instance.PnlContainer.Controls.ContainsKey("UCQuest3"))
     {
         UCQuest3 quest3 = new UCQuest3();
         quest3.Dock = DockStyle.Fill;
         Form1.Instance.PnlContainer.Controls.Add(quest3);
         Jawaban = trackBar1.Value;
     }
     Form1.Instance.PnlContainer.Controls["UCQuest3"].BringToFront();
 }
コード例 #2
0
 public UCQuest9(UCQuest3 q3)
 {
     InitializeComponent();
     this.q3 = q3;
 }