Exemplo n.º 1
0
        private void OnNewStatement(Object sender, CodeGenEventArgs args)
        {
            String code = this.codeGen.GetAllDecoratedCode();

            this.SetRichEditBoxText(code);
            this.isDirty = true;
        }
Exemplo n.º 2
0
 private void OnLanguageChanged(Object sender, CodeGenEventArgs args)
 {
     if (args.Code != "")
     {
         this.SetRichEditBoxText(this.codeGen.GetAllDecoratedCode());
         this.isDirty = true;
     }
     else
     {
         this.SetRichEditBoxText("");
     }
 }