private void mnuFileDBWindow_Click(object sender, RoutedEventArgs e)
 {
     this.dbWindow = new DBWindow();
     this.dbWindow.ShowDialog();
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.winDBWindow = ((WPFMenusAndToolBar.DBWindow)(target));
                return;

            case 2:
                this.toolBar = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 3:
                this.tabBox = ((System.Windows.Controls.TabControl)(target));
                return;

            case 4:
                this.btnbar = ((System.Windows.Controls.ToolBar)(target));
                return;

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

            #line 20 "..\..\DBWindow.xaml"
                this.searchExt.Click += new System.Windows.RoutedEventHandler(this.searchExt_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.extSpecified = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 29 "..\..\DBWindow.xaml"
                this.searchFname.Click += new System.Windows.RoutedEventHandler(this.searchFname_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.fnameSpecified = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 38 "..\..\DBWindow.xaml"
                this.searchEvent.Click += new System.Windows.RoutedEventHandler(this.searchEvent_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.eventSpecified = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.lvDBInfo = ((System.Windows.Controls.ListView)(target));
                return;

            case 12:

            #line 79 "..\..\DBWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.rmvSelected_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 80 "..\..\DBWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.rmvAll_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }