Пример #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (!Form1.Instance.PnlContainer.Controls.ContainsKey("UCNama"))
     {
         UCNama nama = new UCNama();
         nama.Dock = DockStyle.Fill;
         Form1.Instance.PnlContainer.Controls.Add(nama);
     }
     Form1.Instance.PnlContainer.Controls["UCNama"].BringToFront();
 }
Пример #2
0
 public UCHasil(UCNama nama1)
 {
     InitializeComponent();
     this.nama1 = nama1;
 }
Пример #3
0
 public UCGrafik(UCNama nama)
 {
     InitializeComponent();
     this.nama = nama;
 }