コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.comboBox2 = ((System.Windows.Controls.ComboBox)(target));

            #line 37 "..\..\..\MainWindow.xaml"
                this.comboBox2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox2_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));

            #line 39 "..\..\..\MainWindow.xaml"
                this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.calendar2 = ((System.Windows.Controls.Calendar)(target));

            #line 42 "..\..\..\MainWindow.xaml"
                this.calendar2.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar2_SelectedDatesChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.example = ((Visiblox.Charts.Chart)(target));
                return;

            case 8:
                this.behaviourManager = ((Visiblox.Charts.BehaviourManager)(target));
                return;

            case 9:
                this.track = ((Visiblox.Charts.TrackballBehaviour)(target));
                return;

            case 10:
                this.cc1chart = ((Visiblox.Charts.PieChart)(target));
                return;

            case 11:
                this.cc3chart = ((Visiblox.Charts.PieChart)(target));
                return;

            case 12:
                this.cc2chart = ((Visiblox.Charts.PieChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\..\MainWindow.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.comboBox2 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 37 "..\..\..\MainWindow.xaml"
     this.comboBox2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox2_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
     
     #line 39 "..\..\..\MainWindow.xaml"
     this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.calendar2 = ((System.Windows.Controls.Calendar)(target));
     
     #line 42 "..\..\..\MainWindow.xaml"
     this.calendar2.SelectedDatesChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.calendar2_SelectedDatesChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.example = ((Visiblox.Charts.Chart)(target));
     return;
     case 8:
     this.behaviourManager = ((Visiblox.Charts.BehaviourManager)(target));
     return;
     case 9:
     this.track = ((Visiblox.Charts.TrackballBehaviour)(target));
     return;
     case 10:
     this.cc1chart = ((Visiblox.Charts.PieChart)(target));
     return;
     case 11:
     this.cc3chart = ((Visiblox.Charts.PieChart)(target));
     return;
     case 12:
     this.cc2chart = ((Visiblox.Charts.PieChart)(target));
     return;
     }
     this._contentLoaded = true;
 }