示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GoogleMap = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 2:
                this.StationList = ((ClientApp.Controls.ImageListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.GoogleMap = ((System.Windows.Controls.WebBrowser)(target));
     return;
     case 2:
     this.CustomerLocation = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.separator3 = ((System.Windows.Controls.Separator)(target));
     return;
     case 4:
     this.StationList = ((ClientApp.Controls.ImageListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }