private void btnPrint_Click(object sender, EventArgs e) { PrintDetails pd = new PrintDetails(); Test_GUI_for_Inventory_App.Validations.flagReport = "Bill"; pd.pass_values_OrderID = txtOrderID.Text; pd.Show(); }
private void button1_Click(object sender, EventArgs e) { PrintDetails pd = new PrintDetails(); Test_GUI_for_Inventory_App.Validations.flagReport = "Emp"; pd.pass_values_EmpID = txtEmpID.Text; pd.Show(); }