예제 #1
0
 private void btnShowAll_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         ShowAll _showAll = new ShowAll();
         _showAll.Show();
     }
     catch
     {
     }
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SearchForAll = ((DoctorStrange.ShowAll)(target));

            #line 8 "..\..\ShowAll.xaml"
                this.SearchForAll.Loaded += new System.Windows.RoutedEventHandler(this.SearchForAll_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.stpSearchbar = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 23 "..\..\ShowAll.xaml"
                this.textBox.KeyUp += new System.Windows.Input.KeyEventHandler(this.TextBox_KeyUp);

            #line default
            #line hidden

            #line 23 "..\..\ShowAll.xaml"
                this.textBox.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox_TextChanged);

            #line default
            #line hidden

            #line 23 "..\..\ShowAll.xaml"
                this.textBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_KeyDown);

            #line default
            #line hidden
                return;

            case 4:
                this.resultStack = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.grdResult = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }