예제 #1
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FeatureGroup = (FeatureGroup)target;
                return;

            case 2:
                this.InfoFooter = (ProfileInfoFooter)target;
                return;

            case 3:
                this.ConnectBtn = (Button)target;
                return;

            case 4:
                this.UpgradeBtn = (UpgradeButton)target;
                return;

            default:
                this._contentLoaded = true;
                return;
            }
        }
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BrowserStartOption = (ComboBox)target;
                return;

            case 2:
                this.No = (ComboBoxItem)target;
                return;

            case 3:
                this.Yes = (ComboBoxItem)target;
                return;

            case 4:
                this.yesIncognito = (ComboBoxItem)target;
                return;

            case 5:
                this.CountryComboBox = (ComboBox)target;
                this.CountryComboBox.AddHandler(UserSelectionChangedBehavior.UserSelectionChangedEvent, new UserSelectionChangedEventHandler(this.OnCountrySelectionChanged));
                return;

            case 6:
                this.FeatureGroup = (FeatureGroup)target;
                return;

            case 7:
                this.InfoFooter = (ProfileInfoFooter)target;
                return;

            case 8:
                this.ConnectBtn = (Button)target;
                return;

            case 9:
                this.UpgradeBtn = (UpgradeButton)target;
                return;

            default:
                this._contentLoaded = true;
                return;
            }
        }
예제 #3
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SecurStatus = (Label)target;
                return;

            case 2:
                this.SignalStatus = (Label)target;
                return;

            case 3:
                this.WifiLabel = (Label)target;
                return;

            case 4:
                this.HotspotComboBox = (ComboBox)target;
                this.HotspotComboBox.SelectionChanged += new SelectionChangedEventHandler(this.HotspotComboBox_OnSelectionChanged);
                return;

            case 5:
                this.FeatureGroup = (FeatureGroup)target;
                return;

            case 6:
                this.InfoFooter = (ProfileInfoFooter)target;
                return;

            case 7:
                this.ConnectBtn = (Button)target;
                return;

            case 8:
                this.UpgradeBtn = (UpgradeButton)target;
                return;

            default:
                this._contentLoaded = true;
                return;
            }
        }
예제 #4
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SelectedLabel = (Label)target;
                return;

            case 2:
                this.ServerOption = (Label)target;
                return;

            case 3:
                this.ServerImage = (Image)target;
                return;

            case 4:
                this.FeatureGroup = (FeatureGroup)target;
                return;

            case 5:
                this.InfoFooter = (ProfileInfoFooter)target;
                return;

            case 6:
                this.ConnectBtn = (Button)target;
                return;

            case 7:
                this.UpgradeBtn = (UpgradeButton)target;
                return;

            default:
                this._contentLoaded = true;
                return;
            }
        }