public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/UcbManagementInformation;component/Views/Reporting/ReportWizard/ReportWizard.xam" + "l", System.UriKind.Relative)); this.ThePage = ((System.Windows.Controls.Page)(this.FindName("ThePage"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ChartStates = ((System.Windows.VisualStateGroup)(this.FindName("ChartStates"))); this.ShowingChart = ((System.Windows.VisualState)(this.FindName("ShowingChart"))); this.HiddenChart = ((System.Windows.VisualState)(this.FindName("HiddenChart"))); this.AdvancedPanelStates = ((System.Windows.VisualStateGroup)(this.FindName("AdvancedPanelStates"))); this.Showing = ((System.Windows.VisualState)(this.FindName("Showing"))); this.Hidden = ((System.Windows.VisualState)(this.FindName("Hidden"))); this.ViewBusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("ViewBusyIndicator"))); this.SelectDataGrid = ((System.Windows.Controls.Grid)(this.FindName("SelectDataGrid"))); this.DataItemsTreeView = ((System.Windows.Controls.TreeView)(this.FindName("DataItemsTreeView"))); this.GenerateReport = ((System.Windows.Controls.Button)(this.FindName("GenerateReport"))); this.QuickView = ((System.Windows.Controls.Button)(this.FindName("QuickView"))); this.ToggleAdvanced = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("ToggleAdvanced"))); this.SelectedDataItemListBox = ((System.Windows.Controls.ListBox)(this.FindName("SelectedDataItemListBox"))); this.AdvancedPanel = ((System.Windows.Controls.StackPanel)(this.FindName("AdvancedPanel"))); this.AdvancedJoins = ((System.Windows.Controls.Button)(this.FindName("AdvancedJoins"))); this.ChartingButton = ((System.Windows.Controls.Button)(this.FindName("ChartingButton"))); this.ChartGrid = ((System.Windows.Controls.Grid)(this.FindName("ChartGrid"))); this.ChartTranslateTransform = ((System.Windows.Media.TranslateTransform)(this.FindName("ChartTranslateTransform"))); this.AddChartButton = ((System.Windows.Controls.Button)(this.FindName("AddChartButton"))); this.CloseChartButton = ((System.Windows.Controls.Button)(this.FindName("CloseChartButton"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Talentos_Master;component/frmSeleccionarPrincipal.xaml", System.UriKind.Relative)); this.Contenedor = ((System.Windows.Controls.Grid)(this.FindName("Contenedor"))); this.canvasPuntajesNivel2 = ((System.Windows.Controls.Canvas)(this.FindName("canvasPuntajesNivel2"))); this.ppPuntajesBuzon1 = ((System.Windows.Controls.Canvas)(this.FindName("ppPuntajesBuzon1"))); this.canvasPuntajesBuzon1 = ((System.Windows.Controls.Canvas)(this.FindName("canvasPuntajesBuzon1"))); this.talentosListBox1 = ((System.Windows.Controls.ListBox)(this.FindName("talentosListBox1"))); this.dt = ((System.Windows.DataTemplate)(this.FindName("dt"))); this.txtCantidad1 = ((System.Windows.Controls.TextBlock)(this.FindName("txtCantidad1"))); this.txtTotal = ((System.Windows.Documents.Run)(this.FindName("txtTotal"))); this.txtVerBuzon3 = ((System.Windows.Controls.TextBlock)(this.FindName("txtVerBuzon3"))); this.ppPuntajesBuzon2 = ((System.Windows.Controls.Canvas)(this.FindName("ppPuntajesBuzon2"))); this.canvasPuntajesBuzon2 = ((System.Windows.Controls.Canvas)(this.FindName("canvasPuntajesBuzon2"))); this.talentosListBox3 = ((System.Windows.Controls.ListBox)(this.FindName("talentosListBox3"))); this.txtCantidad2 = ((System.Windows.Controls.TextBlock)(this.FindName("txtCantidad2"))); this.txtTotal2 = ((System.Windows.Documents.Run)(this.FindName("txtTotal2"))); this.txtVerBuzon1 = ((System.Windows.Controls.TextBlock)(this.FindName("txtVerBuzon1"))); this.BusyWindow = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyWindow"))); this.ppSeAcabo = ((System.Windows.Controls.Border)(this.FindName("ppSeAcabo"))); this.grdSeAcabo = ((System.Windows.Controls.Grid)(this.FindName("grdSeAcabo"))); this.txtMensaje = ((System.Windows.Documents.Run)(this.FindName("txtMensaje"))); this.btnRevisarSeAcabo = ((System.Windows.Controls.Border)(this.FindName("btnRevisarSeAcabo"))); this.btnContinuarSeAcabo = ((System.Windows.Controls.Border)(this.FindName("btnContinuarSeAcabo"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/BusyIndicator.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.BusyIndicatorPeopleSearch = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicatorPeopleSearch"))); }
/// <summary> /// Initializes the <see cref="Application.RootVisual"/> property. The /// initial UI will be displayed before the LoadUser operation has completed /// (The LoadUser operation will cause user to be logged automatically if /// using windows authentication or if the user had selected the "keep /// me signed in" option on a previous login). /// </summary> protected virtual void InitializeRootVisual() { this.busyIndicator = new System.Windows.Controls.BusyIndicator(); this.busyIndicator.Content = new MainPage(); this.busyIndicator.HorizontalContentAlignment = HorizontalAlignment.Stretch; this.busyIndicator.VerticalContentAlignment = VerticalAlignment.Stretch; this.RootVisual = this.busyIndicator; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/bing;component/Istoric/stat.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot"))); this.b = ((System.Windows.Controls.BusyIndicator)(this.FindName("b"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/gMVVM;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.Processing = ((System.Windows.Controls.BusyIndicator)(this.FindName("Processing"))); this.ContentFrame = ((System.Windows.Controls.Frame)(this.FindName("ContentFrame"))); }
/// <summary> /// Initializes the <see cref="Application.RootVisual"/> property. The /// initial UI will be displayed before the LoadUser operation has completed /// (The LoadUser operation will cause user to be logged automatically if /// using windows authentication or if the user had selected the "keep /// me signed in" option on a previous login). /// </summary> protected virtual void InitializeRootVisual() { this.busyIndicator = new System.Windows.Controls.BusyIndicator(); this.busyIndicator.IsBusy = true; this.busyIndicator.Content = new MainPage(); this.busyIndicator.HorizontalContentAlignment = HorizontalAlignment.Stretch; this.busyIndicator.VerticalContentAlignment = VerticalAlignment.Stretch; this.RootVisual = this.busyIndicator; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/bCheck.Admin;component/Dialogs/UploadHierarchyDialog.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.dataGrid = ((C1.Silverlight.DataGrid.C1DataGrid)(this.FindName("dataGrid"))); this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/moleQule.Plugin.QaptureImage;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.busyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("busyIndicator"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/RssWCF;component/MainPage.xaml", System.UriKind.Relative)); this.busy = ((System.Windows.Controls.BusyIndicator)(this.FindName("busy"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.navFrame = ((System.Windows.Controls.Frame)(this.FindName("navFrame"))); this.NewsDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("NewsDataGrid"))); this.newsContent = ((System.Windows.Controls.RichTextBox)(this.FindName("newsContent"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/WorkReport;component/OrderList.xaml", System.UriKind.Relative)); this.ShowList = ((System.Windows.VisualState)(this.FindName("ShowList"))); this.ShowReport = ((System.Windows.VisualState)(this.FindName("ShowReport"))); this.qulityReport = ((System.Windows.Controls.Grid)(this.FindName("qulityReport"))); this.orderList = ((System.Windows.Controls.BusyIndicator)(this.FindName("orderList"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/TwitterSearch;component/Views/Search.xaml", System.UriKind.Relative)); this.busyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("busyIndicator"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.SearchBox = ((System.Windows.Controls.AutoCompleteBox)(this.FindName("SearchBox"))); this.SearchButton = ((System.Windows.Controls.Button)(this.FindName("SearchButton"))); this.SearchResults = ((System.Windows.Controls.ItemsControl)(this.FindName("SearchResults"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/RevisionHistoryDialog.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.stkRevision = ((System.Windows.Controls.StackPanel)(this.FindName("stkRevision"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton"))); this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/Dialogs/AddLateIncompleteReasonDialog.xaml", System.UriKind.Relative)); this.dlgAddLateIncompleteReason = ((C1.Silverlight.C1Window)(this.FindName("dlgAddLateIncompleteReason"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.btnSave = ((BCheck.TaskUI.MVVMInfrastructure.CommandButton)(this.FindName("btnSave"))); this.btnCancel = ((BCheck.TaskUI.MVVMInfrastructure.CommandButton)(this.FindName("btnCancel"))); this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator"))); }
public PaginaUser(BusyIndicator bIndic,List<ServiceReference1.LoginFunction_Result> lista,MapLayers mymap,Map map,Canvas canvas2) { InitializeComponent(); this.canvas2 = canvas2; this.mymap = mymap; this.map = map; this.bInidic = bIndic; #region Adresa + Nume animal ControlCuColturiRotunde adresscur = new ControlCuColturiRotunde(LayoutRoot, 230, 100, 0, 7, true, 1); adresscur.Colturi(13, 13, new Rect(0, 0, 230, 100)); adresscur.Colors("#FFF0F8FF", "#FFF0F8FF", new Point(0.5, 1), new Point(0.5, 0), 0.3); // ControlCuColturiRotunde dd = new ControlCuColturiRotunde(can, 200, 100, 200, 100, false, 1); Canvas wrap = new Canvas() { Margin = new Thickness(12, 12, 12, 12), Width = 210, Height = 70 }; tb1 = new TextBlock() { Text = "You are here: ", Margin = new Thickness(0, 1, 0, 0), FontFamily = new FontFamily("Tahoma"), FontSize = 12, Foreground = new SolidColorBrush(Color.FromArgb(255, 0, 42, 116)) }; tb2 = new TextBlock() { Text = "Regiunea Curenta", Margin = new Thickness(tb1.ActualWidth + 1, 1, 0, 0), FontFamily = new FontFamily("Tahoma"), FontSize = 12, Foreground = new SolidColorBrush(Colors.Black), Cursor = Cursors.Hand }; tb3 = new TextBlock() { Text = " >> ", Margin = new Thickness(tb1.ActualWidth + tb2.ActualWidth + 2, 1, 0, 0), FontFamily = new FontFamily("Comic Sans MS"), FontWeight = FontWeights.SemiBold, FontSize = 8, Foreground = new SolidColorBrush(Color.FromArgb(255, 0, 42, 116)) }; tb4 = new TextBlock() { Text = "Subregiunea", Margin = new Thickness(tb1.ActualWidth + tb2.ActualWidth + tb3.ActualWidth + 3, 1, 0, 0), FontFamily = new FontFamily("Tahoma"), FontSize = 12, Foreground = new SolidColorBrush(Colors.Black), Cursor = Cursors.Hand }; if (tb4.Margin.Left + tb4.ActualWidth > 210)//trecere urm rand tb4.Margin = new Thickness(15, 18, 0, 0); tb5 = new TextBlock() { Text = " >> ", Margin = new Thickness(tb4.Margin.Left != 0 ? tb4.ActualWidth + 16 : 15, 18, 0, 0), FontFamily = new FontFamily("Comic Sans MS"), FontWeight = FontWeights.SemiBold, FontSize = 8, Foreground = new SolidColorBrush(Color.FromArgb(255, 0, 42, 116)) }; if (tb4.Margin.Left != 15) tb5.Margin = new Thickness(15, 18, 0, 0); tb6 = new TextBlock() { Text = "Zona Campie/Padure", Margin = new Thickness(tb5.Margin.Left + tb5.ActualWidth + 1, 18, 0, 0), FontFamily = new FontFamily("Tahoma"), FontSize = 12, Foreground = new SolidColorBrush(Colors.Black), Cursor = Cursors.Hand }; //TextBlock tb7 = new TextBlock() { Text = " >> ", Margin = new Thickness(tb6.Margin.Left + tb6.ActualWidth + 1, 18, 0, 0), FontFamily = new FontFamily("Comic Sans MS"), FontWeight = FontWeights.SemiBold, FontSize = 8, Foreground = new SolidColorBrush(Color.FromArgb(255, 0, 42, 116)) }; //TextBlock tb8 = new TextBlock() { Text = "Animals", Margin = new Thickness(tb7.Margin.Left + tb7.ActualWidth + 1, 18, 0, 0), FontFamily = new FontFamily("Tahoma"), FontSize = 12, Foreground = new SolidColorBrush(Colors.Black), Cursor = Cursors.Hand }; wrap.Children.Add(tb1); wrap.Children.Add(tb2); wrap.Children.Add(tb3); wrap.Children.Add(tb4); wrap.Children.Add(tb5); wrap.Children.Add(tb6); //wrap.Children.Add(tb7); wrap.Children.Add(tb8); LayoutRoot.Children.Add(wrap); TextBlock tb9 = new TextBlock() { Text = "Welcome,", Margin = new Thickness(12, 48, 12, 12), FontFamily = new FontFamily("Tahoma"), FontSize = 12, Foreground = new SolidColorBrush(Colors.Black) }; TextBlock tb10 = new TextBlock() { Text = lista[0].Nume, Margin = new Thickness(12, 58, 12, 12), FontFamily = new FontFamily("Tahoma"), FontSize = 23, Foreground = new SolidColorBrush(Colors.Black) }; LayoutRoot.Children.Add(tb9); LayoutRoot.Children.Add(tb10); #endregion ImageSourceConverter c = new ImageSourceConverter(); image1.Source = (ImageSource)c.ConvertFromString("Game/deer.jpg"); Donatii.Text = lista[0].NrDonatii.ToString() + " Donations"; Banidonati.Text = lista[0].BaniDonati.ToString() + " RON donated"; Rank.Text = "Rank: "+lista[0].Rank.ToString(); Scor.Text = "Scor: " + lista[0].Scor; mymap.lol(); bIndic.IsBusy = false; // Alex // Evenimente tb2.MouseLeftButtonUp += new MouseButtonEventHandler(tb2_MouseLeftButtonUp); // Update region updateCurrentRegion(); // Store the current instance instance = this; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Jukebox.Client2;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.searchBusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("searchBusyIndicator"))); this.SearchResultsControl1 = ((Jukebox.Client2.SearchResultsControl)(this.FindName("SearchResultsControl1"))); this.NowPlayingControl1 = ((Jukebox.Client2.NowPlayingControl)(this.FindName("NowPlayingControl1"))); this.PlaylistControl1 = ((Jukebox.Client2.PlaylistControl)(this.FindName("PlaylistControl1"))); this.PlaylistInfoControl1 = ((Jukebox.Client2.PlaylistInfoControl)(this.FindName("PlaylistInfoControl1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/TaskAttachmentsDialog.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.attachments = ((System.Windows.Controls.ListBox)(this.FindName("attachments"))); this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator"))); this.BrowseButton = ((System.Windows.Controls.Button)(this.FindName("BrowseButton"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/GraphLabs.Tasks.Template;component/Planarity.xaml", System.UriKind.Relative)); this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.LeftMainBorder = ((System.Windows.Controls.Border)(this.FindName("LeftMainBorder"))); this.Matrix = ((GraphLabs.CommonUI.Controls.Matrix)(this.FindName("Matrix"))); this.ToolBar = ((GraphLabs.CommonUI.Controls.ToolBar)(this.FindName("ToolBar"))); this.Visualizer = ((GraphLabs.Graphs.UIComponents.Visualization.GraphVisualizer)(this.FindName("Visualizer"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/gMVVM;component/Views/LoginSystem.xaml", System.UriKind.Relative)); this.SwivelToBackStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("SwivelToBackStoryboard"))); this.SwivelToFrontStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("SwivelToFrontStoryboard"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ProcessingLogin = ((System.Windows.Controls.BusyIndicator)(this.FindName("ProcessingLogin"))); this.SwivelPanelBack = ((System.Windows.Controls.Border)(this.FindName("SwivelPanelBack"))); this.SwivelPanelFront = ((System.Windows.Controls.Border)(this.FindName("SwivelPanelFront"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Talentos_Master;component/frmInicio.xaml", System.UriKind.Relative)); this.ppVerificarCantidad = ((System.Windows.Controls.Border)(this.FindName("ppVerificarCantidad"))); this.grdVerificar = ((System.Windows.Controls.Grid)(this.FindName("grdVerificar"))); this.txtppVerificarCantidad = ((System.Windows.Controls.TextBlock)(this.FindName("txtppVerificarCantidad"))); this.btnIniciarSession = ((System.Windows.Controls.Border)(this.FindName("btnIniciarSession"))); this.txtSinSesion = ((System.Windows.Controls.TextBlock)(this.FindName("txtSinSesion"))); this.BusyWindow = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyWindow"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/gMVVM;component/Views/Search/SearchScreen.xaml", System.UriKind.Relative)); this.childWindow = ((System.Windows.Controls.ChildWindow)(this.FindName("childWindow"))); this.StoryboardNavigateFrame = ((System.Windows.Media.Animation.Storyboard)(this.FindName("StoryboardNavigateFrame"))); this.StoryboardBackClick = ((System.Windows.Media.Animation.Storyboard)(this.FindName("StoryboardBackClick"))); this.buttonclo = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("buttonclo"))); this.buttonclo1 = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("buttonclo1"))); this.Processing1 = ((System.Windows.Controls.BusyIndicator)(this.FindName("Processing1"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.FrameChi = ((System.Windows.Controls.ContentControl)(this.FindName("FrameChi"))); this.lblTitle = ((System.Windows.Controls.Label)(this.FindName("lblTitle"))); this.ButtonClose = ((System.Windows.Controls.Button)(this.FindName("ButtonClose"))); this.hyperlinkButton1 = ((System.Windows.Controls.HyperlinkButton)(this.FindName("hyperlinkButton1"))); this.hyperlinkButton = ((System.Windows.Controls.HyperlinkButton)(this.FindName("hyperlinkButton"))); this.button = ((System.Windows.Controls.Button)(this.FindName("button"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Talentos_Master;component/frmClasificacionPrincipal.xaml", System.UriKind.Relative)); this.Contenedor = ((System.Windows.Controls.Grid)(this.FindName("Contenedor"))); this.LayoutRoot = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot"))); this.MoveLeftButton = ((System.Windows.Controls.Image)(this.FindName("MoveLeftButton"))); this.popup1 = ((System.Windows.Controls.Border)(this.FindName("popup1"))); this.txtCantidad = ((System.Windows.Controls.TextBlock)(this.FindName("txtCantidad"))); this.buttseven = ((System.Windows.Controls.StackPanel)(this.FindName("buttseven"))); this.btnVoltear = ((Talentos_Master.ButtonSeven)(this.FindName("btnVoltear"))); this.MoveRightButton = ((System.Windows.Controls.Image)(this.FindName("MoveRightButton"))); this.canvasBuzonesSelva = ((System.Windows.Controls.Canvas)(this.FindName("canvasBuzonesSelva"))); this.imgBuzon1 = ((System.Windows.Controls.Border)(this.FindName("imgBuzon1"))); this.txt11 = ((System.Windows.Controls.TextBlock)(this.FindName("txt11"))); this.txt21 = ((System.Windows.Controls.TextBlock)(this.FindName("txt21"))); this.txt31 = ((System.Windows.Controls.TextBlock)(this.FindName("txt31"))); this.imgBuzon2 = ((System.Windows.Controls.Border)(this.FindName("imgBuzon2"))); this.txt12 = ((System.Windows.Controls.TextBlock)(this.FindName("txt12"))); this.txt22 = ((System.Windows.Controls.TextBlock)(this.FindName("txt22"))); this.txt32 = ((System.Windows.Controls.TextBlock)(this.FindName("txt32"))); this.imgBuzon3 = ((System.Windows.Controls.Border)(this.FindName("imgBuzon3"))); this.txt13 = ((System.Windows.Controls.TextBlock)(this.FindName("txt13"))); this.txt23 = ((System.Windows.Controls.TextBlock)(this.FindName("txt23"))); this.txt33 = ((System.Windows.Controls.TextBlock)(this.FindName("txt33"))); this.txtInstruc = ((System.Windows.Controls.TextBlock)(this.FindName("txtInstruc"))); this.BusyWindow = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyWindow"))); this.ppVerificarCantidad = ((System.Windows.Controls.Border)(this.FindName("ppVerificarCantidad"))); this.grdVerificar = ((System.Windows.Controls.Grid)(this.FindName("grdVerificar"))); this.txtppVerificarCantidad = ((System.Windows.Controls.TextBlock)(this.FindName("txtppVerificarCantidad"))); this.btnAceptarCorregir = ((System.Windows.Controls.Border)(this.FindName("btnAceptarCorregir"))); this.ppSeAcabo = ((System.Windows.Controls.Border)(this.FindName("ppSeAcabo"))); this.grdSeAcabo = ((System.Windows.Controls.Grid)(this.FindName("grdSeAcabo"))); this.btnAceptarSeAcabo = ((System.Windows.Controls.Border)(this.FindName("btnAceptarSeAcabo"))); this.btnCancelarSeAcabo = ((System.Windows.Controls.Border)(this.FindName("btnCancelarSeAcabo"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Workflow/UserAgentPicker.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.BtnCancel = ((System.Windows.Controls.Button)(this.FindName("BtnCancel"))); this.BtnOK = ((System.Windows.Controls.Button)(this.FindName("BtnOK"))); this.Lab_Matricule = ((System.Windows.Controls.Label)(this.FindName("Lab_Matricule"))); this.Txt_matricule = ((System.Windows.Controls.TextBox)(this.FindName("Txt_matricule"))); this.label2 = ((System.Windows.Controls.Label)(this.FindName("label2"))); this.Txt_name = ((System.Windows.Controls.TextBox)(this.FindName("Txt_name"))); this.label3 = ((System.Windows.Controls.Label)(this.FindName("label3"))); this.Txt_codeFonction = ((System.Windows.Controls.TextBox)(this.FindName("Txt_codeFonction"))); this.Btn_search = ((System.Windows.Controls.Button)(this.FindName("Btn_search"))); this.Btn_reset = ((System.Windows.Controls.Button)(this.FindName("Btn_reset"))); this.Dtg_agent = ((System.Windows.Controls.DataGrid)(this.FindName("Dtg_agent"))); this.busyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("busyIndicator"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Galatee.Silverlight;component/Devis/UcAbonnePicker.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.BtnCancel = ((System.Windows.Controls.Button)(this.FindName("BtnCancel"))); this.BtnOK = ((System.Windows.Controls.Button)(this.FindName("BtnOK"))); this.Lab_Client = ((System.Windows.Controls.Label)(this.FindName("Lab_Client"))); this.Txt_Client = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Client"))); this.Lab_Nom = ((System.Windows.Controls.Label)(this.FindName("Lab_Nom"))); this.Txt_Nom = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Nom"))); this.Lab_Centre = ((System.Windows.Controls.Label)(this.FindName("Lab_Centre"))); this.Txt_Centre = ((System.Windows.Controls.TextBox)(this.FindName("Txt_Centre"))); this.Cbo_Centre = ((System.Windows.Controls.ComboBox)(this.FindName("Cbo_Centre"))); this.Btn_search = ((System.Windows.Controls.Button)(this.FindName("Btn_search"))); this.Btn_reset = ((System.Windows.Controls.Button)(this.FindName("Btn_reset"))); this.Dtg_abonne = ((System.Windows.Controls.DataGrid)(this.FindName("Dtg_abonne"))); this.busyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("busyIndicator"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Ecs.Intranet.DocumentViewer;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.logo = ((System.Windows.Controls.Image)(this.FindName("logo"))); this.btnPrevious = ((System.Windows.Controls.Button)(this.FindName("btnPrevious"))); this.btnNext = ((System.Windows.Controls.Button)(this.FindName("btnNext"))); this.cboPage = ((System.Windows.Controls.ComboBox)(this.FindName("cboPage"))); this.lblTotalPages = ((System.Windows.Controls.TextBlock)(this.FindName("lblTotalPages"))); this.lblZoomValue = ((System.Windows.Controls.TextBlock)(this.FindName("lblZoomValue"))); this.zoomSlider = ((System.Windows.Controls.Slider)(this.FindName("zoomSlider"))); this.btnZoomFit = ((System.Windows.Controls.Button)(this.FindName("btnZoomFit"))); this.FullScreenButton = ((System.Windows.Controls.Button)(this.FindName("FullScreenButton"))); this.lblPageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("lblPageTitle"))); this.viewer = ((System.Windows.Controls.ScrollViewer)(this.FindName("viewer"))); this.image = ((System.Windows.Controls.Image)(this.FindName("image"))); this.busyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("busyIndicator"))); }
/// <summary> /// Creates the busy indicator, which will be automatically centered if needed. /// </summary> /// <returns>FrameworkElement.</returns> protected virtual FrameworkElement CreateBusyIndicator() { var busyIndicator = new BusyIndicator(); busyIndicator.SetBinding(System.Windows.Controls.BusyIndicator.BusyContentProperty, new Binding("Status")); busyIndicator.SetBinding(System.Windows.Controls.BusyIndicator.IsBusyProperty, new Binding("IsBusy")); return busyIndicator; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.LeftNavTaskView = ((System.Windows.Controls.Grid)(this.FindName("LeftNavTaskView"))); this.gridLeftNav = ((System.Windows.Controls.ColumnDefinition)(this.FindName("gridLeftNav"))); this.gridTaskRows = ((System.Windows.Controls.ColumnDefinition)(this.FindName("gridTaskRows"))); this.gridStatusBar = ((System.Windows.Controls.RowDefinition)(this.FindName("gridStatusBar"))); this.ucStatusBar = ((BCheck.TaskUI.StatusBar)(this.FindName("ucStatusBar"))); this.acc = ((System.Windows.Controls.Accordion)(this.FindName("acc"))); this.AccordionSummary = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionSummary"))); this.AccordionSearch = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionSearch"))); this.AccordionAlerts = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionAlerts"))); this.TasksControl = ((BCheck.TaskUI.TasksViewC1)(this.FindName("TasksControl"))); this.borderGrabber = ((System.Windows.Controls.Border)(this.FindName("borderGrabber"))); this.txtGrabberExpandor = ((System.Windows.Controls.TextBlock)(this.FindName("txtGrabberExpandor"))); this.grabberRotate = ((System.Windows.Media.RotateTransform)(this.FindName("grabberRotate"))); this.grabberTranslate = ((System.Windows.Media.TranslateTransform)(this.FindName("grabberTranslate"))); this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/PeopleSelectorDialog.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.gridEditFields = ((System.Windows.Controls.Grid)(this.FindName("gridEditFields"))); this.rowSearchBox = ((System.Windows.Controls.RowDefinition)(this.FindName("rowSearchBox"))); this.rowResultsDisplay = ((System.Windows.Controls.RowDefinition)(this.FindName("rowResultsDisplay"))); this.rowOkancel = ((System.Windows.Controls.RowDefinition)(this.FindName("rowOkancel"))); this.txtSearch = ((System.Windows.Controls.TextBox)(this.FindName("txtSearch"))); this.btnSearch = ((System.Windows.Controls.Button)(this.FindName("btnSearch"))); this.gridPeopleResults = ((System.Windows.Controls.DataGrid)(this.FindName("gridPeopleResults"))); this.colDisplayName = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("colDisplayName"))); this.colTitle = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("colTitle"))); this.colDepartment = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("colDepartment"))); this.colEmail = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("colEmail"))); this.colAccountName = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("colAccountName"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton"))); this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/Search/Search.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtSearchTypeLabel = ((System.Windows.Controls.TextBlock)(this.FindName("txtSearchTypeLabel"))); this.UserAssignedTo = ((BCheck.TaskUI.PeopleSelectorControl)(this.FindName("UserAssignedTo"))); this.txtTaskName = ((System.Windows.Controls.AutoCompleteBox)(this.FindName("txtTaskName"))); this.UserManager = ((BCheck.TaskUI.PeopleSelectorControl)(this.FindName("UserManager"))); this.dtStartDate = ((System.Windows.Controls.DatePicker)(this.FindName("dtStartDate"))); this.dtEndDate = ((System.Windows.Controls.DatePicker)(this.FindName("dtEndDate"))); this.lblFunctional = ((System.Windows.Controls.TextBlock)(this.FindName("lblFunctional"))); this.txtFunctional = ((System.Windows.Controls.AutoCompleteBox)(this.FindName("txtFunctional"))); this.lblBusinessArea = ((System.Windows.Controls.TextBlock)(this.FindName("lblBusinessArea"))); this.cboBusinessArea = ((C1.Silverlight.C1ComboBox)(this.FindName("cboBusinessArea"))); this.lblStatus = ((System.Windows.Controls.TextBlock)(this.FindName("lblStatus"))); this.cboTaskStatus = ((C1.Silverlight.C1ComboBox)(this.FindName("cboTaskStatus"))); this.pnlSavedSearches = ((System.Windows.Controls.StackPanel)(this.FindName("pnlSavedSearches"))); this.btnSave = ((System.Windows.Controls.Button)(this.FindName("btnSave"))); this.cboSearchPicker = ((System.Windows.Controls.ComboBox)(this.FindName("cboSearchPicker"))); this.btnDelete = ((System.Windows.Controls.Button)(this.FindName("btnDelete"))); this.btnNew = ((System.Windows.Controls.Button)(this.FindName("btnNew"))); this.btnSearch = ((System.Windows.Controls.Button)(this.FindName("btnSearch"))); this.SearchBusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("SearchBusyIndicator"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Bcheck.TaskUI;component/TaskEditDialog.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtComments = ((System.Windows.Controls.TextBox)(this.FindName("txtComments"))); this.lblComments = ((System.Windows.Controls.TextBlock)(this.FindName("lblComments"))); this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton"))); this.OKButton = ((System.Windows.Controls.Button)(this.FindName("OKButton"))); this.lblDescription = ((System.Windows.Controls.TextBlock)(this.FindName("lblDescription"))); this.txtDescription = ((C1.Silverlight.RichTextBox.C1RichTextBox)(this.FindName("txtDescription"))); this.lblAssignedTo = ((System.Windows.Controls.TextBlock)(this.FindName("lblAssignedTo"))); this.txtAssignedTo = ((BCheck.TaskUI.UC.UsersList)(this.FindName("txtAssignedTo"))); this.lblStatus = ((System.Windows.Controls.TextBlock)(this.FindName("lblStatus"))); this.cboStatus = ((System.Windows.Controls.ComboBox)(this.FindName("cboStatus"))); this.lblKRIDefinition = ((System.Windows.Controls.TextBlock)(this.FindName("lblKRIDefinition"))); this.txtKRIDefinition = ((System.Windows.Controls.TextBox)(this.FindName("txtKRIDefinition"))); this.txtTaskName = ((System.Windows.Controls.TextBox)(this.FindName("txtTaskName"))); this.lblMgmtSignoff = ((System.Windows.Controls.TextBlock)(this.FindName("lblMgmtSignoff"))); this.cboMgmtSingoff = ((System.Windows.Controls.ComboBox)(this.FindName("cboMgmtSingoff"))); this.lblKRI1 = ((System.Windows.Controls.TextBlock)(this.FindName("lblKRI1"))); this.txtKRI = ((System.Windows.Controls.TextBox)(this.FindName("txtKRI"))); this.txtLinkToProcess = ((System.Windows.Controls.TextBlock)(this.FindName("txtLinkToProcess"))); this.lblDueTime = ((System.Windows.Controls.TextBlock)(this.FindName("lblDueTime"))); this.txtDueTime = ((System.Windows.Controls.TimePicker)(this.FindName("txtDueTime"))); this.lblAlertTime = ((System.Windows.Controls.TextBlock)(this.FindName("lblAlertTime"))); this.txtAlertTime = ((System.Windows.Controls.TimePicker)(this.FindName("txtAlertTime"))); this.lblEscalationTime = ((System.Windows.Controls.TextBlock)(this.FindName("lblEscalationTime"))); this.txtEscalationTime = ((System.Windows.Controls.TimePicker)(this.FindName("txtEscalationTime"))); this.btnBrowseForAssignedUsers = ((System.Windows.Controls.Button)(this.FindName("btnBrowseForAssignedUsers"))); this.warningIcon = ((System.Windows.Controls.Image)(this.FindName("warningIcon"))); this.lblInformRestrictions = ((System.Windows.Controls.TextBlock)(this.FindName("lblInformRestrictions"))); this.txtManagers = ((BCheck.TaskUI.UC.UsersList)(this.FindName("txtManagers"))); this.btnBrowseForManager = ((System.Windows.Controls.Button)(this.FindName("btnBrowseForManager"))); this.lblManager = ((System.Windows.Controls.TextBlock)(this.FindName("lblManager"))); this.lblTaskOwner = ((System.Windows.Controls.TextBlock)(this.FindName("lblTaskOwner"))); this.txtTaskOwner = ((System.Windows.Controls.TextBox)(this.FindName("txtTaskOwner"))); this.btnDeleteOwner = ((System.Windows.Controls.Button)(this.FindName("btnDeleteOwner"))); this.btnDeleteLateReason = ((System.Windows.Controls.Button)(this.FindName("btnDeleteLateReason"))); this.lblTimeToComplete = ((System.Windows.Controls.TextBlock)(this.FindName("lblTimeToComplete"))); this.txtTimeToComplete = ((System.Windows.Controls.TimePicker)(this.FindName("txtTimeToComplete"))); this.txtLinkToProcess2 = ((C1.Silverlight.RichTextBox.C1RichTextBox)(this.FindName("txtLinkToProcess2"))); this.lblsystemoutrage = ((System.Windows.Controls.TextBlock)(this.FindName("lblsystemoutrage"))); this.cboSystemOutrage = ((C1.Silverlight.C1ComboBox)(this.FindName("cboSystemOutrage"))); this.lbllateincompletereason = ((System.Windows.Controls.TextBlock)(this.FindName("lbllateincompletereason"))); this.cboLateincompletereason = ((C1.Silverlight.C1ComboBox)(this.FindName("cboLateincompletereason"))); this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator"))); }
public void InitializeComponent() { if (!this._contentLoaded) { this._contentLoaded = true; Application.LoadComponent(this, new Uri("/BEPB;component/MainPage.xaml", UriKind.Relative)); this.LayoutRoot = (Grid) base.FindName("LayoutRoot"); this.Actually = (Image) base.FindName("Actually"); this.Quality = (Image) base.FindName("Quality"); this.Forecast = (Image) base.FindName("Forecast"); this.Support = (Image) base.FindName("Support"); this.Mobile = (Image) base.FindName("Mobile"); this.busyIndicator = (BusyIndicator) base.FindName("busyIndicator"); this.map = (CMap) base.FindName("map"); this.epbMapTileLayer = (MapTileLayer) base.FindName("epbMapTileLayer"); this.MapMask = (MapLayer) base.FindName("MapMask"); this.Districts = (MapLayer) base.FindName("Districts"); this.CityCenterBorder2 = (MapPolygon) base.FindName("CityCenterBorder2"); this.HuaiRou = (MapPolygon) base.FindName("HuaiRou"); this.MiYun = (MapPolygon) base.FindName("MiYun"); this.YanQing = (MapPolygon) base.FindName("YanQing"); this.ChangPing = (MapPolygon) base.FindName("ChangPing"); this.PingGu = (MapPolygon) base.FindName("PingGu"); this.ShunYi = (MapPolygon) base.FindName("ShunYi"); this.MenTouGou = (MapPolygon) base.FindName("MenTouGou"); this.HaiDian = (MapPolygon) base.FindName("HaiDian"); this.ChaoYang = (MapPolygon) base.FindName("ChaoYang"); this.TongZhou = (MapPolygon) base.FindName("TongZhou"); this.ShiJingShan = (MapPolygon) base.FindName("ShiJingShan"); this.DongCheng = (MapPolygon) base.FindName("DongCheng"); this.XiCheng = (MapPolygon) base.FindName("XiCheng"); this.FangShan = (MapPolygon) base.FindName("FangShan"); this.FengTai = (MapPolygon) base.FindName("FengTai"); this.DaXing = (MapPolygon) base.FindName("DaXing"); this.DistrictsName = (MapLayer) base.FindName("DistrictsName"); this.东城区Name = (Pushpin) base.FindName("东城区Name"); this.西城区Name = (Pushpin) base.FindName("西城区Name"); this.朝阳区Name = (Pushpin) base.FindName("朝阳区Name"); this.丰台区Name = (Pushpin) base.FindName("丰台区Name"); this.石景山区Name = (Pushpin) base.FindName("石景山区Name"); this.海淀区Name = (Pushpin) base.FindName("海淀区Name"); this.门头沟区Name = (Pushpin) base.FindName("门头沟区Name"); this.房山区Name = (Pushpin) base.FindName("房山区Name"); this.通州区Name = (Pushpin) base.FindName("通州区Name"); this.顺义区Name = (Pushpin) base.FindName("顺义区Name"); this.昌平区Name = (Pushpin) base.FindName("昌平区Name"); this.大兴区Name = (Pushpin) base.FindName("大兴区Name"); this.怀柔区Name = (Pushpin) base.FindName("怀柔区Name"); this.平谷区Name = (Pushpin) base.FindName("平谷区Name"); this.密云县Name = (Pushpin) base.FindName("密云县Name"); this.延庆县Name = (Pushpin) base.FindName("延庆县Name"); this.Five = (MapLayer) base.FindName("Five"); this.NorthEastBorder = (MapPolygon) base.FindName("NorthEastBorder"); this.NorthWestBorder = (MapPolygon) base.FindName("NorthWestBorder"); this.SouthWestBorder = (MapPolygon) base.FindName("SouthWestBorder"); this.CityCenterBorder = (MapPolygon) base.FindName("CityCenterBorder"); this.SouthEastBorder = (MapPolygon) base.FindName("SouthEastBorder"); this.NorthEast = (MapPolygon) base.FindName("NorthEast"); this.NorthWest = (MapPolygon) base.FindName("NorthWest"); this.SouthWest = (MapPolygon) base.FindName("SouthWest"); this.CityCenter = (MapPolygon) base.FindName("CityCenter"); this.SouthEast = (MapPolygon) base.FindName("SouthEast"); this.NorthEastText = (Pushpin) base.FindName("NorthEastText"); this.NorthWestText = (Pushpin) base.FindName("NorthWestText"); this.CityCenterText = (Pushpin) base.FindName("CityCenterText"); this.SouthEastText = (Pushpin) base.FindName("SouthEastText"); this.SouthWestText = (Pushpin) base.FindName("SouthWestText"); this.MapStations = (MapLayer) base.FindName("MapStations"); this.NavigationCtrl = (BEPB.NavigationCtrl) base.FindName("NavigationCtrl"); this.btn_yx = (ToggleButton) base.FindName("btn_yx"); this.btn_dx = (ToggleButton) base.FindName("btn_dx"); this.btn_sl = (ToggleButton) base.FindName("btn_sl"); this.btnAlertMessage = (Button) base.FindName("btnAlertMessage"); this.wrwtl = (Image) base.FindName("wrwtl"); this.wrwtlGrid = (Grid) base.FindName("wrwtlGrid"); this.wrwtlTitle = (TextBlock) base.FindName("wrwtlTitle"); this.wrwtlRect1 = (Rectangle) base.FindName("wrwtlRect1"); this.wrwtlRect2 = (Rectangle) base.FindName("wrwtlRect2"); this.wrwtlRect3 = (Rectangle) base.FindName("wrwtlRect3"); this.wrwtlRect4 = (Rectangle) base.FindName("wrwtlRect4"); this.wrwtlRect5 = (Rectangle) base.FindName("wrwtlRect5"); this.wrwtlRect6 = (Rectangle) base.FindName("wrwtlRect6"); this.wrwtlData = (TextBlock) base.FindName("wrwtlData"); this.p_bottom_aqi = (Image) base.FindName("p_bottom_aqi"); this.p_bottom_aqiGrid = (StackPanel) base.FindName("p_bottom_aqiGrid"); this.aqiEllipse1 = (Ellipse) base.FindName("aqiEllipse1"); this.aqiEllipse2 = (Ellipse) base.FindName("aqiEllipse2"); this.aqiEllipse3 = (Ellipse) base.FindName("aqiEllipse3"); this.aqiEllipse4 = (Ellipse) base.FindName("aqiEllipse4"); this.aqiEllipse5 = (Ellipse) base.FindName("aqiEllipse5"); this.aqiEllipse6 = (Ellipse) base.FindName("aqiEllipse6"); this.p_aqi_detail = (Image) base.FindName("p_aqi_detail"); this.dgAQIDetailText = (DataGrid) base.FindName("dgAQIDetailText"); this.RenderImagesListBox = (ListBox) base.FindName("RenderImagesListBox"); this.LeftFrame = (Grid) base.FindName("LeftFrame"); this.Expand = (Storyboard) base.FindName("Expand"); this.LeftFrameExpandAnimation = (DoubleAnimation) base.FindName("LeftFrameExpandAnimation"); this.LeftFrameNewExpand = (Storyboard) base.FindName("LeftFrameNewExpand"); this.ForecastExpandAnimation = (DoubleAnimation) base.FindName("ForecastExpandAnimation"); this.ActuallyExpandAnimation = (DoubleAnimation) base.FindName("ActuallyExpandAnimation"); this.QualityExpandAnimation = (DoubleAnimation) base.FindName("QualityExpandAnimation"); this.ActuallyFrame_Old = (Grid) base.FindName("ActuallyFrame_Old"); this.Tab = (TabControl) base.FindName("Tab"); this.AQITabItem = (TabItem) base.FindName("AQITabItem"); this.AQITabItemGrid = (Grid) base.FindName("AQITabItemGrid"); this.dgAQI_Old = (DataGrid) base.FindName("dgAQI_Old"); this.WRWTabItem = (TabItem) base.FindName("WRWTabItem"); this.WRWTabItemGrid = (Grid) base.FindName("WRWTabItemGrid"); this.LeftFrameTopRectangle_Old = (Rectangle) base.FindName("LeftFrameTopRectangle_Old"); this.dgWRW_Old = (DataGrid) base.FindName("dgWRW_Old"); this.lbl_DateTime_Old = (Run) base.FindName("lbl_DateTime_Old"); this.wrwButtonsBorder_Old = (Border) base.FindName("wrwButtonsBorder_Old"); this.wrwButtons_Old = (Canvas) base.FindName("wrwButtons_Old"); this.PM25Storyboard_Old = (Storyboard) base.FindName("PM25Storyboard_Old"); this.PM10Storyboard_Old = (Storyboard) base.FindName("PM10Storyboard_Old"); this.SO2Storyboard_Old = (Storyboard) base.FindName("SO2Storyboard_Old"); this.NO2Storyboard_Old = (Storyboard) base.FindName("NO2Storyboard_Old"); this.O31Storyboard_Old = (Storyboard) base.FindName("O31Storyboard_Old"); this.COStoryboard_Old = (Storyboard) base.FindName("COStoryboard_Old"); this.wrw_pm25_Old = (ToggleButton) base.FindName("wrw_pm25_Old"); this.wrw_pm10_Old = (ToggleButton) base.FindName("wrw_pm10_Old"); this.wrw_so2_Old = (ToggleButton) base.FindName("wrw_so2_Old"); this.wrw_no2_Old = (ToggleButton) base.FindName("wrw_no2_Old"); this.wrw_o31_Old = (ToggleButton) base.FindName("wrw_o31_Old"); this.wrw_co_Old = (ToggleButton) base.FindName("wrw_co_Old"); this.ActuallyFrame = (Border) base.FindName("ActuallyFrame"); this.TabDivActually = (Grid) base.FindName("TabDivActually"); this.ActuallyLeftTabItem = (ColumnDefinition) base.FindName("ActuallyLeftTabItem"); this.ActuallyRightTabItem = (ColumnDefinition) base.FindName("ActuallyRightTabItem"); this.ActuallyPanelHeader = (Grid) base.FindName("ActuallyPanelHeader"); this.btnActuallyExpand = (PushedImageButton) base.FindName("btnActuallyExpand"); this.lbl_DateTime_WRW = (Run) base.FindName("lbl_DateTime_WRW"); this.LeftFrameWrwCollapsedBottomRectangle = (Rectangle) base.FindName("LeftFrameWrwCollapsedBottomRectangle"); this.ActuallyGrid = (Grid) base.FindName("ActuallyGrid"); this.LeftFrameTopRectangle = (Rectangle) base.FindName("LeftFrameTopRectangle"); this.dgWRW = (DataGrid) base.FindName("dgWRW"); this.wrwButtonsBorder = (Border) base.FindName("wrwButtonsBorder"); this.wrwButtons = (Canvas) base.FindName("wrwButtons"); this.PM25Storyboard = (Storyboard) base.FindName("PM25Storyboard"); this.PM10Storyboard = (Storyboard) base.FindName("PM10Storyboard"); this.SO2Storyboard = (Storyboard) base.FindName("SO2Storyboard"); this.NO2Storyboard = (Storyboard) base.FindName("NO2Storyboard"); this.O31Storyboard = (Storyboard) base.FindName("O31Storyboard"); this.COStoryboard = (Storyboard) base.FindName("COStoryboard"); this.wrw_pm25 = (ToggleButton) base.FindName("wrw_pm25"); this.wrw_so2 = (ToggleButton) base.FindName("wrw_so2"); this.wrw_no2 = (ToggleButton) base.FindName("wrw_no2"); this.wrw_o31 = (ToggleButton) base.FindName("wrw_o31"); this.wrw_co = (ToggleButton) base.FindName("wrw_co"); this.wrw_pm10 = (ToggleButton) base.FindName("wrw_pm10"); this.AirQualityFrame = (Border) base.FindName("AirQualityFrame"); this.TabDivQuality = (Grid) base.FindName("TabDivQuality"); this.QualityHeader = (Grid) base.FindName("QualityHeader"); this.QualityLeftTabItem = (ColumnDefinition) base.FindName("QualityLeftTabItem"); this.QualityRightTabItem = (ColumnDefinition) base.FindName("QualityRightTabItem"); this.QualityPanelHeader = (Grid) base.FindName("QualityPanelHeader"); this.btnQualityExpand = (PushedImageButton) base.FindName("btnQualityExpand"); this.QualityGrid = (Grid) base.FindName("QualityGrid"); this.lbl_DateTime_AQI = (Run) base.FindName("lbl_DateTime_AQI"); this.dgAQIGrid = (Grid) base.FindName("dgAQIGrid"); this.dgAQI = (DataGrid) base.FindName("dgAQI"); this.DayForecastPanel = (Border) base.FindName("DayForecastPanel"); this.TabDiv = (Grid) base.FindName("TabDiv"); this.yb_jl4_2 = (Grid) base.FindName("yb_jl4_2"); this.ForecaseLeftTabItem = (ColumnDefinition) base.FindName("ForecaseLeftTabItem"); this.ForecaseRightTabItem = (ColumnDefinition) base.FindName("ForecaseRightTabItem"); this.ForecastPanelHeader = (Grid) base.FindName("ForecastPanelHeader"); this.btnForecastExpand = (PushedImageButton) base.FindName("btnForecastExpand"); this.ForecastGridBorder = (Border) base.FindName("ForecastGridBorder"); this.forecastGrid = (DataGrid) base.FindName("forecastGrid"); this.forecastMsg = (Grid) base.FindName("forecastMsg"); this.ExpandButtonGrid = (Grid) base.FindName("ExpandButtonGrid"); this.Line1 = (Rectangle) base.FindName("Line1"); this.Line2 = (Rectangle) base.FindName("Line2"); this.Line3 = (Rectangle) base.FindName("Line3"); this.Line4 = (Rectangle) base.FindName("Line4"); this.btnExpand = (ToggleButton) base.FindName("btnExpand"); this.btnExpandTooTip = (TextBlock) base.FindName("btnExpandTooTip"); this.FloatWRWPopup = (FloatPopup) base.FindName("FloatWRWPopup"); this.WRWPopupBorder = (Border) base.FindName("WRWPopupBorder"); this.WRWPopupBackground = (Grid) base.FindName("WRWPopupBackground"); this.wrwqp_8 = (Grid) base.FindName("wrwqp_8"); this.wrwqp_9 = (Grid) base.FindName("wrwqp_9"); this.wrwqp_11 = (Grid) base.FindName("wrwqp_11"); this.wrwqp_12 = (Grid) base.FindName("wrwqp_12"); this.WRWChartPanel = (Grid) base.FindName("WRWChartPanel"); this.WRWExpandAnimation = (DoubleAnimation) base.FindName("WRWExpandAnimation"); this.WRWChart = (Chart) base.FindName("WRWChart"); this.WRWChartTitle = (TextBlock) base.FindName("WRWChartTitle"); this.XAxis = (DateTimeAxis) base.FindName("XAxis"); this.YAxis = (LinearAxis) base.FindName("YAxis"); this.WRWChartText = (TextBlock) base.FindName("WRWChartText"); this.wrwqp_16 = (Grid) base.FindName("wrwqp_16"); this.btnWRWExpand = (ToggleButton) base.FindName("btnWRWExpand"); this.FloatAQIPopup = (FloatPopup) base.FindName("FloatAQIPopup"); this.AQIPopupBorder = (Border) base.FindName("AQIPopupBorder"); this.AQIPopupBackground = (Grid) base.FindName("AQIPopupBackground"); this.aqi_26 = (Grid) base.FindName("aqi_26"); this.aqi_27 = (Grid) base.FindName("aqi_27"); this.aqi_28 = (Grid) base.FindName("aqi_28"); this.aqi_29 = (Grid) base.FindName("aqi_29"); this.aqi_30 = (Grid) base.FindName("aqi_30"); this.AQIPanel = (Grid) base.FindName("AQIPanel"); this.AQIExpandAnimation = (DoubleAnimation) base.FindName("AQIExpandAnimation"); this.AQIDataGrid = (DataGrid) base.FindName("AQIDataGrid"); this.AQIPopupBottom = (Grid) base.FindName("AQIPopupBottom"); this.btnAQIExpand = (ToggleButton) base.FindName("btnAQIExpand"); this.FloatForecastPopup = (FloatPopup) base.FindName("FloatForecastPopup"); this.ForecastBorder = (Border) base.FindName("ForecastBorder"); this.yb_2 = (Grid) base.FindName("yb_2"); this.ForecastPopupHeader = (Grid) base.FindName("ForecastPopupHeader"); this.ForecastNight = (Grid) base.FindName("ForecastNight"); this.ForecastNightStationName = (Grid) base.FindName("ForecastNightStationName"); this.yb_30 = (Grid) base.FindName("yb_30"); this.yb_39 = (Grid) base.FindName("yb_39"); this.yb_40 = (Grid) base.FindName("yb_40"); this.ForecastNightConent = (Grid) base.FindName("ForecastNightConent"); this.ForecastDay = (Grid) base.FindName("ForecastDay"); this.ForecastDayStationName = (Grid) base.FindName("ForecastDayStationName"); this.yb_61 = (Grid) base.FindName("yb_61"); this.yb_62 = (Grid) base.FindName("yb_62"); this.yb_65 = (Grid) base.FindName("yb_65"); this.yb_66 = (Grid) base.FindName("yb_66"); this.AlertWnd = (Marquee) base.FindName("AlertWnd"); this.MapRange = (TextBox) base.FindName("MapRange"); this.txtbWebCounts = (TextBlock) base.FindName("txtbWebCounts"); } }
public void InitializeComponent() { if (!this._contentLoaded) { this._contentLoaded = true; Application.LoadComponent(this, new Uri("/TISMonitor;component/MainPage.xaml", UriKind.Relative)); this.busyIndicator = (BusyIndicator) base.FindName("busyIndicator"); this.LayoutRoot = (Grid) base.FindName("LayoutRoot"); this.textBlockApplicationViersion = (TextBlock) base.FindName("textBlockApplicationViersion"); this.CanvasRoot = (Canvas) base.FindName("CanvasRoot"); this.CanvasScale = (ScaleTransform) base.FindName("CanvasScale"); this.CanvasScale2 = (ScaleTransform) base.FindName("CanvasScale2"); } }
/// <summary> /// Performs the relationship query. /// </summary> /// <remarks>Called from the doQuery method.</remarks> private void QueryRelationship() { // Set the popupWindow and subscribe to changes on the popupWindow.IsOpen property popupWindow = PopupInfo.Container as InfoWindow; // Set the attribute grid container and subscripbe to changes on the Visibility property attributeGridContainer = MapApplication.Current.FindObjectInLayout(CONTAINER_NAME) as FrameworkElement; ExtensionMethods.Properties.NotifyOnDependencyPropertyChanged("Visibility", attributeGridContainer, OnDataGridVisibilityChanged); // Listen for selection of a different layer in the map contents. MapApplication.Current.SelectedLayerChanged += Current_SelectedLayerChanged; // Listen for a change in the selected index of the PopupInfo (indicating the popup item has changed). PopupInfo.PropertyChanged += PopupInfo_PropertyChanged; // Locate the grid inside the popup window and remove the RelationshipView. This was initially inserted if // multiple relationships for a feature were detected. Grid infoWindowGrid = Utils.FindChildOfType<Grid>(popupWindow, 3); infoWindowGrid.Children.Remove(RelationshipView); // Set the relationshipID for the QueryTask. int relationshipID = SelectedRelationship.Id; // Get the feature and layer info from the pop-up. The PopupItem property of OnClickPopupInfo // provides information about the item currently shown in the pop-up. Graphic inputFeature = PopupInfo.PopupItem.Graphic; relatesLayer = PopupInfo.PopupItem.Layer as FeatureLayer; // The layer to get related records for. This is used to get the RelationshipID and Query url. // Get the name of the ObjectID field. objectIDField = relatesLayer.LayerInfo.ObjectIdField; // Input parameters for QueryTask RelationshipParameter relationshipParameters = new RelationshipParameter() { ObjectIds = new int[] { (int)inputFeature.Attributes[objectIDField] }, OutFields = new string[] { "*" }, // Return all fields ReturnGeometry = true, // Return the geometry so that features can be displayed on the map if applicable RelationshipId = relationshipID, // Obtain the desired RelationshipID from the Service Details page. Here it takes the first relationship it finds if there is more than one. OutSpatialReference = map.SpatialReference }; // Specify the Feature Service url for the QueryTask. queryTask.Url = relatesLayer.Url; queryTask.ProxyURL = relatesLayer.ProxyUrl; // Events for the successful completion of the RelationshipQuery and for if the Query fails queryTask.ExecuteRelationshipQueryCompleted += QueryTask_ExecuteRelationshipQueryCompleted; queryTask.Failed += QueryTask_Failed; // Execute the Query Task with specified parameters queryTask.ExecuteRelationshipQueryAsync(relationshipParameters); // Create the BusyIndicator and insert into the grid of the popup window. indicator = new BusyIndicator(); indicator.BusyContent = Strings.RetrievingRecords; if (infoWindowGrid != null) { infoWindowGrid.Children.Add(indicator); indicator.IsBusy = true; } }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/bCheck.Admin;component/Controls/ActivityFinderPopup.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtChooseTitle = ((System.Windows.Controls.TextBlock)(this.FindName("txtChooseTitle"))); this.lblErrorMsg = ((System.Windows.Controls.TextBlock)(this.FindName("lblErrorMsg"))); this.SearchHierBorder = ((System.Windows.Controls.Border)(this.FindName("SearchHierBorder"))); this.cboGlbHead = ((C1.Silverlight.C1ComboBox)(this.FindName("cboGlbHead"))); this.cboMap = ((C1.Silverlight.C1ComboBox)(this.FindName("cboMap"))); this.cboGlbFunc = ((C1.Silverlight.C1ComboBox)(this.FindName("cboGlbFunc"))); this.cboGlbBusinessArea = ((C1.Silverlight.C1ComboBox)(this.FindName("cboGlbBusinessArea"))); this.cboFunc = ((C1.Silverlight.C1ComboBox)(this.FindName("cboFunc"))); this.cboSubFunc = ((C1.Silverlight.C1ComboBox)(this.FindName("cboSubFunc"))); this.btnSearch = ((System.Windows.Controls.Border)(this.FindName("btnSearch"))); this.btnReset = ((System.Windows.Controls.Border)(this.FindName("btnReset"))); this.SearchLevel = ((System.Windows.Controls.Border)(this.FindName("SearchLevel"))); this.txtLevel = ((System.Windows.Controls.TextBox)(this.FindName("txtLevel"))); this.cboMapLevel = ((C1.Silverlight.C1ComboBox)(this.FindName("cboMapLevel"))); this.btnSearchBylevel = ((System.Windows.Controls.Border)(this.FindName("btnSearchBylevel"))); this.SearchResultsGrid = ((C1.Silverlight.DataGrid.C1DataGrid)(this.FindName("SearchResultsGrid"))); this.Map1 = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Map1"))); this.Level1 = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Level1"))); this.Title1 = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Title1"))); this.Owner1 = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Owner1"))); this.ID1 = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("ID1"))); this.ActivityText1 = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("ActivityText1"))); this.Control1 = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Control1"))); this.Resource1 = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Resource1"))); this.diagramlink1 = ((C1.Silverlight.DataGrid.DataGridTemplateColumn)(this.FindName("diagramlink1"))); this.SearchSelectedResultsGrid = ((C1.Silverlight.DataGrid.C1DataGrid)(this.FindName("SearchSelectedResultsGrid"))); this.Map = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Map"))); this.Level = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Level"))); this.Title = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Title"))); this.Owner = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Owner"))); this.ID = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("ID"))); this.ActivityText = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("ActivityText"))); this.Control = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Control"))); this.Resource = ((C1.Silverlight.DataGrid.DataGridTextColumn)(this.FindName("Resource"))); this.diagramlink = ((C1.Silverlight.DataGrid.DataGridTemplateColumn)(this.FindName("diagramlink"))); this.btnAddActivity = ((System.Windows.Controls.Border)(this.FindName("btnAddActivity"))); this.btnRemoveActivity = ((System.Windows.Controls.Border)(this.FindName("btnRemoveActivity"))); this.btnSave = ((System.Windows.Controls.Border)(this.FindName("btnSave"))); this.btnCancel = ((System.Windows.Controls.Border)(this.FindName("btnCancel"))); this.BusyIndicator = ((System.Windows.Controls.BusyIndicator)(this.FindName("BusyIndicator"))); }