示例#1
0
 public void _initControl()
 {
     SideBarSingleton sideBarSingleton_ = __singleton<SideBarSingleton>._instance();
     ISideBar sideBar_ = sideBarSingleton_._getSideBar();
     PlatformSingleton platformSingleton_ = __singleton<PlatformSingleton>._instance();
     string diagramUrl_ = @"uid://notepad.include.window:window.optimal.Canvas";
     mCanvas = platformSingleton_._findInterface<ICanvas>(diagramUrl_);
     mCanvas._setObject(this);
     mCanvas._setSideBar(sideBar_);
     mCanvas._setDockStyle("Fill");
 }