예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.@this = ((TachTypingTutor_v1._06._18.Graph)(target));
                return;

            case 2:
                this.brdColors = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.stkpColors = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.recTrueAccuracy = ((System.Windows.Shapes.Rectangle)(target));

            #line 78 "..\..\Graph.xaml"
                this.recTrueAccuracy.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Rec_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 5:
                this.recAccuracy = ((System.Windows.Shapes.Rectangle)(target));

            #line 82 "..\..\Graph.xaml"
                this.recAccuracy.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Rec_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 6:
                this.recSpeed = ((System.Windows.Shapes.Rectangle)(target));

            #line 86 "..\..\Graph.xaml"
                this.recSpeed.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Rec_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 7:
                this.can = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.innerGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.mainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.ShowCreateLesson = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.ShowImportLesson = ((System.Windows.Controls.MenuItem)(target));

            #line 42 "..\..\MainWindow.xaml"
                this.ShowImportLesson.Click += new System.Windows.RoutedEventHandler(this.ShowImportLesson_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ShowAbout = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.ShowSettings = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.ShowPerfomanceWindow = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.ShowLockAccount = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.graph = ((TachTypingTutor_v1._06._18.Graph)(target));
                return;

            case 10:
                this.grdMeter = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.stkMeter = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 12:
                this.speedMeter = ((TachTypingTutor_v1._06._18.SpeedMeter)(target));
                return;

            case 13:
                this.accuracyMeter = ((TachTypingTutor_v1._06._18.PercentageMeter)(target));
                return;

            case 14:
                this.trueAccuracyMeter = ((TachTypingTutor_v1._06._18.PercentageMeter)(target));
                return;

            case 15:
                this.tbLessonName = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 17:
                this.Previous = ((System.Windows.Controls.Button)(target));
                return;

            case 18:
                this.progress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 19:
                this.input = ((TachTypingTutor_v1._06._18.InputTab)(target));
                return;

            case 20:
                this.Frame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }