예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            panel3.Controls.Clear();
            PaymentCoach frm = new PaymentCoach()
            {
                TopLevel = false, TopMost = true
            };

            frm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frm.AutoSize        = true;
            frm.AutoScroll      = true;
            frm.Dock            = DockStyle.Fill;
            this.panel3.Controls.Add(frm);
            frm.Show();
        }
예제 #2
0
 public FR2(PaymentCoach pc1)
 {
     InitializeComponent();
     pc = pc1;
 }