Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MapWindow = ((WpfApp1.Map)(target));

            #line 8 "..\..\Map.xaml"
                this.MapWindow.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Canvas1 = ((System.Windows.Controls.Canvas)(target));

            #line 10 "..\..\Map.xaml"
                this.Canvas1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Canvas1_MouseDown);

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