Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.App = ((KYSQLhelper.MainWindow)(target));
                return;

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

            case 3:
                this.FilledComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.ChooseTableChecked = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 5:
                this.PrimeSelectTableSelected = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.SecondSelectTableSelected = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.ThirdSelectTableSelected = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.WhereSelected = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.CompareSelected = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 11:
                this.OrderBySelected = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.App = ((KYSQLhelper.MainWindow)(target));

            #line 8 "..\..\MainWindow.xaml"
                this.App.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.Password = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 39 "..\..\MainWindow.xaml"
                this.SqlConnectBtn.Click += new System.Windows.RoutedEventHandler(this.SqlConnectBtn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.ComboBoxDB = ((System.Windows.Controls.ComboBox)(target));

            #line 69 "..\..\MainWindow.xaml"
                this.ComboBoxDB.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxDB_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.ComboBoxTable = ((System.Windows.Controls.ComboBox)(target));

            #line 72 "..\..\MainWindow.xaml"
                this.ComboBoxTable.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxTable_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.ComboBoxSelectPrime = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.ComboBoxSelectSecond = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.ComboBoxSelectThird = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 11:
                this.ComboBoxSelectWhere = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.CompareInput = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.ComboBoxCompareType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.ComboBoxSort = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:
                this.ComboBoxOrder = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 17:
                this.ExecuteQuery = ((System.Windows.Controls.Button)(target));

            #line 164 "..\..\MainWindow.xaml"
                this.ExecuteQuery.Click += new System.Windows.RoutedEventHandler(this.ExecuteQuery_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.ClearTable = ((System.Windows.Controls.Button)(target));

            #line 165 "..\..\MainWindow.xaml"
                this.ClearTable.Click += new System.Windows.RoutedEventHandler(this.ClearTable_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.LogBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }