Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            Stock_Record frm = new Stock_Record();

            frm.label1.Text = label8.Text;
            frm.Show();
            frm.GetData();
        }
Esempio n. 2
0
        private void btnGetData_Click(object sender, EventArgs e)
        {
            this.Hide();
            Stock_Record frm = new Stock_Record();

            frm.label1.Text = label8.Text;
            frm.MdiParent   = Main.ActiveForm;
            frm.Show();
            frm.GetData();
        }