private void btnStock_Click(object sender, EventArgs e) { try { var stock = new SalesStock(); stock.ShowDialog(); } catch (Exception ex) { MessageBox.Show("Something went wrong try again", "Cashdesk", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
private void btnStock_Click(object sender, EventArgs e) { var stock = new SalesStock(); stock.ShowDialog(); }