private void btnViewSales_Click(object sender, EventArgs e)
        {
            frmSalesReport obj = frmSalesReport.getInstance();

            obj.Show();
            obj.BringToFront();
        }
Exemple #2
0
 public static frmSalesReport getInstance()
 {
     if (instance == null || instance.IsDisposed)
     {
         instance = new frmSalesReport();
     }
     return(instance);
 }