Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.progress = ((WaveProgress.UserControl.WaveProgressControl)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

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

            case 2:
                this.bs_Water = ((System.Windows.Media.BezierSegment)(target));
                return;
            }
            this._contentLoaded = true;
        }