Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dashboard = ((GenerationIronV1.DashForm)(target));
                return;

            case 2:
                this.mainGrid_Copy = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.picRect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 4:
                this.loginLbl = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 42 "..\..\DashForm.xaml"
                this.logsBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Click);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\DashForm.xaml"
                this.memberBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Copy_Click);

            #line default
            #line hidden
                return;

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

            #line 110 "..\..\DashForm.xaml"
                this.classBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Copy1_Click);

            #line default
            #line hidden
                return;

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

            #line 144 "..\..\DashForm.xaml"
                this.coachBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Copy2_Click);

            #line default
            #line hidden
                return;

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

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

            #line 212 "..\..\DashForm.xaml"
                this.calcBtn.Click += new System.Windows.RoutedEventHandler(this.logsBtn1_Copy4_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            #line 421 "..\..\DashForm.xaml"
                this.settingBtn.Click += new System.Windows.RoutedEventHandler(this.button_Copy3_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.calBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 19:
                this.notesBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 20:
                this.todoBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 21:
                this.label_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.label_Copy6 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 24:
                this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 25:
                this.listBox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 26:
                this.songLbl3 = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.logsBtn1_Copy9 = ((System.Windows.Controls.Button)(target));
                return;

            case 28:
                this.slider3 = ((System.Windows.Controls.Slider)(target));
                return;

            case 29:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 31:
                this.musicBrowsBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 32:
                this.slider = ((System.Windows.Controls.Slider)(target));
                return;

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

            case 34:
                this.listBox1 = ((System.Windows.Controls.ListBox)(target));
                return;

            case 35:
                this.timeLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.dateLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.menCount = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 38:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.womenCount = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 40:
                this.totalCount = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 41:
                this.womenCountLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.menCountLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.totalCountLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        private void loginBtn_Click(object sender, RoutedEventArgs e)
        {
            DashForm subWindow = new DashForm();

            subWindow.Show();
        }