Beispiel #1
0
        private static void OnSequenceChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            // Force a render when the Sequence changes
            SequenceViewer viewer = (SequenceViewer)obj;

            viewer.InvalidateArrange();
            viewer.InvalidateMeasure();
            viewer.InvalidateVisual();
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GenBankFile = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.GffFile = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 4:
                this.GenBankBrowse = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\TestWindow.xaml"
                this.GenBankBrowse.Click += new System.Windows.RoutedEventHandler(this.GenBankBrowse_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.GffBrowse = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\TestWindow.xaml"
                this.GffBrowse.Click += new System.Windows.RoutedEventHandler(this.GffBrowse_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\TestWindow.xaml"
                this.FastaBrowse.Click += new System.Windows.RoutedEventHandler(this.FastaBrowse_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\TestWindow.xaml"
                this.GenBankParse.Click += new System.Windows.RoutedEventHandler(this.GenBankParse_Click);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\TestWindow.xaml"
                this.GffParse.Click += new System.Windows.RoutedEventHandler(this.GffParse_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\TestWindow.xaml"
                this.FastaParse.Click += new System.Windows.RoutedEventHandler(this.FastaParse_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\TestWindow.xaml"
                this.JaredTest.Click += new System.Windows.RoutedEventHandler(this.JaredTest_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.SequencesListBox = ((System.Windows.Controls.ListBox)(target));

            #line 41 "..\..\TestWindow.xaml"
                this.SequencesListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SequencesListBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.SequenceViewer = ((Bio.Controls.SequenceViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }