W
wanyok
I thought I had it figured out but I'm still getting errors I would
appreciate any help I could get.
I have two forms: Form1 and frmVerify. Once the info gets submitted on
Form1 its text fields are transfered to some label fields to frmVerify.
Sounds easy but I keep getting "System.Windows.Forms.Groupbox' does not
contain a definition for 'verifyForm'
Here is that part of the code:
private void btnSubmit_Click(object sender, EventArgs e)
{
frmVerify verifyForm = new frmVerify(); //initialazing
Form2 (frmVerify)
if (condition)
MessageBox.Show(...)
else
{
verifyForm.lblFirmName.Text = this.txtFirm.Text;
verifyForm.lblProgramType.Text = this.grpProgram.
verifyForm.lblInvoiceNumber.Text = this.txtInvoiceNumber.Text;
verifyForm.ShowDialog();
}
Any suggestions ?
Thank you.
appreciate any help I could get.
I have two forms: Form1 and frmVerify. Once the info gets submitted on
Form1 its text fields are transfered to some label fields to frmVerify.
Sounds easy but I keep getting "System.Windows.Forms.Groupbox' does not
contain a definition for 'verifyForm'
Here is that part of the code:
private void btnSubmit_Click(object sender, EventArgs e)
{
frmVerify verifyForm = new frmVerify(); //initialazing
Form2 (frmVerify)
if (condition)
MessageBox.Show(...)
else
{
verifyForm.lblFirmName.Text = this.txtFirm.Text;
verifyForm.lblProgramType.Text = this.grpProgram.
verifyForm.lblInvoiceNumber.Text = this.txtInvoiceNumber.Text;
verifyForm.ShowDialog();
}
Any suggestions ?
Thank you.