private void ReadMasterBill(string billType) { try { //WaitCursor.Set(); MasterForm masterForm = new MasterForm(billType); masterForm.Show(); this.Visible = false; } catch (Exception ex) { WaitCursor.Restore(); MessageBox.Show("��ȡ���ݳ���!" + ex.Message); } }
private void ReadMasterBill(string billType, string billString) { MasterForm masterForm = new MasterForm(billType, billString); masterForm.Show(); }
private void btnBack_Click(object sender, EventArgs e) { WaitCursor.Set(); try { MasterForm billMasterForm = new MasterForm(billType); billMasterForm.Show(); this.Close(); } catch (Exception ex) { WaitCursor.Restore(); MessageBox.Show(ex.Message); } }