예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\MainWindow.xaml"
                ((WpfApp1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 21 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 22 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 23 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 24 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 25 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 26 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 27 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 28 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 29 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 30 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 31 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 32 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 34 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 35 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 36 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 37 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 38 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.detail = ((SHH.UI.Curve.Detail.SHHCurveDetail)(target));
                return;

            case 20:
                this.thumbnail = ((SHH.UI.Curve.Thumbnail.SHHCurveThumbnail)(target));

            #line 42 "..\..\..\MainWindow.xaml"
                this.thumbnail.OnDataChanged += new System.Action <System.Collections.Generic.List <SHH.UI.Curve.Core.BrokenLine>, SHH.UI.Curve.Core.TimeInterval>(this.Thumbnail_OnDataChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\SHHCurvePage.xaml"
                ((SHH.CurvePage.UI.SHHCurvePage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            #line 48 "..\..\..\SHHCurvePage.xaml"
                this.btn_ZoomInAxisY.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\..\SHHCurvePage.xaml"
                this.btn_ZoomOutAxisY.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\..\SHHCurvePage.xaml"
                this.btn_StoreSize.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\..\SHHCurvePage.xaml"
                this.btn_FullScreen.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btn_DownLoad = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\..\SHHCurvePage.xaml"
                this.btn_DownLoad.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btn_DoubleLeft = ((System.Windows.Controls.Button)(target));

            #line 104 "..\..\..\SHHCurvePage.xaml"
                this.btn_DoubleLeft.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btn_LeftMove = ((System.Windows.Controls.Button)(target));

            #line 109 "..\..\..\SHHCurvePage.xaml"
                this.btn_LeftMove.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btn_RightMove = ((System.Windows.Controls.Button)(target));

            #line 114 "..\..\..\SHHCurvePage.xaml"
                this.btn_RightMove.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 119 "..\..\..\SHHCurvePage.xaml"
                this.btn_DoubleRight.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btn_ConfigurationCurve = ((System.Windows.Controls.Button)(target));

            #line 124 "..\..\..\SHHCurvePage.xaml"
                this.btn_ConfigurationCurve.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btn_AddAxisYLabel = ((System.Windows.Controls.Button)(target));

            #line 133 "..\..\..\SHHCurvePage.xaml"
                this.btn_AddAxisYLabel.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btn_RemoveAxisYLabel = ((System.Windows.Controls.Button)(target));

            #line 143 "..\..\..\SHHCurvePage.xaml"
                this.btn_RemoveAxisYLabel.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btn_AddAxisXLabel = ((System.Windows.Controls.Button)(target));

            #line 155 "..\..\..\SHHCurvePage.xaml"
                this.btn_AddAxisXLabel.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btn_RemoveAxisXLabel = ((System.Windows.Controls.Button)(target));

            #line 165 "..\..\..\SHHCurvePage.xaml"
                this.btn_RemoveAxisXLabel.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\..\SHHCurvePage.xaml"
                this.btn_ChangeRulerShow.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.thumbnail = ((SHH.UI.Curve.Thumbnail.SHHCurveThumbnail)(target));

            #line 272 "..\..\..\SHHCurvePage.xaml"
                this.thumbnail.OnDataChanged += new System.Action <System.Collections.Generic.List <SHH.UI.Curve.Core.BrokenLine>, SHH.UI.Curve.Core.TimeInterval>(this.Thumbnail_OnDataChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.listView = ((System.Windows.Controls.ListView)(target));
                return;

            case 19:
                this.detail = ((SHH.UI.Curve.Detail.SHHCurveDetail)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((SHHCurvePage.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.label_Style = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            #line 48 "..\..\MainWindow.xaml"
                this.btn_ZoomIn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\MainWindow.xaml"
                this.btn_ZoomOut.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btn_StoreSize = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.btn_StoreSize.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btn_FullScreen = ((System.Windows.Controls.Button)(target));

            #line 68 "..\..\MainWindow.xaml"
                this.btn_FullScreen.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.btn_DownLoad = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\MainWindow.xaml"
                this.btn_DownLoad.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btn_Search = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:

            #line 82 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btn_ConfigurationCurve = ((System.Windows.Controls.Button)(target));

            #line 124 "..\..\MainWindow.xaml"
                this.btn_ConfigurationCurve.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btn_ZoomInAxisY = ((System.Windows.Controls.Button)(target));

            #line 133 "..\..\MainWindow.xaml"
                this.btn_ZoomInAxisY.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.btn_ZoomOutAxisY = ((System.Windows.Controls.Button)(target));

            #line 143 "..\..\MainWindow.xaml"
                this.btn_ZoomOutAxisY.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.btn_ChangeCapShow = ((System.Windows.Controls.Button)(target));

            #line 153 "..\..\MainWindow.xaml"
                this.btn_ChangeCapShow.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.btn_ChangeRulerShow = ((System.Windows.Controls.Button)(target));

            #line 164 "..\..\MainWindow.xaml"
                this.btn_ChangeRulerShow.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.detail = ((SHH.UI.Curve.Detail.SHHCurveDetail)(target));
                return;

            case 17:
                this.thumbnail = ((SHH.UI.Curve.Thumbnail.SHHCurveThumbnail)(target));

            #line 235 "..\..\MainWindow.xaml"
                this.thumbnail.OnDataChanged += new System.Action <System.Collections.Generic.List <SHH.UI.Curve.Core.BrokenLine>, SHH.UI.Curve.Core.TimeInterval>(this.Thumbnail_OnDataChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.listView = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }