Exemplo n.º 1
0
 public frmEditor(MainFormBase parent, EditorProject project)
     : base((MainFormBase)parent)
 {
     InitializeComponent();
     this.project = project;
     this.project.PropertyChanged +=
         new EventHandler<AdaptiveConsole.DesignModel.PropertyChangedEventArgs>(project_PropertyChanged);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets the parameter for the session.
 /// </summary>
 /// <param name="_sessionName">Name of the session.</param>
 /// <param name="_parent">The MDI parent form.</param>
 /// <param name="_compilerType">Type of the CodeDom compiler which is used for compiling the scripts.</param>
 /// <remarks>Calls this method when the Gulu program starts. DO NOT call it at anytime in any places of
 /// your program.</remarks>
 public void SetParameter(string _sessionName, MainFormBase _parent, Type _compilerType)
 {
     if (!hasSet__)
     {
         sessionName__ = _sessionName;
         parent__ = _parent;
         compilerType__ = _compilerType;
         hasSet__ = true;
     }
 }