void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((GenerationIronV1.MembersForm)(target));
                return;

            case 2:
                this.membrTbl = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 3:
                this.srchBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

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

            case 8:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 11:
                this.heightBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.weightBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.nameBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.birthdateBox = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 15:
                this.sexBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.goalBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.classBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 20:
                this.label_Copy7 = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 23:
                this.label_Copy10 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.label_Copy11 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.label_Copy12 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 27:
                this.label_Copy14 = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.endDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 29:
                this.startdate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 30:
                this.waistBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.label_Copy15 = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.chestBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 34:
                this.fatBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 36:
                this.muslBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.label_Copy18 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 39:
                this.dashboard = ((System.Windows.Controls.Button)(target));
                return;

            case 40:
                this.addBtn = ((System.Windows.Controls.Button)(target));
                return;

            case 41:
                this.clearBtn = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private void logsBtn1_Copy_Click(object sender, RoutedEventArgs e)
        {
            MembersForm mform = new MembersForm();

            mform.Show();
        }