void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.pageTransitionControl = ((TeleMedTransition.PageTransition)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.statusText = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.statusCircle = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 4:
                this.pageTransitionControl = ((TeleMedTransition.PageTransition)(target));
                return;

            case 5:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.userLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.label1 = ((System.Windows.Controls.Label)(target));

            #line 38 "..\..\..\..\pages\patient\patient_frame.xaml"
                this.label1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.label1_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:
                this.pcode = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 2:
                this.new_button = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.doctor_account = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.parent_account = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.all_account = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.userLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label1 = ((System.Windows.Controls.Label)(target));

            #line 79 "..\..\..\doctor\doctor_frame.xaml"
                this.label1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.label1_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 9:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.settings = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.statusText = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.statusCircle = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 14:
                this.pageTransitionControl = ((TeleMedTransition.PageTransition)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 2:
                this.patient_button = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\..\..\pages\patient\doctor_frame.xaml"
                this.patient_button.Click += new System.Windows.RoutedEventHandler(this.patient_button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.schedule_button = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\..\..\pages\patient\doctor_frame.xaml"
                this.schedule_button.Click += new System.Windows.RoutedEventHandler(this.schedule_button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.pharmacy_button = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\..\pages\patient\doctor_frame.xaml"
                this.pharmacy_button.Click += new System.Windows.RoutedEventHandler(this.pharmacy_button_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.appointments_button = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\..\..\pages\patient\doctor_frame.xaml"
                this.appointments_button.Click += new System.Windows.RoutedEventHandler(this.appointments_button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.userLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label1 = ((System.Windows.Controls.Label)(target));

            #line 73 "..\..\..\..\pages\patient\doctor_frame.xaml"
                this.label1.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.label1_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 9:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.settings = ((System.Windows.Controls.Button)(target));

            #line 76 "..\..\..\..\pages\patient\doctor_frame.xaml"
                this.settings.Click += new System.Windows.RoutedEventHandler(this.settings_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.statusText = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.statusCircle = ((System.Windows.Shapes.Ellipse)(target));
                return;

            case 14:
                this.searchBox = ((System.Windows.Controls.TextBox)(target));

            #line 93 "..\..\..\..\pages\patient\doctor_frame.xaml"
                this.searchBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.searchBox_KeyDown);

            #line default
            #line hidden
                return;

            case 15:
                this.searchBut = ((System.Windows.Controls.Label)(target));

            #line 102 "..\..\..\..\pages\patient\doctor_frame.xaml"
                this.searchBut.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.searchBut_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.messages_button = ((System.Windows.Controls.Button)(target));

            #line 107 "..\..\..\..\pages\patient\doctor_frame.xaml"
                this.messages_button.Click += new System.Windows.RoutedEventHandler(this.messages_button_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.pageTransitionControl = ((TeleMedTransition.PageTransition)(target));
                return;
            }
            this._contentLoaded = true;
        }