
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am moving my application to C#. When I click OK, my Check Box, Option Buttons, and Text box clear when the message box appears.
It goes through all my else if statements fine. But when it reaches the statement for the sheet size, the objects in the date area clear.
else if(optRevHeader.Checked)
{
// Check if user wants to use the paper size selected
if(MessageBox.Show("Sheet size = " + cmbSheetSize.Text, "Sheet Size?", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
// Add sheet size parameter to drawing properties if it does not exist
if (strSheetSize == "") MySheetParameter.subAddCustomParam(MyStaticVars.GetSheetParameter(), cmbSheetSize.Text);
else if (strSheetSize != cmbSheetSize.Text) MySheetParameter.subChangeCustomParam(MyStaticVars.GetSheetParameter(), cmbSheetSize.Text);
I'm not sure what's going on.
Solved! Go to Solution.