protected virtual void ExecuteCommand( UICOMMAND command ) { }
public void ShowWnd( string strFormID, UICOMMAND Command ) { if ( String.IsNullOrEmpty( strFormID.Trim() ) ) return ; if ( !strFormID.StartsWith( _strID ) ) { Hide(); return ; } foreach ( XForm fm in _lstForm ) { fm.ShowWnd( strFormID, Command ); } // ShowWnd(); //窗口编号完全相同,则执行函数。(父窗口不执行) if ( _strID == strFormID && dlgtCommand != null ) dlgtCommand( Command ); return ; }