private void btnShelve_Click(object sender, EventArgs e) { try { Cursor.Current = Cursors.WaitCursor; checkmin(); Save(); Cursor.Current = Cursors.Default; } catch (Exception ex) { Cursor.Current = Cursors.Default; MessageBox.Show(ex.Message); return; } //if (traycode == "") // return; //frmshelve frm = new frmshelve(); frmrefundshelve frm = new frmrefundshelve(); frm.traycode = traycode; frm.ShowDialog(); }
private void pictureBox2_Click(object sender, EventArgs e) { frmrefundshelve frm = new frmrefundshelve(); frm.ShowDialog(); }