public EMSLoadFlowReportView(IShellView shellView)
        {
            InitializeComponent();
            SetHeader();
            InitSummaryConfig(null, new ReportDocumentConfig(SummaryType.BaseSummary, PersistFilterMode.PersistFilters, null, true, true));
            HelpProvider.SetContextHelpId(this, "EMSLoadFlow Report");
            this.shellView                    = shellView;
            this.reportViewModel              = new EMSLoadFlowReportViewModel(this);
            moduleEnvironment                 = ServiceLocator.Current.GetInstance <IModuleEnvironment>();
            DataContext                       = reportViewModel;
            tabControl.SelectionChanged      += TabControl_SelectionChanged;
            ShuntTabControl.SelectionChanged += ShuntTabControl_SelectionChanged;

            CommonHtv.SelectedItemChanged += HTV_SelectedItemChanged;
            CommonHtv.ExpandedCollapsed   += HTV_SelectedItemChanged;

            Title   = "EMSLoadFlow Report";
            InfoTip = "EMSLoadFlow Report";

            this.workspaceManager = moduleEnvironment.WorkspaceManager;
        }
Пример #2
0
 public void Initialize(IModuleEnvironment env)
 {
     // write your initialization code here
 }
 public FunctionEnvironment16Dictionary(FunctionEnvironmentDictionary parent, IModuleEnvironment moduleScope, SymbolId[] names, SymbolId[] outer)
     : base(parent, moduleScope, names, outer)
 {
 }