private void btnShowPOS_Click(object sender, EventArgs e) { posForm objPOS = new posForm(null); objPOS.ShowDialog(); this.Hide(); }
public static posForm Instance(string searchTerm) { if (_Instance == null || _Instance.IsDisposed) { _Instance = new posForm(searchTerm); } return(_Instance); }