Esempio n. 1
0
        private void metroTileItem1_Click_1(object sender, EventArgs e)
        {
            this.Hide();
            var form2 = new AddProduct();

            form2.Closed += (s, args) => this.Close();
            form2.Show();
        }
Esempio n. 2
0
        private void metroTile2_Click(object sender, EventArgs e)
        {
            BusinessObjects.MemoryManagement.FlushMemory();
            this.Hide();
            var form2 = new AddProduct();

            form2.Closed += (s, args) => this.Dispose();
            form2.Show();
        }