コード例 #1
0
        public SearchWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, System.Windows.Controls.TabItem writer)
        {
            this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler;
            this.m_Writer = writer;

            this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance;
            this.m_Search = new Business.SearchUI();
            this.m_DocumentViewer = new DocumentWorkspace();

            InitializeComponent();

            this.DataContext = this.m_Search;
            this.TabItemDocumentViewer.Content = this.m_DocumentViewer;

            this.Loaded += new RoutedEventHandler(SearchWorkspace_Loaded);
            this.Unloaded += new RoutedEventHandler(SearchWorkspace_Unloaded);
        }
コード例 #2
0
        public SearchWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, System.Windows.Controls.TabItem writer)
        {
            this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler;
            this.m_Writer = writer;

            this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance;
            this.m_Search         = new Business.SearchUI();
            this.m_DocumentViewer = new DocumentWorkspace();

            InitializeComponent();

            this.DataContext = this.m_Search;
            this.TabItemDocumentViewer.Content = this.m_DocumentViewer;

            this.Loaded   += new RoutedEventHandler(SearchWorkspace_Loaded);
            this.Unloaded += new RoutedEventHandler(SearchWorkspace_Unloaded);
        }