예제 #1
0
파일: frmModel.cs 프로젝트: wrbrooks/VB3
 //Handle a request from an IronPython-based modeling tab to enter a message in the Log.
 private void HandleMessageForLog(object sender, IPyModelingControl.LogMessageEvent MessageObject)
 {
     VBLogger.getLogger().logEvent("0", (LogUtilities.VBLogger.messageIntent)MessageObject.Intent, (LogUtilities.VBLogger.targetSStrip)MessageObject.Target);
 }
예제 #2
0
파일: frmModel.cs 프로젝트: wrbrooks/VB3
 //Handle a request from an IronPython-based modeling tab to communicate with the Project Manager.
 private void HandleMessageForManager(object sender, IPyModelingControl.MessageEvent MessageObject)
 {
     _projMgr._comms.sendMessage(MessageObject.Message, this);
 }
예제 #3
0
파일: frmModel.cs 프로젝트: wrbrooks/VB3
 //Added by Wesley for IronPython integration:
 //Handle a request from an IronPython-based modeling tab to begin the modeling process.
 private void ProvideData(object sender, IPyModelingControl.ModelingCallback CallbackObject)
 {
     _projMgr.ModelDataTable = CreateModelDataTable();
     CallbackObject.MakeModel(_projMgr.ModelDataTable);
 }