Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                ((beRemote.GUI.Tabs.ManageConnection.TabManageConnection)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grdContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.lblHostId = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lblHostname = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.txtHostname = ((System.Windows.Controls.TextBox)(target));

            #line 57 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.txtHostname.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtHostname_KeyUp);

            #line default
            #line hidden
                return;

            case 6:
                this.lblHostNew = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.txtName = ((System.Windows.Controls.TextBox)(target));

            #line 59 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.txtName.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtName_KeyUp);

            #line default
            #line hidden
                return;

            case 8:
                this.lblDescription = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.txtDescription = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.lblOperatingSystem = ((System.Windows.Controls.Label)(target));
                return;

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

            case 12:
                this.lblFolder = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.ccbFolder = ((beRemote.GUI.Controls.ConnectionComboBox)(target));

            #line 65 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.ccbFolder.MenuExpanded += new System.Windows.RoutedEventHandler(this.ccbFolder_Expanded);

            #line default
            #line hidden

            #line 65 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.ccbFolder.MenuContract += new System.Windows.RoutedEventHandler(this.ccbFolder_MenuContract);

            #line default
            #line hidden
                return;

            case 14:
                this.lblVpn = ((System.Windows.Controls.Label)(target));
                return;

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

            case 16:
                this.chkPublic = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 17:
                this.cmbProtocol = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 80 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.cmbExistingProtocols = ((System.Windows.Controls.ComboBox)(target));

            #line 84 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.cmbExistingProtocols.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbExistingProtocols_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.gbProtocols = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 21:
                this.grdProtocolsettings = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.nudPort = ((beRemote.GUI.Controls.NumericUpDown)(target));
                return;

            case 23:
                this.chkCredentials = ((System.Windows.Controls.CheckBox)(target));

            #line 97 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.chkCredentials.Checked += new System.Windows.RoutedEventHandler(this.chkCredentials_Checked);

            #line default
            #line hidden

            #line 97 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.chkCredentials.Unchecked += new System.Windows.RoutedEventHandler(this.chkCredentials_Checked);

            #line default
            #line hidden
                return;

            case 24:
                this.cmbCredentials = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.btnAddCredentials = ((System.Windows.Controls.Button)(target));

            #line 99 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.btnAddCredentials.Click += new System.Windows.RoutedEventHandler(this.btnAddCredentials_Click_1);

            #line default
            #line hidden
                return;

            case 26:
                this.spCredentials = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 27:
                this.txtCredUser = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.pwCredPass = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 29:
                this.txtCredDom = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.txtCredDesc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:

            #line 134 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnAddCredentials_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.pogProtocolSettings = ((beRemote.GUI.Controls.ProtocolOptionGrid)(target));
                return;

            case 33:
                this.btnSave = ((System.Windows.Controls.Button)(target));

            #line 148 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 149 "..\..\..\..\..\Tabs\ManageConnection\TabManageConnection.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainTab = ((beRemote.GUI.Tabs.SuperAdminTools.TabSuperAdminTools)(target));

            #line 7 "..\..\..\..\..\Tabs\SuperAdminTools\TabSuperAdminTools.xaml"
                this.mainTab.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.tcMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 53 "..\..\..\..\..\Tabs\SuperAdminTools\TabSuperAdminTools.xaml"
                this.chkMaintmode.Checked += new System.Windows.RoutedEventHandler(this.chkMaintmode_Checked);

            #line default
            #line hidden
                return;

            case 5:
                this.nudHeartbeat = ((beRemote.GUI.Controls.NumericUpDown)(target));
                return;

            case 6:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 9:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 64 "..\..\..\..\..\Tabs\SuperAdminTools\TabSuperAdminTools.xaml"
                this.btnRibbonImagePath.Click += new System.Windows.RoutedEventHandler(this.btnRibbonImagePath_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.imgRibbonImagePath = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.btnSaveDatabase = ((System.Windows.Controls.Button)(target));

            #line 84 "..\..\..\..\..\Tabs\SuperAdminTools\TabSuperAdminTools.xaml"
                this.btnSaveDatabase.Click += new System.Windows.RoutedEventHandler(this.btnSaveDatabase_Click);

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