Ejemplo n.º 1
0
        private void button_production_Click(object sender, EventArgs e)
        {
            this.Hide();
            Stocks form = new Stocks();

            form.Location      = this.Location;
            form.StartPosition = FormStartPosition.Manual;
            form.FormClosing  += delegate { this.Show(); };
            form.Show();
        }
Ejemplo n.º 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            var form = new Stocks();

            form.Location      = this.Location;
            form.StartPosition = FormStartPosition.Manual;
            form.FormClosing  += delegate { this.Show(); UpdateBikesTable(); };
            form.Show();
        }