private void saleToolStripMenuItem_Click_1(object sender, EventArgs e) { this.Hide(); Point_Of_Sale_Files.Selling_Form cf = new Point_Of_Sale_Files.Selling_Form(); cf.rank(1); cf.ShowDialog(); }
private void btnSale_Click(object sender, System.EventArgs e) { this.Hide(); Point_Of_Sale_Files.Selling_Form sf = new Point_Of_Sale_Files.Selling_Form(); sf.rank(0); sf.ShowDialog(); }
private void AddToShop_Form_FormClosing(object sender, FormClosingEventArgs e) { if (lblRank.Text == "2") { this.Hide(); Main_User_Files.Cushier_Form ch = new Main_User_Files.Cushier_Form(); ch.ShowDialog(); } else { this.Hide(); Point_Of_Sale_Files.Selling_Form sf = new Point_Of_Sale_Files.Selling_Form(); sf.ShowDialog(); } }