Beispiel #1
0
        private void OnWindowInitialized(object sender, EventArgs e)
        {
            chartsManager          = new ChartsManager(this);
            rosterListManager      = new RosterListManager(this);
            liveChartsManager      = new LiveChartsManager(this, chartsManager);
            chartRotatorManager    = new ChartRotatorManager(this, chartsManager);
            patientDetail3DManager = new PatientDetail3DManager(this);
            powerChecker           = new PowerChecker();

            //The WindowsSearch class will work only for Vista
            windowsSearcher = new WindowsSearchHelper();
            windowsSearcher.ConnectionString            = @"Provider=Search.CollatorDSO;Extended Properties='Application=Windows'";
            windowsSearcher.QueryText                   = "SELECT \"System.ParsingName\",\"System.ItemPathDisplay\" FROM SYSTEMINDEX..SCOPE() WHERE CONTAINS('#')"; // # will be replaced with the query text.
            windowsSearcher.WindowsSearchCompleteEvent += new WindowsSearchHelper.WindowsSearchCompleteEventHandler(windowsSearcher_WindowsSearchCompleteEvent);
            msnSearcher = new MSNSearchHelper();

            msnSearcher.MsnAppID = ConfigurationSettings.AppSettings["MSNAppID"];

            msnSearcher.MSNSearchCompleteEvent += new MSNSearchHelper.MSNSearchCompleteEventHandler(msnSearcher_MSNSearchCompleteEvent);
        }
Beispiel #2
0
 public LiveChartsManager(object fe, ChartsManager cm)
 {
     baseFrameworkElement = fe as FrameworkElement;
     chartsManager        = cm;
 }
Beispiel #3
0
 public ChartRotatorManager(object fe, ChartsManager cm)
 {
     baseFrameworkElement = fe as FrameworkElement;
     chartsManager        = cm;
 }