Ejemplo n.º 1
0
 /// <summary>
 /// Panel 的激活(全局中只有此一个Panel)
 /// </summary>
 /// <returns></returns>
 public static MpFaceOptions UniqueObject(UIControlledApplication uiControledApp)
 {
     //
     if (_faceOptionsPanel != null)
     {
         return(_faceOptionsPanel);
     }
     //
     _faceOptionsPanel = new MpFaceOptions();
     return(_faceOptionsPanel);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Panel 的激活(全局中只有此一个Panel)
        /// </summary>
        /// <returns></returns>
        public static MpFaceOptions UniqueObject(UIApplication uiApp)
        {
            _uiApp = uiApp;

            //
            if (_faceOptionsPanel != null)
            {
                return(_faceOptionsPanel);
            }
            //
            _faceOptionsPanel = new MpFaceOptions();
            return(_faceOptionsPanel);
        }
Ejemplo n.º 3
0
 private void Window_Closed_1(object sender, EventArgs e)
 {
     _faceOptionsPanel = null;
 }
Ejemplo n.º 4
0
 public ExEventHandler(MpFaceOptions mainPanel)
 {
     _mainPanel = mainPanel;
 }