void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\Controls\Visualizers\EnsembleAlgorithmVisualizer.xaml"
                ((ClusteringEnsembleSuite.Controls.Visualizers.EnsembleAlgorithmVisualizer)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.tv_EnsembleAlgs = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 20 "..\..\..\..\Controls\Visualizers\EnsembleAlgorithmVisualizer.xaml"
                this.tv_EnsembleAlgs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tv_EnsembleAlgs_SelectedItemChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.uctrl_OneEnsembleAlgVis = ((ClusteringEnsembleSuite.Controls.Visualizers.OneEnsembleAlgVisualizer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.treeView = ((Telerik.Windows.Controls.RadTreeView)(target));
         return;
     }
     this._contentLoaded = true;
 }
Beispiel #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.busy = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
                return;

            case 2:
                this.radMenu = ((Telerik.Windows.Controls.RadMenu)(target));
                return;

            case 3:
                this.Save = ((Telerik.Windows.Controls.RadMenuItem)(target));

            #line 15 "..\..\..\..\Sys\AddRole.xaml"
                this.Save.Click += new Telerik.Windows.RadRoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.roleName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 6:
                this.SelectAll = ((Telerik.Windows.Controls.RadButton)(target));

            #line 31 "..\..\..\..\Sys\AddRole.xaml"
                this.SelectAll.Click += new System.Windows.RoutedEventHandler(this.SelectAll_Click_1);

            #line default
            #line hidden
                return;

            case 7:

            #line 32 "..\..\..\..\Sys\AddRole.xaml"
                ((Telerik.Windows.Controls.RadButton)(target)).Click += new System.Windows.RoutedEventHandler(this.UnSelect);

            #line default
            #line hidden
                return;

            case 8:
                this.RadTreeView1 = ((Telerik.Windows.Controls.RadTreeView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\Editor1.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.MyCommandExecuted);

            #line default
            #line hidden
                return;

            case 2:

            #line 85 "..\..\Editor1.xaml"
                ((Telerik.Windows.Controls.RadButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.treeView = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 88 "..\..\Editor1.xaml"
                this.treeView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeView_SelectionChanged);

            #line default
            #line hidden

            #line 90 "..\..\Editor1.xaml"
                this.treeView.ItemPrepared += new System.EventHandler <Telerik.Windows.Controls.RadTreeViewItemPreparedEventArgs>(this.TreeView_ItemPrepared);

            #line default
            #line hidden

            #line 91 "..\..\Editor1.xaml"
                this.treeView.LoadOnDemand += new System.EventHandler <Telerik.Windows.RadRoutedEventArgs>(this.TreeView_LoadOnDemand);

            #line default
            #line hidden
                return;

            case 4:
                this.PaneGroup1 = ((Telerik.Windows.Controls.RadPaneGroup)(target));
                return;

            case 5:
                this.ProgressBar1 = ((Telerik.Windows.Controls.RadProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Layout = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Home = ((GGGC.Admin.NavigationNode)(target));
                return;

            case 3:
                this.LeftNavigationExpander = ((Telerik.Windows.Controls.RadExpander)(target));
                return;

            case 4:
                this.tvGG = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 64 "..\..\ShellWindow.xaml"
                this.tvGG.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.ctrlBusy = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
                return;

            case 6:
                this.containerOK = ((Syncfusion.Windows.Tools.Controls.TabControlExt)(target));

            #line 111 "..\..\ShellWindow.xaml"
                this.containerOK.OnCloseButtonClick += new Syncfusion.Windows.Tools.Controls.OnCloseTabsEventHandler(this.containerOK_OnCloseButtonClick);

            #line default
            #line hidden
                return;

            case 7:
                this.ShadowVisualLeft = ((System.Windows.Controls.Border)(target));
                return;

            case 8:
                this.ShadowVisualTop = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tvGG = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 53 "..\..\..\..\..\UI\Docking\Views\ServerExplorer.xaml"
                this.tvGG.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

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

            #line 8 "..\..\..\..\Controls\Visualizers\MeasuresVisualizer.xaml"
                ((ClusteringEnsembleSuite.Controls.Visualizers.MeasuresVisualizer)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.tv_Measures = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 24 "..\..\..\..\Controls\Visualizers\MeasuresVisualizer.xaml"
                this.tv_Measures.Checked += new System.EventHandler <Telerik.Windows.RadRoutedEventArgs>(this.tv_Measures_Checked);

            #line default
            #line hidden

            #line 24 "..\..\..\..\Controls\Visualizers\MeasuresVisualizer.xaml"
                this.tv_Measures.Unchecked += new System.EventHandler <Telerik.Windows.RadRoutedEventArgs>(this.tv_Measures_Checked);

            #line default
            #line hidden
                return;

            case 3:
                this.uctrl_AllParMeasVis = ((ClusteringEnsembleSuite.Controls.Visualizers.AllParametersMeasuresVisualizer)(target));
                return;

            case 4:
                this.bt_select = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\..\..\Controls\Visualizers\MeasuresVisualizer.xaml"
                this.bt_select.Click += new System.Windows.RoutedEventHandler(this.bt_select_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((PasswordBoss.Views.NewPasswordVaultItems)(target));
                return;

            case 2:
                this.RecommendedHeaderText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.treeView = ((Telerik.Windows.Controls.RadTreeView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.folderTreeViewButton = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 3:
                this.treeView = ((Telerik.Windows.Controls.RadTreeView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #10
0
        public void RadTreeView_MouseDoubleClick(object sender)
        {
            Debug.WriteLine("Menüre kattintott");
            Telerik.Windows.Controls.RadTreeView rtv = sender as RadTreeView;
            XmlNodeItem akt = rtv.SelectedItem as XmlNodeItem;

            Debug.WriteLine(akt.Tag);
            if ((akt.Tag == null) || (akt.Tag == string.Empty))
            {
                return;
            }
            switch (akt.Tag)
            {
            case "Gombaszedők":
                windowManager.ShowWindow(new DolgozókViewModel());
                break;

            case "1":
                Console.WriteLine("Case 2");
                break;
            }
        }
        private void trvZipCodes_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            // Get a reference to the treeview
            Telerik.Windows.Controls.RadTreeView treeView = sender as Telerik.Windows.Controls.RadTreeView;
            // Get the currently selected items
            ObservableCollection <Object> selectedItems = treeView.SelectedItems;

            if (treeView.SelectedItems != null && treeView.SelectedItems.Count > 0)
            {
                RadTreeViewItem item = selectedItems[0] as RadTreeViewItem;

                if (((string)item.Tag) == "State")
                {
                    GridSelectedZipCodes.ItemsSource = ZipGeoCodeService.GetForState(((string)item.Header).Substring(0, 2), (float)_selectedDealer.Latitude, (float)_selectedDealer.Longitude, (float)_selectedDealer.MaxDistance);
                    SelectZipCodes();
                }
                else
                {
                    GridSelectedZipCodes.ItemsSource = ZipGeoCodeService.GetForZipPart((string)item.Header, (float)_selectedDealer.Latitude, (float)_selectedDealer.Longitude, (float)_selectedDealer.MaxDistance);
                    SelectZipCodes();
                }
            }
        }
Beispiel #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.allProductsView = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 110 "..\..\MainWindow.xaml"
                this.allProductsView.ItemPrepared += new System.EventHandler <Telerik.Windows.Controls.RadTreeViewItemPreparedEventArgs>(this.RadTreeView_ItemPrepared);

            #line default
            #line hidden

            #line 111 "..\..\MainWindow.xaml"
                this.allProductsView.LoadOnDemand += new System.EventHandler <Telerik.Windows.RadRoutedEventArgs>(this.RadTreeView_LoadOnDemand);

            #line default
            #line hidden

            #line 112 "..\..\MainWindow.xaml"
                this.allProductsView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AllProductsView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.wishlistView = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.busy = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
                return;

            case 2:
                this.radMenu = ((Telerik.Windows.Controls.RadMenu)(target));
                return;

            case 3:
                this.Save = ((Telerik.Windows.Controls.RadMenuItem)(target));

            #line 15 "..\..\..\..\Sys\UpdateRole.xaml"
                this.Save.Click += new Telerik.Windows.RadRoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.Delete = ((Telerik.Windows.Controls.RadMenuItem)(target));

            #line 16 "..\..\..\..\Sys\UpdateRole.xaml"
                this.Delete.Click += new Telerik.Windows.RadRoutedEventHandler(this.Del_Click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.note = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.search = ((Telerik.Windows.Controls.RadButton)(target));

            #line 30 "..\..\..\..\Sys\UpdateRole.xaml"
                this.search.Click += new System.Windows.RoutedEventHandler(this.search_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.panel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 9:
                this.pagesize = ((Telerik.Windows.Controls.RadNumericUpDown)(target));

            #line 35 "..\..\..\..\Sys\UpdateRole.xaml"
                this.pagesize.ValueChanged += new System.EventHandler <Telerik.Windows.Controls.RadRangeBaseValueChangedEventArgs>(this.pagesize_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.page = ((Telerik.Windows.Controls.RadDataPager)(target));

            #line 36 "..\..\..\..\Sys\UpdateRole.xaml"
                this.page.PageIndexChanged += new System.EventHandler <Telerik.Windows.Controls.PageIndexChangedEventArgs>(this.page_PageIndexChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.GridList = ((Telerik.Windows.Controls.RadGridView)(target));

            #line 41 "..\..\..\..\Sys\UpdateRole.xaml"
                this.GridList.SelectionChanged += new System.EventHandler <Telerik.Windows.Controls.SelectionChangeEventArgs>(this.GridList_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.updroleName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.updnote = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.SelectAll = ((Telerik.Windows.Controls.RadButton)(target));

            #line 66 "..\..\..\..\Sys\UpdateRole.xaml"
                this.SelectAll.Click += new System.Windows.RoutedEventHandler(this.SelectAll_Click_1);

            #line default
            #line hidden
                return;

            case 15:

            #line 67 "..\..\..\..\Sys\UpdateRole.xaml"
                ((Telerik.Windows.Controls.RadButton)(target)).Click += new System.Windows.RoutedEventHandler(this.UnSelect);

            #line default
            #line hidden
                return;

            case 16:
                this.RadTreeView1 = ((Telerik.Windows.Controls.RadTreeView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\ShellDockDesign.xaml"
                ((GGGC.Admin.ShellDockDesign)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing_1);

            #line default
            #line hidden

            #line 15 "..\..\ShellDockDesign.xaml"
                ((GGGC.Admin.ShellDockDesign)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded_1);

            #line default
            #line hidden
                return;

            case 2:
                this.fConfig = ((MahApps.Metro.Controls.Flyout)(target));

            #line 27 "..\..\ShellDockDesign.xaml"
                this.fConfig.IsOpenChanged += new System.Windows.RoutedEventHandler(this.fConfig_IsOpenChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.miflyout = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 4:

            #line 46 "..\..\ShellDockDesign.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSettings);

            #line default
            #line hidden
                return;

            case 5:
                this.UserNameLabel = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:

            #line 66 "..\..\ShellDockDesign.xaml"
                ((System.Windows.Data.CollectionViewSource)(target)).Filter += new System.Windows.Data.FilterEventHandler(this.FilterActiveViewsSource);

            #line default
            #line hidden
                return;

            case 7:

            #line 67 "..\..\ShellDockDesign.xaml"
                ((System.Windows.Data.CollectionViewSource)(target)).Filter += new System.Windows.Data.FilterEventHandler(this.FilterToolboxesSource);

            #line default
            #line hidden
                return;

            case 8:
                this.WindowRadMenu = ((Telerik.Windows.Controls.RadMenuItem)(target));
                return;

            case 9:
                this.radDocking = ((Telerik.Windows.Controls.RadDocking)(target));

            #line 112 "..\..\ShellDockDesign.xaml"
                this.radDocking.Close += new System.EventHandler <Telerik.Windows.Controls.Docking.StateChangeEventArgs>(this.OnClose);

            #line default
            #line hidden
                return;

            case 10:
                this.containerOK = ((Telerik.Windows.Controls.RadPaneGroup)(target));
                return;

            case 11:
                this.leftGroup = ((Telerik.Windows.Controls.RadPaneGroup)(target));
                return;

            case 12:
                this.tvGG = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 182 "..\..\ShellDockDesign.xaml"
                this.tvGG.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.rightGroup = ((Telerik.Windows.Controls.RadPaneGroup)(target));
                return;

            case 14:
                this.bottomGroup = ((Telerik.Windows.Controls.RadPaneGroup)(target));
                return;

            case 15:
                this.dpBottom = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 16:
                this.sbGG = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 17:
                this.sbiUser = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 18:
                this.sbiUserName = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 19:
                this.sbiDate = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 20:
                this.sbiDays = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 21:
                this.sbiVersion = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 22:
                this.sbiIP = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 23:
                this.lblDerechos = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.lblVersion = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.lblFecha = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #15
0
        private void radTreeViewCatalogs_SelectionChanged(object sender, System.Windows.RoutedEventArgs e)
        {
            // Get a reference to the treeview
            treeView = sender as Telerik.Windows.Controls.RadTreeView;

            ObservableCollection <Object> selectedItems = treeView.SelectedItems;
            List <TabItem> _tabItems;

            Type            type       = this.GetType();
            Assembly        assembly   = type.Assembly;
            string          strElement = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Name;
            string          strTag     = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag;
            RadTreeViewItem item3      = treeView.SelectedItem as RadTreeViewItem;

            // strTag = "7004";
            switch (strTag)
            {
            case "8010":

                UserControl uc8010 = null;

                if (userControls.ContainsKey("8010"))
                {
                    userControls.Remove("8010");
                    uc8010 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.AR.Catalogs.Clientes.Views.MainView", type.Namespace));
                    userControls.Add("8010", uc8010);

                    //  container.Content = userControls["801"];
                }
                else
                {
                    //var before = GC.GetTotalMemory(false);

                    //MessageBox.Show(before.ToString("#,###"));

                    //GC.Collect();
                    //MessageBox.Show(before.ToString("e gc" + "#,###"));

                    // userControls.Remove("801");
                    uc8010 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.AR.Catalogs.Clientes.Views.MainView", type.Namespace));
                    userControls.Add("8010", uc8010);


                    AddDetail(uc8010, "Catálogo de Clientes");

                    //container.

                    //  ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Parent.IsSelected = true;
                    // container.Content = userControls["801"];

                    // container.ta

                    //container.Focus();

                    // ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";

                    //  treeView.SelectedItem = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";

                    //selectedItems.IS
                    //var after = GC.GetTotalMemory(false);
                    //MessageBox.Show(after.ToString("after" + "#,###"));

                    //if (userControls["801"] == null)
                    //{
                    //    // userControls["1501"].
                    //    userControls.Remove("801");
                    //    UserControl uc801 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Tickets.Views.MainView", type.Namespace));
                    //    userControls.Add("801", uc801);
                    //}
                    //else
                    //{
                    //    // container.Content = userControls["1501"];
                    //    //userControls["1501"].de
                    //}
                }
                break;

            case "206":
                UserControl uc_206 = null;
                if (userControls.ContainsKey("206"))
                {
                    userControls.Remove("206");
                    uc_206 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.AR.Directorio.Tile", type.Namespace));
                    userControls.Add("206", uc_206);
                    //AddDetail(uc_8011, "EDI");
                }
                else
                {
                    uc_206 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.AR.Directorio.Tile", type.Namespace));
                    userControls.Add("206", uc_206);
                    AddDetail(uc_206, "DH - Lista de Empleados");
                }
                break;

            case "8012":
                UserControl uc_8011 = null;
                if (userControls.ContainsKey("8012"))
                {
                    userControls.Remove("8012");
                    uc_8011 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.AR.Catalogs.Edi.Views.MainView", type.Namespace));
                    userControls.Add("8012", uc_8011);
                    //AddDetail(uc_8011, "EDI");
                }
                else
                {
                    uc_8011 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.AR.Catalogs.Edi.Views.MainView", type.Namespace));
                    userControls.Add("8012", uc_8011);
                    AddDetail(uc_8011, "EDI - Electronic Data Interchange");
                }
                break;

            case "7002":

                UserControl uc7002 = null;

                if (userControls.ContainsKey("7002"))
                {
                    userControls.Remove("7002");
                    uc7002 = (UserControl)assembly.CreateInstance(string.Format("{0}.Modules.Ektelesis.LRG.Views.History.HistoryView", type.Namespace));
                    userControls.Add("7002", uc7002);

                    //  container.Content = userControls["801"];
                }
                else
                {
                    //var before = GC.GetTotalMemory(false);
                    //MessageBox.Show(before.ToString("#,###"));
                    //GC.Collect();
                    //MessageBox.Show(before.ToString("e gc" + "#,###"));
                    // userControls.Remove("801");
                    uc7002 = (UserControl)assembly.CreateInstance(string.Format("{0}.Modules.Ektelesis.LRG.Views.History.HistoryView", type.Namespace));
                    userControls.Add("7002", uc7002);
                    AddDetail(uc7002, "Historiales");
                    //container.
                    //  ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Parent.IsSelected = true;
                    // container.Content = userControls["801"];

                    // container.ta

                    //container.Focus();

                    // ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";

                    //  treeView.SelectedItem = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";

                    //selectedItems.IS
                    //var after = GC.GetTotalMemory(false);
                    //MessageBox.Show(after.ToString("after" + "#,###"));


                    //if (userControls["801"] == null)
                    //{
                    //    // userControls["1501"].
                    //    userControls.Remove("801");
                    //    UserControl uc801 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Tickets.Views.MainView", type.Namespace));
                    //    userControls.Add("801", uc801);
                    //}
                    //else
                    //{
                    //    // container.Content = userControls["1501"];
                    //    //userControls["1501"].de
                    //}
                }
                break;

            case "0102":
                UserControl uc0102 = null;
                if (userControls.ContainsKey("0102"))
                {
                    userControls.Remove("0102");
                    uc0102 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Ncr.Views.NcrView", type.Namespace));
                    userControls.Add("Notas de Crédito", uc0102);
                }
                else
                {
                    uc0102 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Ncr.Views.NcrView", type.Namespace));
                    userControls.Add("0102", uc0102);
                    AddDetail(uc0102, "Notas de Crédito");
                }
                break;

            case "0103":
                UserControl uc0103 = null;
                if (userControls.ContainsKey("0103"))
                {
                    userControls.Remove("0103");
                    uc0103 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Compr.Views.Compraview", type.Namespace));
                    userControls.Add("Compras", uc0103);
                }
                else
                {
                    uc0103 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Compr.Views.Compraview", type.Namespace));
                    userControls.Add("0103", uc0103);
                    AddDetail(uc0103, "Compras");
                }
                break;

            case "0117":
                UserControl uc0117 = null;
                if (userControls.ContainsKey("0117"))
                {
                    userControls.Remove("0117");
                    uc0117 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Ordenes.Views.OrdenView", type.Namespace));
                    userControls.Add("Ordenes", uc0117);
                }
                else
                {
                    uc0117 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Ordenes.Views.OrdenView", type.Namespace));
                    userControls.Add("0117", uc0117);
                    AddDetail(uc0117, "Ordenes");
                }
                break;

            case "01117":
                UserControl uc01117 = null;
                if (userControls.ContainsKey("01117"))
                {
                    userControls.Remove("01117");
                    uc01117 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Precios.PreciosView", type.Namespace));
                    userControls.Add("Precios", uc01117);
                }
                else
                {
                    uc01117 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Precios.PreciosView", type.Namespace));
                    userControls.Add("01117", uc01117);
                    AddDetail(uc01117, "Precios");
                }
                break;

            case "0119":
                UserControl uc0119 = null;
                if (userControls.ContainsKey("0119"))
                {
                    userControls.Remove("0119");
                    uc0119 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Remisiones.Views.RemisionView", type.Namespace));
                    userControls.Add("Remisiones", uc0119);
                }
                else
                {
                    uc0119 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Remisiones.Views.RemisionView", type.Namespace));
                    userControls.Add("0119", uc0119);
                    AddDetail(uc0119, "Remisiones");
                }
                break;


            case "0888":
                UserControl uc0888 = null;
                if (userControls.ContainsKey("0888"))
                {
                    userControls.Remove("0888");
                    uc0888 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Remisiones.Views.IngresosView", type.Namespace));
                    userControls.Add("Otros Ingresos", uc0888);
                }
                else
                {
                    uc0888 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.OtrosIngresos.Views.IngresosView", type.Namespace));
                    userControls.Add("0888", uc0888);
                    AddDetail(uc0888, "Otros Ingresos");
                }
                break;

            case "08888":
                UserControl uc08888 = null;
                if (userControls.ContainsKey("08888"))
                {
                    userControls.Remove("08888");
                    uc08888 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Pagares.PagareView", type.Namespace));
                    userControls.Add("Pagares", uc08888);
                }
                else
                {
                    uc08888 = (UserControl)assembly.CreateInstance(string.Format("{0}.AZ.Pagares.PagareView", type.Namespace));
                    userControls.Add("08888", uc08888);
                    AddDetail(uc08888, "Pagares");
                }
                break;



            case "951":
                UserControl uc_951 = null;
                if (userControls.ContainsKey("951"))
                {
                    userControls.Remove("951");
                    uc_951 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.MTE.Garage.Views.MainView", type.Namespace));
                    userControls.Add("951", uc_951);
                    AddDetail(uc_951, "Llantas");
                }
                else
                {
                    uc_951 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.MTE.Garage.Views.MainView", type.Namespace));
                    userControls.Add("951", uc_951);
                    AddDetail(uc_951, "Llantas");
                }
                break;



            case "7004":

                UserControl uc7004 = null;

                if (userControls.ContainsKey("7004"))
                {
                    userControls.Remove("7004");
                    uc7004 = (UserControl)assembly.CreateInstance(string.Format("{0}.Inventory.Catalogs.Spares.Groups.Spares.Views.SparesView", type.Namespace));
                    userControls.Add("7004", uc7004);
                }
                else
                {
                    uc7004 = (UserControl)assembly.CreateInstance(string.Format("{0}.Inventory.Catalogs.Spares.Groups.Spares.Views.SparesView", type.Namespace));
                    userControls.Add("7004", uc7004);
                    AddDetail(uc7004, "Catalogo Refacciones");
                }

                break;
            }
        }
Beispiel #16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 18 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 20 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 21 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 23 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 24 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.RTV1 = ((Telerik.Windows.Controls.RadTreeView)(target));
                return;

            case 10:

            #line 32 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 11:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 12:

            #line 34 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 13:

            #line 35 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 14:

            #line 36 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

            #line default
            #line hidden
                return;

            case 15:

            #line 37 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.accountsetting_grid = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 91 "..\..\..\..\Views\SettingsContentPanel.xaml"
                this.accountSettingsTab.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.accountSettingsTab_SelectionChanged);

            #line default
            #line hidden

            #line 91 "..\..\..\..\Views\SettingsContentPanel.xaml"
                this.accountSettingsTab.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.accountSettingsTab_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.tabGeneral = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.firstName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.AccountSettingsCountriesCombobox = ((System.Windows.Controls.ComboBox)(target));

            #line 199 "..\..\..\..\Views\SettingsContentPanel.xaml"
                this.AccountSettingsCountriesCombobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.AccountSettingsLanguageCombobox = ((System.Windows.Controls.ComboBox)(target));

            #line 224 "..\..\..\..\Views\SettingsContentPanel.xaml"
                this.AccountSettingsLanguageCombobox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.tabPreferences = ((System.Windows.Controls.TabItem)(target));
                return;

            case 8:
                this.PreferencesTabGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.tabSecurity = ((System.Windows.Controls.TabItem)(target));
                return;

            case 10:
                this.SecurityTabGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.chkTwoStepVerification = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 12:
                this.chkTwoStepTrustedDevice = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 13:
                this.changepassword_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 14:
                this.OldPasswordBox = ((PasswordBoss.Views.UserControls.PasswordTextBox)(target));
                return;

            case 15:
                this.SetNewPasswordBox = ((PasswordBoss.Views.UserControls.PasswordTextBox)(target));
                return;

            case 16:
                this.cbxletters = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.cbxsymbols = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 18:
                this.cbxnumbers = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 19:
                this.cbxcapitals = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 20:
                this.cbx8characters = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 21:
                this.ConfirmPasswordBox = ((PasswordBoss.Views.UserControls.PasswordTextBox)(target));
                return;

            case 22:
                this.SetAutoLockGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.ChangePINGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.tabSync = ((System.Windows.Controls.TabItem)(target));
                return;

            case 25:
                this.SyncDeviceGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.treeView = ((Telerik.Windows.Controls.RadTreeView)(target));
                return;

            case 27:
                this.tabAdvanced = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private void radTreeViewCatalogs_SelectionChanged(object sender, System.Windows.RoutedEventArgs e)
        {
            // Get a reference to the treeview
            Telerik.Windows.Controls.RadTreeView treeView      = sender as Telerik.Windows.Controls.RadTreeView;
            ObservableCollection <Object>        selectedItems = treeView.SelectedItems;
            // selectedItems[0].
            RadTreeViewItem item  = selectedItems[0] as RadTreeViewItem;
            RadTreeViewItem item2 = treeView.SelectedItems[0] as RadTreeViewItem;
            //  RadTreeViewItem item = selectedItems[0] as RadTreeViewItem;

            List <TabItem> _tabItems;
            TabItem        _tabAdd;

            //// initialize tabItem array
            //_tabItems = new List<TabItem>();

            //// add a tabItem with + in header
            //_tabAdd = new TabItem();
            //_tabAdd.Header = "+";
            //// tabAdd.MouseLeftButtonUp += new MouseButtonEventHandler(tabAdd_MouseLeftButtonUp);

            //_tabItems.Add(_tabAdd);

            //// add first tab
            //this.AddTabItem();

            //// bind tab control
            //tabDynamic.DataContext = _tabItems;

            //tabDynamic.SelectedIndex = 0;



            // Get the previous item and the previous sibling item
            //RadTreeViewItem previousItem = item.PreviousItem;
            //RadTreeViewItem previousSiblingItem = item.PreviousSiblingItem;
            //RadTreeViewItem selectedItem = e.OriginalSource as RadTreeViewItem;
            //RadTreeViewItem selectedItem2 = selectedItems[0] as RadTreeViewItem;
            //RadTreeViewItem item = this.radContextMenu.GetClickedElement<RadTreeViewItem>();
            //if (item != null)
            //{
            //    this.radTreeView.SelectedItem = item;
            //}
            Type     type     = this.GetType();
            Assembly assembly = type.Assembly;
            // Get the previous item and the previous sibling item
            //RadTreeViewItem previousItem = item.PreviousItem;
            //RadTreeViewItem previousSiblingItem = item.PreviousSiblingItem;
            // Get the currently selected items
            //ObservableCollection<Object> selectedItems = treeView.SelectedItems;
            //RadTreeViewItem item = selectedItems[0] as RadTreeViewItem;
            string          strElement = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Name;
            string          strTag     = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag;
            RadTreeViewItem item3      = treeView.SelectedItem as RadTreeViewItem;

            switch (strTag)
            {
            //case "110": container.Content = userControls["110"]; break;
            //case "120": container.Content = userControls["120"]; break;
            //case "111": container.Content = userControls["111"]; break;
            //case "121": container.Content = userControls["121"]; break;
            //case "151": container.Content = userControls["151"]; break;
            //case "152": container.Content = userControls["152"]; break;
            //case "154": container.Content = userControls["154"]; break;
            //case "155": container.Content = userControls["155"]; break;
            //case "153": container.Content = userControls["153"]; break;
            ////fast
            //case "201": container.Content = userControls["201"]; break;
            //case "204": container.Content = userControls["204"]; break;
            //case "206": container.Content = userControls["206"]; break;
            ////case "801": container.Content = userControls["801"]; break;
            //case "212": container.Content = userControls["212"]; break;
            //break;



            //if (bln153)
            //{
            //    UserControl uc153 = (UserControl)assembly.CreateInstance(string.Format("{0}.Inventory.Catalogs.Spares.Groups.Spares.Views.SparesView", type.Namespace));
            //    userControls.Add("153", uc153);
            //}
            //else
            //{
            //}
            //blnCrearUserControl = false;



            //case "2099": container.Content = userControls["2099"]; break;
            //case "3000": container.Content = userControls["3000"]; break;
            //case "3001": container.Content = userControls["3001"]; break;

            //case "8000": container.Content = userControls["8000"]; break;
            ////case "8010": container.Content = userControls["8010"]; break;
            //case "8020": container.Content = userControls["8020"]; break;
            //case "7002": container.Content = userControls["7002"]; break;

            //case "1983": container.Content = userControls["1983"]; break;
            //case "70": container.Content = userControls["70"]; break;
            //case "80": container.Content = userControls["80"]; break;
            //case "90": container.Content = userControls["90"]; break;
            //case "931": container.Content = userControls["931"]; break;
            //case "352": container.Content = userControls["352"]; break;
            //case "850": container.Content = userControls["850"]; break;
            ////ERP.MODULES
            ////Inventario

            //case "301": container.Content = userControls["301"]; break; //Ajustes
            //case "401": container.Content = userControls["401"]; break; //Transferencias
            //case "5099": container.Content = userControls["5099"]; break; //Transferencias
            //case "5100": container.Content = userControls["5100"]; break; //Transferencias

            //case "6400": container.Content = userControls["6400"]; break; //Transferencias
            //case "6401": container.Content = userControls["6401"]; break; //Transferencias
            //case "6500": container.Content = userControls["6500"]; break; //Transferencias
            //case "6501": container.Content = userControls["6501"]; break; //Transferencias

            //case "680": container.Content = userControls["680"]; break;
            //case "682": container.Content = userControls["682"]; break;
            //case "684": container.Content = userControls["684"]; break;
            //case "686": container.Content = userControls["686"]; break;
            ////Credito
            //case "600": container.Content = userControls["600"]; break;
            //case "601": container.Content = userControls["601"]; break;
            //case "602": container.Content = userControls["602"]; break;

            ////auditoria
            //case "41": container.Content = userControls["41"]; break;
            ////lrg



            case "801":

                UserControl uc801 = null;

                if (userControls.ContainsKey("801"))
                {
                    userControls.Remove("801");
                    uc801 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Tickets.Views.MainView", type.Namespace));
                    userControls.Add("801", uc801);

                    //  container.Content = userControls["801"];
                }
                else
                {
                    //var before = GC.GetTotalMemory(false);

                    //MessageBox.Show(before.ToString("#,###"));

                    //GC.Collect();
                    //MessageBox.Show(before.ToString("e gc" + "#,###"));



                    // userControls.Remove("801");
                    uc801 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Tickets.Views.MainView", type.Namespace));
                    userControls.Add("801", uc801);


                    AddDetail(uc801, "Tickets");

                    //container.


                    //  ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Parent.IsSelected = true;
                    // container.Content = userControls["801"];

                    // container.ta



                    //container.Focus();

                    // ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";

                    //  treeView.SelectedItem = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";

                    //selectedItems.IS
                    //var after = GC.GetTotalMemory(false);
                    //MessageBox.Show(after.ToString("after" + "#,###"));


                    //if (userControls["801"] == null)
                    //{
                    //    // userControls["1501"].
                    //    userControls.Remove("801");
                    //    UserControl uc801 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Tickets.Views.MainView", type.Namespace));
                    //    userControls.Add("801", uc801);
                    //}
                    //else
                    //{
                    //    // container.Content = userControls["1501"];
                    //    //userControls["1501"].de
                    //}
                }

                break;

            case "805":

                UserControl uc805 = null;

                if (userControls.ContainsKey("805"))
                {
                    userControls.Remove("805");
                    uc805 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Invoice.Views.MainView", type.Namespace));
                    userControls.Add("805", uc805);

                    // container.Content = userControls["805"];
                }
                else
                {
                    //var before = GC.GetTotalMemory(false);
                    //MessageBox.Show(before.ToString("#,###"));
                    //GC.Collect();
                    //MessageBox.Show(before.ToString("e gc" + "#,###"));
                    //userControls.Remove("801");
                    uc805 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Invoice.Views.MainView", type.Namespace));
                    userControls.Add("805", uc805);
                    //((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Parent.IsSelected = true;


                    AddDetail(uc805, "uc 805");

                    // create new tab item
                    //TabItem tab = new TabItem();
                    //tab.Header = "hol";
                    //tab.Name = "equis";
                    //container.DataContext = tab;

                    //container.Content = userControls["805"];



                    //container.Focus();
                    // ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";
                    //  treeView.SelectedItem = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";
                    //selectedItems.IS
                    //var after = GC.GetTotalMemory(false);
                    //MessageBox.Show(after.ToString("after" + "#,###"));


                    //if (userControls["801"] == null)
                    //{
                    //    // userControls["1501"].
                    //    userControls.Remove("801");
                    //    UserControl uc801 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Tickets.Views.MainView", type.Namespace));
                    //    userControls.Add("801", uc801);
                    //}
                    //else
                    //{
                    //    // container.Content = userControls["1501"];
                    //    //userControls["1501"].de
                    //}
                }

                break;

            default:

                uc805 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Invoice.Views.MainView", type.Namespace));
                userControls.Add("805", uc805);
                //((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Parent.IsSelected = true;


                AddDetail(uc805, "uc 805");

                break;
            }


            //if (strelemento == "Grupos")
            //{
            //   container.Content = userControls["100"];

            //}


            //if (strelemento == "Lineas")
            //{
            //    container.Content = userControls["200"];

            //}


            //if (strelemento == "Marcas")
            //{
            //    container.Content = userControls["300"];

            //}


            //if (strelemento == "Llantas")
            //{
            //    container.Content = userControls["900"];

            //}

            //if (strelemento == "Servicios")
            //{
            //    container.Content = userControls["905"];
            //}

            //if (strelemento == "Refacciones")
            //{
            //    container.Content = userControls["330"];
            //}
            //  container.Content = userControls[subject.ID];

            //var newArgs = new System.Windows.Controls.SelectionChangedEventArgs(e);
            // Get a reference to the treeview
            //System.Windows.RoutedEventArgs

            // treeView.SelectedContainer
            // Telerik.Windows.Controls.RadTreeView treeView = sender as Telerik.Windows.Controls.RadTreeView;
            //// Get the currently selected items
            //ObservableCollection<Object> selectedItems = treeView.SelectedItems;
            //RadTreeViewItem item = selectedItems[0] as RadTreeViewItem;


            //BusinessItem item = this.sampleVM.GetItemByName(this.textBox.Text);
            //if (item != null)
            //{
            //    item.IsSelected = true;
            //    string path = item.GetPath();
            //    myTreeView.BringPathIntoView(path);
            //}


            //object item = treeView.SelectedItem;
            //if (item != null)
            //{
            //    RadTreeViewItem tvi = treeView.ContainerFromItemRecursive(treeView.SelectedItem);
            //    if (tvi != null)
            //    {
            //        // here we can deal with the tree-view item
            //        // ...
            //        tvi.IsSelected = true;
            //        //string path = item.GetPath();
            //        //myTreeView.BringPathIntoView(path);
            //    }
            //}
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\..\Controls\Visualizers\MeasuresVisualizer.xaml"
     ((ClusteringEnsembleSuite.Controls.Visualizers.MeasuresVisualizer)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.tv_Measures = ((Telerik.Windows.Controls.RadTreeView)(target));
     
     #line 24 "..\..\..\..\Controls\Visualizers\MeasuresVisualizer.xaml"
     this.tv_Measures.Checked += new System.EventHandler<Telerik.Windows.RadRoutedEventArgs>(this.tv_Measures_Checked);
     
     #line default
     #line hidden
     
     #line 24 "..\..\..\..\Controls\Visualizers\MeasuresVisualizer.xaml"
     this.tv_Measures.Unchecked += new System.EventHandler<Telerik.Windows.RadRoutedEventArgs>(this.tv_Measures_Checked);
     
     #line default
     #line hidden
     return;
     case 3:
     this.uctrl_AllParMeasVis = ((ClusteringEnsembleSuite.Controls.Visualizers.AllParametersMeasuresVisualizer)(target));
     return;
     case 4:
     this.bt_select = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\..\..\Controls\Visualizers\MeasuresVisualizer.xaml"
     this.bt_select.Click += new System.Windows.RoutedEventHandler(this.bt_select_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\UserControls\RTemasScjn.xaml"
                ((DiccionarioJuridicoV2.UserControls.RTemasScjn)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.BusyIndicator = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
                return;

            case 3:
                this.CbxMaterias = ((Telerik.Windows.Controls.RadComboBox)(target));

            #line 44 "..\..\..\UserControls\RTemasScjn.xaml"
                this.CbxMaterias.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbxMaterias_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.TreeMaterias = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 51 "..\..\..\UserControls\RTemasScjn.xaml"
                this.TreeMaterias.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeMaterias_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.SearchBox = ((UIControls.SearchTextBox)(target));

            #line 92 "..\..\..\UserControls\RTemasScjn.xaml"
                this.SearchBox.Search += new System.Windows.RoutedEventHandler(this.SearchTextBox_Search);

            #line default
            #line hidden
                return;

            case 6:
                this.ConcepScjn = ((Telerik.Windows.Controls.RadGridView)(target));
                return;

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

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

            case 9:
                this.BtnLimpiar = ((Telerik.Windows.Controls.RadButton)(target));

            #line 165 "..\..\..\UserControls\RTemasScjn.xaml"
                this.BtnLimpiar.Click += new System.Windows.RoutedEventHandler(this.BtnLimpiar_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.BtnAddRelaciona = ((Telerik.Windows.Controls.RadButton)(target));

            #line 173 "..\..\..\UserControls\RTemasScjn.xaml"
                this.BtnAddRelaciona.Click += new System.Windows.RoutedEventHandler(this.BtnAddRelaciona_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BusyIndicator = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
                return;

            case 2:
                this.Opciones = ((Telerik.Windows.Controls.RadTabControl)(target));

            #line 48 "..\..\..\UserControls\LTematicos.xaml"
                this.Opciones.SelectionChanged += new Telerik.Windows.Controls.RadSelectionChangedEventHandler(this.RadTabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.RadConst = ((Telerik.Windows.Controls.RadTabItem)(target));
                return;

            case 4:
                this.TreeConst = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 61 "..\..\..\UserControls\LTematicos.xaml"
                this.TreeConst.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeSelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.RadPenal = ((Telerik.Windows.Controls.RadTabItem)(target));
                return;

            case 6:
                this.TreePenal = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 78 "..\..\..\UserControls\LTematicos.xaml"
                this.TreePenal.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeSelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.RadCivil = ((Telerik.Windows.Controls.RadTabItem)(target));
                return;

            case 8:
                this.TreeCivil = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 93 "..\..\..\UserControls\LTematicos.xaml"
                this.TreeCivil.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeSelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.RadAdmin = ((Telerik.Windows.Controls.RadTabItem)(target));
                return;

            case 10:
                this.TreeAdmin = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 108 "..\..\..\UserControls\LTematicos.xaml"
                this.TreeAdmin.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeSelectionChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.RadLaboral = ((Telerik.Windows.Controls.RadTabItem)(target));
                return;

            case 12:
                this.TreeLaboral = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 123 "..\..\..\UserControls\LTematicos.xaml"
                this.TreeLaboral.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeSelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.RadComun = ((Telerik.Windows.Controls.RadTabItem)(target));
                return;

            case 14:
                this.TreeComun = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 138 "..\..\..\UserControls\LTematicos.xaml"
                this.TreeComun.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TreeSelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.LstSinonimos = ((Telerik.Windows.Controls.RadListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #22
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ProjectDir = ((Telerik.Windows.Controls.RadTreeView)(target));
     return;
     case 2:
     
     #line 24 "..\..\..\MainWindow.xaml"
     ((Telerik.Windows.Controls.RadTreeViewItem)(target)).Initialized += new System.EventHandler(this.PopulateTree);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 33 "..\..\..\MainWindow.xaml"
     ((Telerik.Windows.Controls.RadMenu)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragStart);
     
     #line default
     #line hidden
     
     #line 33 "..\..\..\MainWindow.xaml"
     ((Telerik.Windows.Controls.RadMenu)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.MenuDoubleClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 8 "..\..\..\..\Controls\Visualizers\EnsembleAlgorithmVisualizer.xaml"
     ((ClusteringEnsembleSuite.Controls.Visualizers.EnsembleAlgorithmVisualizer)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.tv_EnsembleAlgs = ((Telerik.Windows.Controls.RadTreeView)(target));
     
     #line 20 "..\..\..\..\Controls\Visualizers\EnsembleAlgorithmVisualizer.xaml"
     this.tv_EnsembleAlgs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tv_EnsembleAlgs_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.uctrl_OneEnsembleAlgVis = ((ClusteringEnsembleSuite.Controls.Visualizers.OneEnsembleAlgVisualizer)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.radDocking = ((Telerik.Windows.Controls.RadDocking)(target));
     return;
     case 2:
     this.split1 = ((Telerik.Windows.Controls.RadSplitContainer)(target));
     return;
     case 3:
     this.tbObjectButtons = ((Telerik.Windows.Controls.RadToolBar)(target));
     return;
     case 4:
     this.btnCreateContract = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 48 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnCreateContract.Click += new System.Windows.RoutedEventHandler(this.btnCreateContract_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnExport = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 49 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnExport.Click += new System.Windows.RoutedEventHandler(this.btnExport_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.btnClone = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 50 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnClone.Click += new System.Windows.RoutedEventHandler(this.btnClone_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 53 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     ((Telerik.Windows.Controls.RadButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RadButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Tree = ((Telerik.Windows.Controls.RadTreeView)(target));
     
     #line 60 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.Tree.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Tree_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.split2 = ((Telerik.Windows.Controls.RadSplitContainer)(target));
     return;
     case 10:
     this.tcEdit = ((Telerik.Windows.Controls.RadTabControl)(target));
     return;
     case 11:
     this.tabItemTemplate = ((Telerik.Windows.Controls.RadTabItem)(target));
     return;
     case 12:
     this.btnTClauseAdd = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 86 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnTClauseAdd.Click += new System.Windows.RoutedEventHandler(this.btnTClauseAdd_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.btnTClauseNew = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 90 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnTClauseNew.Click += new System.Windows.RoutedEventHandler(this.btnTClauseNew_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.btnCleanUp = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 94 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnCleanUp.Click += new System.Windows.RoutedEventHandler(this.btnCleanUp_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.formGridTemplate = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.lblTemplateName = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.tbTemplateName = ((System.Windows.Controls.TextBox)(target));
     
     #line 102 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbTemplateName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.lblTemplateType = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.cbTemplateType = ((Telerik.Windows.Controls.RadComboBox)(target));
     
     #line 105 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.cbTemplateType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FormSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 20:
     this.btnTemplatePlaybookLink = ((System.Windows.Controls.Button)(target));
     
     #line 107 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnTemplatePlaybookLink.Click += new System.Windows.RoutedEventHandler(this.btnTemplatePlaybookLink_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.tbTemplatePlaybook = ((System.Windows.Controls.TextBox)(target));
     
     #line 108 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbTemplatePlaybook.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 22:
     this.tbTemplateDescription = ((System.Windows.Controls.TextBox)(target));
     
     #line 111 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbTemplateDescription.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 23:
     this.tabItemClause = ((Telerik.Windows.Controls.RadTabItem)(target));
     return;
     case 24:
     this.btnElementAdd = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 125 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnElementAdd.Click += new System.Windows.RoutedEventHandler(this.btnElementAdd_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.formGridClause = ((System.Windows.Controls.Grid)(target));
     return;
     case 26:
     this.lblClauseName = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this.tbClauseName = ((System.Windows.Controls.TextBox)(target));
     
     #line 136 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbClauseName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 28:
     this.lblConceptName = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.cbClauseConcept = ((Telerik.Windows.Controls.RadComboBox)(target));
     
     #line 139 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.cbClauseConcept.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FormSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 30:
     this.lblClausePlaybook = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.btnClausePlaybookClient = ((System.Windows.Controls.Button)(target));
     
     #line 142 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnClausePlaybookClient.Click += new System.Windows.RoutedEventHandler(this.btnClausePlaybookClient_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.btnClausePlaybookInfo = ((System.Windows.Controls.Button)(target));
     
     #line 143 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnClausePlaybookInfo.Click += new System.Windows.RoutedEventHandler(this.btnClausePlaybookInfo_Click);
     
     #line default
     #line hidden
     return;
     case 33:
     this.tbClauseDescription = ((System.Windows.Controls.TextBox)(target));
     
     #line 146 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbClauseDescription.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 34:
     this.tabItemTClause = ((Telerik.Windows.Controls.RadTabItem)(target));
     return;
     case 35:
     this.btnTClauseEdit = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 165 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnTClauseEdit.Click += new System.Windows.RoutedEventHandler(this.btnTClauseEdit_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.btnTClauseDelete = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 168 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnTClauseDelete.Click += new System.Windows.RoutedEventHandler(this.btnTClauseDelete_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this.btnTClauseClone = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 171 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnTClauseClone.Click += new System.Windows.RoutedEventHandler(this.btnTClauseClone_Click);
     
     #line default
     #line hidden
     return;
     case 38:
     this.btnTClauseLock = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 174 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnTClauseLock.Click += new System.Windows.RoutedEventHandler(this.btnTClauseLock_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.imgLock = ((System.Windows.Controls.Image)(target));
     return;
     case 40:
     this.btnTClauseReload = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 179 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnTClauseReload.Click += new System.Windows.RoutedEventHandler(this.btnTClauseReload_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.formGridTClause = ((System.Windows.Controls.Grid)(target));
     return;
     case 42:
     this.lblTClauseName = ((System.Windows.Controls.Label)(target));
     return;
     case 43:
     this.tbTClauseName = ((System.Windows.Controls.TextBox)(target));
     
     #line 190 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbTClauseName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 44:
     this.lblTConceptName = ((System.Windows.Controls.Label)(target));
     return;
     case 45:
     this.tbTClauseConcept = ((System.Windows.Controls.TextBox)(target));
     return;
     case 46:
     this.lblClauseOrder = ((System.Windows.Controls.Label)(target));
     return;
     case 47:
     this.tbClauseOrder = ((System.Windows.Controls.TextBox)(target));
     
     #line 197 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbClauseOrder.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 48:
     this.lblClauseDefault = ((System.Windows.Controls.Label)(target));
     return;
     case 49:
     this.tbClauseDefault = ((System.Windows.Controls.TextBox)(target));
     
     #line 200 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbClauseDefault.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 50:
     this.cbAllowNone = ((System.Windows.Controls.CheckBox)(target));
     
     #line 202 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.cbAllowNone.Click += new System.Windows.RoutedEventHandler(this.FormCheckBoxClick);
     
     #line default
     #line hidden
     return;
     case 51:
     this.lblPlaybook = ((System.Windows.Controls.Label)(target));
     return;
     case 52:
     this.btnPlaybookClient = ((System.Windows.Controls.Button)(target));
     
     #line 205 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnPlaybookClient.Click += new System.Windows.RoutedEventHandler(this.btnPlaybookClient_Click);
     
     #line default
     #line hidden
     return;
     case 53:
     this.btnPlaybookInfo = ((System.Windows.Controls.Button)(target));
     
     #line 206 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnPlaybookInfo.Click += new System.Windows.RoutedEventHandler(this.btnPlaybookInfo_Click);
     
     #line default
     #line hidden
     return;
     case 54:
     this.tbTClauseDescription = ((System.Windows.Controls.TextBox)(target));
     
     #line 209 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbTClauseDescription.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 55:
     this.tabItemElement = ((Telerik.Windows.Controls.RadTabItem)(target));
     return;
     case 56:
     this.btnElementEdit = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 224 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnElementEdit.Click += new System.Windows.RoutedEventHandler(this.btnElementEdit_Click);
     
     #line default
     #line hidden
     return;
     case 57:
     this.btnElementDelete = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 227 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnElementDelete.Click += new System.Windows.RoutedEventHandler(this.btnElementDelete_Click);
     
     #line default
     #line hidden
     return;
     case 58:
     this.formGridElement = ((System.Windows.Controls.Grid)(target));
     return;
     case 59:
     this.lblElementName = ((System.Windows.Controls.Label)(target));
     return;
     case 60:
     this.tbElementName = ((System.Windows.Controls.TextBox)(target));
     
     #line 237 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbElementName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 61:
     this.lblElementType = ((System.Windows.Controls.Label)(target));
     return;
     case 62:
     this.cbElementType = ((Telerik.Windows.Controls.RadComboBox)(target));
     
     #line 240 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.cbElementType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FormSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 63:
     this.lblElementOrder = ((System.Windows.Controls.Label)(target));
     return;
     case 64:
     this.tbElementOrder = ((System.Windows.Controls.TextBox)(target));
     
     #line 243 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbElementOrder.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 65:
     this.lblElementDefault = ((System.Windows.Controls.Label)(target));
     return;
     case 66:
     this.tbElementDefault = ((System.Windows.Controls.TextBox)(target));
     
     #line 246 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbElementDefault.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 67:
     this.lblElementFormat = ((System.Windows.Controls.Label)(target));
     return;
     case 68:
     this.tbElementFormat = ((System.Windows.Controls.TextBox)(target));
     
     #line 249 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbElementFormat.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 69:
     this.tbElementDescription = ((System.Windows.Controls.TextBox)(target));
     
     #line 252 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.tbElementDescription.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FormTextChanged);
     
     #line default
     #line hidden
     return;
     case 70:
     this.tabDebug = ((Telerik.Windows.Controls.RadTabItem)(target));
     return;
     case 71:
     this.btnDebug1 = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 264 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnDebug1.Click += new System.Windows.RoutedEventHandler(this.btnDebug1_Click);
     
     #line default
     #line hidden
     return;
     case 72:
     this.btnDebug2 = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 265 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnDebug2.Click += new System.Windows.RoutedEventHandler(this.btnDebug2_Click);
     
     #line default
     #line hidden
     return;
     case 73:
     this.tbDebugClauseId = ((System.Windows.Controls.TextBox)(target));
     return;
     case 74:
     this.tbDebugConceptId = ((System.Windows.Controls.TextBox)(target));
     return;
     case 75:
     this.btnSave = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 289 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);
     
     #line default
     #line hidden
     return;
     case 76:
     this.btnCancel = ((Telerik.Windows.Controls.RadButton)(target));
     
     #line 290 "..\..\..\TemplateEdit\TEditSidebar.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        private void radTreeViewCatalogs_SelectionChanged(object sender, System.Windows.RoutedEventArgs e)
        {
            // Get a reference to the treeview
            treeView = sender as Telerik.Windows.Controls.RadTreeView;



            ObservableCollection <Object> selectedItems = treeView.SelectedItems;
            List <TabItem> _tabItems;

            Type            type       = this.GetType();
            Assembly        assembly   = type.Assembly;
            string          strElement = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Name;
            string          strTag     = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag;
            RadTreeViewItem item3      = treeView.SelectedItem as RadTreeViewItem;

            switch (strTag)
            {
            case "8010":

                UserControl uc8010 = null;

                if (userControls.ContainsKey("8010"))
                {
                    userControls.Remove("8010");
                    uc8010 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.AR.Catalogs.Clientes.Views.MainView", type.Namespace));
                    userControls.Add("8010", uc8010);

                    //  container.Content = userControls["801"];
                }
                else
                {
                    //var before = GC.GetTotalMemory(false);

                    //MessageBox.Show(before.ToString("#,###"));

                    //GC.Collect();
                    //MessageBox.Show(before.ToString("e gc" + "#,###"));



                    // userControls.Remove("801");
                    uc8010 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.AR.Catalogs.Clientes.Views.MainView", type.Namespace));
                    userControls.Add("8010", uc8010);


                    AddDetail(uc8010, "Catálogo de Clientes");

                    //container.

                    //  ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Parent.IsSelected = true;
                    // container.Content = userControls["801"];

                    // container.ta

                    //container.Focus();

                    // ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";

                    //  treeView.SelectedItem = ((GGGC.Admin.Menus.BusinessItem)(treeView.SelectedItem)).Tag = "800";

                    //selectedItems.IS
                    //var after = GC.GetTotalMemory(false);
                    //MessageBox.Show(after.ToString("after" + "#,###"));

                    //if (userControls["801"] == null)
                    //{
                    //    // userControls["1501"].
                    //    userControls.Remove("801");
                    //    UserControl uc801 = (UserControl)assembly.CreateInstance(string.Format("{0}.ERP.Modules.Guadiana.Tickets.Views.MainView", type.Namespace));
                    //    userControls.Add("801", uc801);
                    //}
                    //else
                    //{
                    //    // container.Content = userControls["1501"];
                    //    //userControls["1501"].de
                    //}
                }
                break;



            case "7004":

                UserControl uc7004 = null;

                if (userControls.ContainsKey("7004"))
                {
                    userControls.Remove("7004");
                    uc7004 = (UserControl)assembly.CreateInstance(string.Format("{0}.Inventory.Catalogs.Spares.Groups.Spares.Views.SparesView", type.Namespace));
                    userControls.Add("7004", uc7004);
                }
                else
                {
                    uc7004 = (UserControl)assembly.CreateInstance(string.Format("{0}.Inventory.Catalogs.Spares.Groups.Spares.Views.SparesView", type.Namespace));
                    userControls.Add("7004", uc7004);
                    AddDetail(uc7004, "Catalogo Refacciones");
                }

                break;
            }
        }
Beispiel #26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\MainWindow.xaml"
                ((System.ComponentModel.BackgroundWorker)(target)).DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_DoWork);

            #line default
            #line hidden

            #line 13 "..\..\MainWindow.xaml"
                ((System.ComponentModel.BackgroundWorker)(target)).ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker_ProgressChanged);

            #line default
            #line hidden

            #line 14 "..\..\MainWindow.xaml"
                ((System.ComponentModel.BackgroundWorker)(target)).RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_RunWorkerCompleted);

            #line default
            #line hidden
                return;

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

            case 3:
                this.allProductsView = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 116 "..\..\MainWindow.xaml"
                this.allProductsView.ItemPrepared += new System.EventHandler <Telerik.Windows.Controls.RadTreeViewItemPreparedEventArgs>(this.RadTreeView_ItemPrepared);

            #line default
            #line hidden

            #line 117 "..\..\MainWindow.xaml"
                this.allProductsView.LoadOnDemand += new System.EventHandler <Telerik.Windows.RadRoutedEventArgs>(this.RadTreeView_LoadOnDemand);

            #line default
            #line hidden

            #line 118 "..\..\MainWindow.xaml"
                this.allProductsView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.AllProductsView_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.wishlistView = ((System.Windows.Controls.ListBox)(target));
                return;

            case 6:
                this.copyProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 7:
                this.ProgressControl = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #27
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\Shell.xaml"
                ((GGGC.Admin.Shell)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing_1);

            #line default
            #line hidden

            #line 14 "..\..\Shell.xaml"
                ((GGGC.Admin.Shell)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded_1);

            #line default
            #line hidden
                return;

            case 2:
                this.fConfig = ((MahApps.Metro.Controls.Flyout)(target));

            #line 34 "..\..\Shell.xaml"
                this.fConfig.IsOpenChanged += new System.Windows.RoutedEventHandler(this.fConfig_IsOpenChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.miflyout = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 4:

            #line 52 "..\..\Shell.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSettings);

            #line default
            #line hidden
                return;

            case 5:
                this.DockMain = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 6:
                this.dpBottom = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 7:
                this.sbGG = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 8:
                this.sbiUser = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 9:
                this.sbiUserName = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 10:
                this.sbiDate = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 11:
                this.sbiDays = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 12:
                this.sbiVersion = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 13:
                this.sbiIP = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;

            case 14:
                this.robMain = ((Telerik.Windows.Controls.RadOutlookBar)(target));
                return;

            case 15:
                this.tvHome = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 113 "..\..\Shell.xaml"
                this.tvHome.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.rbiGg = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 17:
                this.tvGG = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 128 "..\..\Shell.xaml"
                this.tvGG.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.rbiEkt = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 19:
                this.tvEktelesis = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 147 "..\..\Shell.xaml"
                this.tvEktelesis.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.rbiBF = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 21:
                this.tvBF = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 162 "..\..\Shell.xaml"
                this.tvBF.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.rbiLRG = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 23:
                this.tvLRG = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 178 "..\..\Shell.xaml"
                this.tvLRG.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.rbiCLT = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 25:
                this.tvCLT = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 193 "..\..\Shell.xaml"
                this.tvCLT.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.rbiCXC = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 27:
                this.tvCxC = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 208 "..\..\Shell.xaml"
                this.tvCxC.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.rbiCat = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 29:
                this.tvCatalogos = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 226 "..\..\Shell.xaml"
                this.tvCatalogos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.rbiInventario = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 31:
                this.tvInventario = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 249 "..\..\Shell.xaml"
                this.tvInventario.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.rbiCompras = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 33:
                this.tvEktelesis3 = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 264 "..\..\Shell.xaml"
                this.tvEktelesis3.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.rbiSales = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 35:
                this.tvSales = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 283 "..\..\Shell.xaml"
                this.tvSales.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.rbiAuditoria = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 37:
                this.tvAuditoria = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 300 "..\..\Shell.xaml"
                this.tvAuditoria.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.rbiMantenimiento = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 39:
                this.tvMto = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 315 "..\..\Shell.xaml"
                this.tvMto.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 40:
                this.rbiPatrimonio = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 41:
                this.tvPatrimonio = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 330 "..\..\Shell.xaml"
                this.tvPatrimonio.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 42:
                this.rbiDH = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 43:
                this.tvDH = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 345 "..\..\Shell.xaml"
                this.tvDH.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.rbiSistemas = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 45:
                this.tvSistemas = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 360 "..\..\Shell.xaml"
                this.tvSistemas.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.rbiProcesos = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 47:
                this.tvProcesos = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 375 "..\..\Shell.xaml"
                this.tvProcesos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 48:
                this.rbiConta = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 49:
                this.tvConta = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 390 "..\..\Shell.xaml"
                this.tvConta.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 50:
                this.rbiComer = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 51:
                this.tvComer = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 406 "..\..\Shell.xaml"
                this.tvComer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 52:
                this.rbiSucursales = ((Telerik.Windows.Controls.RadOutlookBarItem)(target));
                return;

            case 53:
                this.tvSucursales = ((Telerik.Windows.Controls.RadTreeView)(target));

            #line 421 "..\..\Shell.xaml"
                this.tvSucursales.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.radTreeViewCatalogs_SelectionChanged);

            #line default
            #line hidden
                return;

            case 54:
                this.container = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 55:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 56:
                this.lblDayLong = ((System.Windows.Controls.Label)(target));
                return;

            case 57:
                this.lblDayNumber = ((System.Windows.Controls.Label)(target));
                return;

            case 58:
                this.lblMonth = ((System.Windows.Controls.Label)(target));
                return;

            case 59:
                this.btnLock = ((System.Windows.Controls.Button)(target));

            #line 480 "..\..\Shell.xaml"
                this.btnLock.Click += new System.Windows.RoutedEventHandler(this.btnLock_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.SmartLoginOverlayControl = ((SoftArcs.WPFSmartLibrary.SmartUserControls.SmartLoginOverlay)(target));

            #line 486 "..\..\Shell.xaml"
                this.SmartLoginOverlayControl.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.SmartLoginOverlayControl_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 61:
                this.lblDerechos = ((System.Windows.Controls.Label)(target));
                return;

            case 62:
                this.lblVersion = ((System.Windows.Controls.Label)(target));
                return;

            case 63:
                this.lblFecha = ((System.Windows.Controls.Label)(target));
                return;

            case 64:
                this.imgTittle = ((System.Windows.Controls.Image)(target));
                return;

            case 65:
                this.imgciclo = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }