private void metroTileItem1_Click_1(object sender, EventArgs e) { this.Hide(); var form2 = new AddProduct(); form2.Closed += (s, args) => this.Close(); form2.Show(); }
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(); }