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

            #line 8 "..\..\..\GraphPanel.xaml"
                ((AlleleFrequencySim.GraphPanel)(target)).Initialized += new System.EventHandler(this.GraphPanelOnInitialized);

            #line default
            #line hidden
                return;

            case 2:
                this.fitnessAA = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 3:
                this.fitnessAa = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 4:
                this.fitnessaa = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 5:
                this.mutationRateFromA = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 6:
                this.mutationRateToA = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 7:
                this.initAlleleFrequency = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 8:
                this.popSize = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 9:
                this.generation = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 10:
                this.noMutationFromA = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.noMutationToA = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.graphControl = ((ZedGraph.ZedGraphControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\ExternPopForm.xaml"
                ((AlleleFrequencySim.ExternPopForm)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.ExternPopForm_OnClosing);

            #line default
            #line hidden
                return;

            case 2:
                this.EnableExternPop = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.AADistribution = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 4:
                this.AaDistribution = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 5:
                this.aaDistribution = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 6:
                this.ExposureBegin = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 7:
                this.ExposureDuration = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 8:
                this.ExposureChance = ((AlleleFrequencySim.SlideText)(target));
                return;

            case 9:
                this.MigrationSize = ((AlleleFrequencySim.SlideText)(target));
                return;
            }
            this._contentLoaded = true;
        }