public static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); EditPricingValues mainPage = new EditPricingValues(); Application.Run(mainPage); }
private void editPricesBtn_Click(object sender, EventArgs e) { this.Hide(); EditPricingValues window = new EditPricingValues(); // Create and run the full graph window.FormClosed += (s, args) => this.Close(); window.Show(); }