/// <summary> /// Panel 的激活(全局中只有此一个Panel) /// </summary> /// <returns></returns> public static MpFaceOptions UniqueObject(UIControlledApplication uiControledApp) { // if (_faceOptionsPanel != null) { return(_faceOptionsPanel); } // _faceOptionsPanel = new MpFaceOptions(); return(_faceOptionsPanel); }
/// <summary> /// Panel 的激活(全局中只有此一个Panel) /// </summary> /// <returns></returns> public static MpFaceOptions UniqueObject(UIApplication uiApp) { _uiApp = uiApp; // if (_faceOptionsPanel != null) { return(_faceOptionsPanel); } // _faceOptionsPanel = new MpFaceOptions(); return(_faceOptionsPanel); }
private void Window_Closed_1(object sender, EventArgs e) { _faceOptionsPanel = null; }
public ExEventHandler(MpFaceOptions mainPanel) { _mainPanel = mainPanel; }