public Method() { rtbhelper = new RTextboxHelper(); InitializeComponent(); SetMethodNames(); SetVariables(); MethodCommandLineEnable(); logoSynProvider = new CommonSyntaxProvider(LogoKeywords.GetLogoKeywords().GetKeywords, LogoKeywords.GetLogoKeywords().GetSpecialCharacters, false); synHighligt = new SyntaxHighlight(methodCommandLine, logoSynProvider); }
public MainWindow() { InitializeComponent(); canvasSize = CanvasSize.GetCanvasSize; InitializeCanvas(); sqlitehelper = SQLiteHelper.GetSqlHelper; menu = Menu.GetMenu; rtbhelper = new RTextboxHelper(); logoSynProvider = new CommonSyntaxProvider(LogoKeywords.GetLogoKeywords().GetKeywords, LogoKeywords.GetLogoKeywords().GetSpecialCharacters, false); synHighligt = new SyntaxHighlight(commandLine, logoSynProvider); }