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

            #line 14 "..\..\MainPage.xaml"
                this.btnToSensorAdd.Click += new System.Windows.RoutedEventHandler(this.BtnToSensorAdd_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.radTileList = ((Telerik.Windows.Controls.RadTileList)(target));

            #line 21 "..\..\MainPage.xaml"
                this.radTileList.AutoGeneratingTile += new System.EventHandler <Telerik.Windows.Controls.AutoGeneratingTileEventArgs>(this.RadTileList_AutoGeneratingTile);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LandingTilesUserControl = ((Insyston.Operations.WPF.Views.Shell.LandingTiles)(target));
     return;
     case 2:
     this.ModulesRadTileList = ((Telerik.Windows.Controls.RadTileList)(target));
     
     #line 49 "..\..\LandingTiles.xaml"
     this.ModulesRadTileList.AutoGeneratingTile += new System.EventHandler<Telerik.Windows.Controls.AutoGeneratingTileEventArgs>(this.ModulesRadTileList_AutoGeneratingTile);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }