Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ServerBox = ((Syncfusion.Windows.Controls.Input.SfTextBoxExt)(target));

            #line 18 "..\..\..\DatabaseManager.xaml"
                this.ServerBox.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

            #line default
            #line hidden
                return;

            case 2:
                this.UsernameBox = ((Syncfusion.Windows.Controls.Input.SfTextBoxExt)(target));

            #line 22 "..\..\..\DatabaseManager.xaml"
                this.UsernameBox.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\DatabaseManager.xaml"
                this.PasswordBox.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

            #line default
            #line hidden
                return;

            case 4:
                this.DatabaseAutoComplete = ((Syncfusion.Windows.Tools.Controls.AutoComplete)(target));

            #line 30 "..\..\..\DatabaseManager.xaml"
                this.DatabaseAutoComplete.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.SchemaAutoComplete = ((Syncfusion.Windows.Tools.Controls.AutoComplete)(target));

            #line 35 "..\..\..\DatabaseManager.xaml"
                this.SchemaAutoComplete.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

            #line default
            #line hidden
                return;

            case 6:

            #line 39 "..\..\..\DatabaseManager.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConnectClicked);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

#line 8 "..\..\DatabaseManager - Copy.xaml"
                ((NSDMasterInventorySF.DatabaseManager)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnLoaded);

#line default
#line hidden
                return;

            case 2:
                this.ServerBox = ((Syncfusion.Windows.Controls.Input.SfTextBoxExt)(target));

#line 18 "..\..\DatabaseManager - Copy.xaml"
                this.ServerBox.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

#line default
#line hidden

#line 19 "..\..\DatabaseManager - Copy.xaml"
                this.ServerBox.GotFocus += new System.Windows.RoutedEventHandler(this.BoxGotFocus);

#line default
#line hidden
                return;

            case 3:
                this.UserIDBox = ((Syncfusion.Windows.Controls.Input.SfTextBoxExt)(target));

#line 23 "..\..\DatabaseManager - Copy.xaml"
                this.UserIDBox.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

#line default
#line hidden

#line 24 "..\..\DatabaseManager - Copy.xaml"
                this.UserIDBox.GotFocus += new System.Windows.RoutedEventHandler(this.BoxGotFocus);

#line default
#line hidden
                return;

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

#line 28 "..\..\DatabaseManager - Copy.xaml"
                this.PasswordBox.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

#line default
#line hidden

#line 29 "..\..\DatabaseManager - Copy.xaml"
                this.PasswordBox.GotFocus += new System.Windows.RoutedEventHandler(this.PasswordBox_OnGotKeyboardFocus);

#line default
#line hidden
                return;

            case 5:
                this.DatabaseComboBox = ((Syncfusion.Windows.Tools.Controls.AutoComplete)(target));

#line 33 "..\..\DatabaseManager - Copy.xaml"
                this.DatabaseComboBox.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

#line default
#line hidden

#line 34 "..\..\DatabaseManager - Copy.xaml"
                this.DatabaseComboBox.GotFocus += new System.Windows.RoutedEventHandler(this.AutoCompleteGotFocus);

#line default
#line hidden
                return;

            case 6:
                this.SchemaComboBox = ((Syncfusion.Windows.Tools.Controls.AutoComplete)(target));

#line 39 "..\..\DatabaseManager - Copy.xaml"
                this.SchemaComboBox.LostFocus += new System.Windows.RoutedEventHandler(this.OnLostFocus);

#line default
#line hidden

#line 40 "..\..\DatabaseManager - Copy.xaml"
                this.SchemaComboBox.GotFocus += new System.Windows.RoutedEventHandler(this.AutoCompleteGotFocus);

#line default
#line hidden
                return;

            case 7:

#line 42 "..\..\DatabaseManager - Copy.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ConnectClicked);

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