private void metroTileItem3_Click(object sender, EventArgs e) { this.Hide(); var form2 = new ViewProducts(); form2.Closed += (s, args) => this.Close(); form2.Show(); }
private void metroTile2_Click(object sender, EventArgs e) { BusinessObjects.MemoryManagement.FlushMemory(); this.Hide(); var form2 = new ViewProducts(); form2.Closed += (s, args) => this.Dispose(); form2.Show(); }