예제 #1
0
 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);
     }
 }
예제 #2
0
        private void btnStock_Click(object sender, EventArgs e)
        {
            var stock = new SalesStock();

            stock.ShowDialog();
        }