private void btn_View_Bond_No_Click(object sender, EventArgs e) { if (textBox_Year.Text != "") { Grid_Invoice_Parchase.SCR_FRM_Report_Invoice_Parchase = true; Grid_Invoice_Parchase Grid_Invoice_Parchase2 = new Grid_Invoice_Parchase(); Grid_Invoice_Parchase2.ShowDialog(); Grid_Invoice_Parchase.SCR_FRM_Report_Invoice_Parchase = false; } }
private void btn_View_Invoice_No_Click(object sender, EventArgs e) { if (textBox_Year.Text != string.Empty) { Grid_Invoice_Parchase.SCR_Invoice_Parchase = true; Grid_Invoice_Parchase ss = new Grid_Invoice_Parchase(); ss.ShowDialog(); Grid_Invoice_Parchase.SCR_Invoice_Parchase = false; } }