Пример #1
0
 public TextProject()
 {
     mReference = new Reference();
     mTextClass = new List<TextClass>();
     mTextDirs = new List<TextDir>();
     mProjectName = null;
     mProjectUrl = new StdUdl();
     mProjectUrl.m_tHeadSerializeSlot += this._headSerialize;
     mProjectUrl.m_tSerializeTypeSlot += this._serializeType;
     mProjectUrl.m_tStreamNameSlot += this._streamName;
     SaveSingleton saveSingleton_ = __singleton<SaveSingleton>._instance();
     saveSingleton_._addSave(mProjectUrl);
 }
Пример #2
0
 public Project()
 {
     mProjectDockWidget = new ProjectDockWidget();
     mProjectCanvas = new ProjectCanvas(this);
     mReference = new Reference();
     mProjectName = null;
     mProjectUrl = new StdUdl();
     mProjectUrl.m_tHeadSerializeSlot += this._headSerialize;
     mProjectUrl.m_tSerializeTypeSlot += this._serializeType;
     mProjectUrl.m_tStreamNameSlot += this._streamName;
     mProjectUrl.m_tLoadInit += this._loadInit;
     mProjectUrl.m_tIsDirty += this._isDirty;
     mProjectUrl.m_tRunSave += this._runSave;
     SaveSingleton saveSingleton_ = __singleton<SaveSingleton>._instance();
     saveSingleton_._addSave(mProjectUrl);
 }
Пример #3
0
 public Class()
 {
     mClassCanvas = new ClassCanvas(this);
     base._regDockWidget(mClassCanvas);
     mClassName = null;
     mClassId = default(int);
     mClassUrl = new StdUdl();
     mClassUrl.m_tHeadSerializeSlot += this._headSerialize;
     mClassUrl.m_tSerializeTypeSlot += this._serializeType;
     mClassUrl.m_tStreamNameSlot += this._streamName;
     mClassUrl.m_tLoadInit += this._loadInit;
     mClassUrl.m_tIsDirty += this._isDirty;
     mClassUrl.m_tRunSave += this._runSave;
     SaveSingleton saveSingleton_ = __singleton<SaveSingleton>._instance();
     saveSingleton_._addSave(mClassUrl);
 }