示例#1
0
 private bool checkcppTextBox()
 {
     WizardFormUtilities.SetDefault(cppFileTextBox, cppToolTip);
     WizardFormUtilities.CheckNotExistsFile(cppFileTextBox, cppToolTip, cppPath);              //warning
     return(WizardFormUtilities.CheckValidFileName(cppFileTextBox, cppToolTip) &&
            WizardFormUtilities.CheckNotExistsInProject(cppFileTextBox, cppToolTip, cppPath)); //errors
 }
示例#2
0
        private bool CheckUITextBox()
        {
            WizardFormUtilities.SetDefault(uiFileTextBox, uiToolTip);
            if (!isGuiClass)
            {
                return(true);
            }

            WizardFormUtilities.CheckNotExistsFile(uiFileTextBox, uiToolTip, uiPath);              //warning
            return(WizardFormUtilities.CheckNotExistsInProject(uiFileTextBox, uiToolTip, uiPath)); //error
        }
示例#3
0
 private bool CheckLocationTextBox()
 {
     WizardFormUtilities.SetDefault(locationTextBox, locationToolTip);
     return(WizardFormUtilities.CheckValidLocation(locationTextBox, locationToolTip));  //error
 }
示例#4
0
 private bool CheckNameTextBox()
 {
     WizardFormUtilities.SetDefault(nameTextBox, nameToolTip);
     WizardFormUtilities.CheckNotExistsFile(nameTextBox, nameToolTip, path);              //warning
     return(WizardFormUtilities.CheckNotExistsInProject(nameTextBox, nameToolTip, path)); //error
 }
示例#5
0
 private bool checkBaseClassTextBox()
 {
     WizardFormUtilities.SetDefault(baseClassTextBox, baseClassToolTip);
     return(WizardFormUtilities.CheckValidIdentifier(baseClassTextBox, baseClassToolTip));  //error
 }