Exemplo n.º 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
 }
Exemplo n.º 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
        }
Exemplo n.º 3
0
 private bool CheckLocationTextBox()
 {
     WizardFormUtilities.SetDefault(locationTextBox, locationToolTip);
     return(WizardFormUtilities.CheckValidLocation(locationTextBox, locationToolTip));  //error
 }
Exemplo n.º 4
0
 private bool CheckNameTextBox()
 {
     WizardFormUtilities.SetDefault(nameTextBox, nameToolTip);
     WizardFormUtilities.CheckNotExistsFile(nameTextBox, nameToolTip, path);              //warning
     return(WizardFormUtilities.CheckNotExistsInProject(nameTextBox, nameToolTip, path)); //error
 }
Exemplo n.º 5
0
 private bool checkBaseClassTextBox()
 {
     WizardFormUtilities.SetDefault(baseClassTextBox, baseClassToolTip);
     return(WizardFormUtilities.CheckValidIdentifier(baseClassTextBox, baseClassToolTip));  //error
 }