示例#1
0
 public SearchPath(LoginUIV2 loginUI)
 {
     YellowstonePathology.Business.User.SystemIdentity systemIdentity = Business.User.SystemIdentity.Instance;
     this.m_LoginPageWindow        = new Login.Receiving.LoginPageWindow();
     this.m_LoginPageWindow.Height = 400;
     this.m_LoginPageWindow.Width  = 500;
     this.m_LoginUI = loginUI;
 }
示例#2
0
 public SearchPath(LoginUIV2 loginUI)
 {
     YellowstonePathology.Business.User.SystemIdentity systemIdentity = Business.User.SystemIdentity.Instance;
     this.m_LoginPageWindow = new LoginPageWindow();
     this.m_LoginPageWindow.Height = 400;
     this.m_LoginPageWindow.Width = 500;
     this.m_LoginUI = loginUI;
 }
示例#3
0
        public LoginWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer)
        {
            this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler;
            this.m_LoadedHasRun = false;
            this.m_Writer = writer;

            this.m_LoginUI = new LoginUIV2(this.m_Writer);
            this.m_DocumentViewer = new DocumentWorkspace();

            this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance;

            InitializeComponent();

            this.TabItemDocumentWorkspace.Content = this.m_DocumentViewer;
            this.DataContext = this.m_LoginUI;

            this.Loaded += new RoutedEventHandler(LoginWorkspace_Loaded);
            this.Unloaded += new RoutedEventHandler(LoginWorkspace_Unloaded);
        }
        public SearchSelectionPage(LoginUIV2 loginUI)
        {
            this.m_LoginUI = loginUI;
            this.m_AccessionDate = DateTime.Today;
            this.m_PanelSetFinalDate = DateTime.Today;
            this.m_PostDate = DateTime.Today;

            TimeSpan oneMonth = new TimeSpan(30,0,0,0,0);
            this.m_HPyloriStartDate = DateTime.Today.Subtract(oneMonth);
            this.m_HPyloriEndDate = DateTime.Today;

            this.m_KeyWordStartDate = DateTime.Today.AddDays(-30);
            this.m_KeyWordEndDate = DateTime.Today;

            this.m_TestStartDate = DateTime.Today.AddMonths(-1);
            this.m_TestEndDate = DateTime.Today;
            this.m_PanelSetCollection = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetAll();

            InitializeComponent();

            DataContext = this;
        }
示例#5
0
        public LoginWorkspace(MainWindowCommandButtonHandler mainWindowCommandButtonHandler, TabItem writer)
        {
            this.m_MainWindowCommandButtonHandler = mainWindowCommandButtonHandler;
            this.m_LoadedHasRun = false;
            this.m_Writer       = writer;

            this.CommandBindingRemoveTab = new CommandBinding(MainWindow.RemoveTabCommand, RemoveTab);
            this.CommandBindings.Add(this.CommandBindingRemoveTab);

            this.m_LoginUI        = new LoginUIV2(this.m_Writer);
            this.m_DocumentViewer = new DocumentWorkspace();

            this.m_BarcodeScanPort = YellowstonePathology.Business.BarcodeScanning.BarcodeScanPort.Instance;

            InitializeComponent();

            this.TabItemDocumentWorkspace.Content = this.m_DocumentViewer;
            this.DataContext = this.m_LoginUI;

            this.Loaded   += new RoutedEventHandler(LoginWorkspace_Loaded);
            this.Unloaded += new RoutedEventHandler(LoginWorkspace_Unloaded);
        }
        public SearchSelectionPage(LoginUIV2 loginUI)
        {
            this.m_LoginUI           = loginUI;
            this.m_AccessionDate     = DateTime.Today;
            this.m_PanelSetFinalDate = DateTime.Today;
            this.m_PostDate          = DateTime.Today;

            TimeSpan oneMonth = new TimeSpan(30, 0, 0, 0, 0);

            this.m_HPyloriStartDate = DateTime.Today.Subtract(oneMonth);
            this.m_HPyloriEndDate   = DateTime.Today;

            this.m_KeyWordStartDate = DateTime.Today.AddDays(-30);
            this.m_KeyWordEndDate   = DateTime.Today;

            this.m_TestStartDate      = DateTime.Today.AddMonths(-1);
            this.m_TestEndDate        = DateTime.Today;
            this.m_PanelSetCollection = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetAll();

            InitializeComponent();

            DataContext = this;
        }