/// <summary> /// 向段落添加指定的文字 /// </summary> /// <param name="para">要添加内容的段落</param> /// <param name="text">要添加的文本</param> /// <param name="color">要添加的文本颜色</param> /// <param name="bold">是否为粗体</param> public static void AddRun(this Paragraph para, string text, Color color, bool bold) { Run run = new Run(text); run.Foreground = new SolidColorBrush(color); run.FontWeight = bold ? FontWeights.Bold : FontWeights.Normal; para.Inlines.Add(run); }
/// <summary> /// This method returns a simple paragraph text of header. /// </summary> /// <param name="patternName">The name of pattern we want to display</param> /// <param name="hitStart">Start position of our hit</param> /// <param name="hitEnd">End position of our hit</param> /// <returns>A paragraph of text for our header.</returns> static public Paragraph GetRichHeader (String patternName, int hitStart, int hitEnd) { // Create our bold header bold text. Bold myBold = new Bold(); myBold.Inlines.Add("Sequence Hits Viewer"); Run myRun2 = new Run(); myRun2.Text = "================"; myRun2.Text += NEWLINE; myRun2.Text += NEWLINE; myRun2.Text += "Matched Start Position : [ " + hitStart + " ]"; myRun2.Text += NEWLINE; myRun2.Text += "Matched End Position : [ " + hitEnd + " ]"; myRun2.Text += NEWLINE; myRun2.Text += NEWLINE; myRun2.Text += "================ " + patternName + " ================"; myRun2.Text += NEWLINE; Paragraph Header = new Paragraph(); Header.Inlines.Add(myBold); Header.Inlines.Add(myRun2); return Header; }
void CompilePalLogger_OnError(string errorText, Error e) { Dispatcher.Invoke(() => { Hyperlink errorLink = new Hyperlink(); Run text = new Run(errorText); text.Foreground = e.ErrorColor; errorLink.Inlines.Add(text); errorLink.TargetName = e.ID.ToString(); errorLink.Click += errorLink_Click; if (CompileOutputTextbox.Document.Blocks.Any()) { var lastPara = (Paragraph)CompileOutputTextbox.Document.Blocks.LastBlock; lastPara.Inlines.Add(errorLink); } else { var newPara = new Paragraph(errorLink); CompileOutputTextbox.Document.Blocks.Add(newPara); } CompileOutputTextbox.ScrollToEnd(); }); }
/// <summary> /// Constructor /// </summary> public AboutPage() { InitializeComponent(); // Application version number var ver = Windows.ApplicationModel.Package.Current.Id.Version; var versionRun = string.Format("{0}.{1}.{2}.{3}", ver.Major, ver.Minor, ver.Build, ver.Revision); VersionParagraph.Inlines.Add(versionRun); // Application about text var aboutRun = new Run() { Text = AppResources.AboutPage_AboutRun + "\n" }; AboutParagraph.Inlines.Add(aboutRun); // Link to project homepage var projectRunText = AppResources.AboutPage_ProjectRun; var projectRunTextSpans = projectRunText.Split(new string[] { "{0}" }, StringSplitOptions.None); var projectRunSpan1 = new Run { Text = projectRunTextSpans[0] }; var projectsLink = new Hyperlink(); projectsLink.Inlines.Add(AppResources.AboutPage_Hyperlink_Project); projectsLink.Click += ProjectsLink_Click; projectsLink.Foreground = new SolidColorBrush((Color)Application.Current.Resources["PhoneForegroundColor"]); projectsLink.MouseOverForeground = new SolidColorBrush((Color)Application.Current.Resources["PhoneAccentColor"]); var projectRunSpan2 = new Run { Text = projectRunTextSpans[1] + "\n" }; ProjectParagraph.Inlines.Add(projectRunSpan1); ProjectParagraph.Inlines.Add(projectsLink); ProjectParagraph.Inlines.Add(projectRunSpan2); }
//creates the link for a news link private Hyperlink getNewsLink(string text) { string linkType = text.Substring(3).Split('=')[0]; string linkObject = text.Split('=')[1]; object o = null; string objectText = ""; switch (linkType) { case "airline": o = Airlines.GetAirline(linkObject); objectText = ((Airline)o).Profile.Name; break; case "airport": o = Airports.GetAirport(linkObject); objectText = ((Airport)o).Profile.Name; break; case "airliner": o = Airlines.GetAllAirlines().SelectMany(a => a.Fleet).ToList().Find(f=>f.Airliner.TailNumber== linkObject); objectText = ((FleetAirliner)o).Name; break; } Run run = new Run(objectText); Hyperlink hyperLink = new Hyperlink(run); hyperLink.Tag = o; hyperLink.TextDecorations = TextDecorations.Underline; hyperLink.TargetName = linkType; hyperLink.Click += new RoutedEventHandler(hyperLink_Click); return hyperLink; }
public void AppendLine(string line) { int i = 0; while (i < line.Length) { if (char.IsLetterOrDigit(line[i])) break; ++i; } Run run0 = new Run(String.Format("{0:yyyy-MM-dd HH:mm:ss} ", DateTime.Now)); run0.Foreground = m_foregroundBrushTime; run0.FontFamily = new System.Windows.Media.FontFamily("Consolas"); Run run1 = new Run(line.Substring(0, i)); run1.Foreground = m_foregroundBrushHighlight; Run run2 = new Run(line.Substring(i, line.Length - i)); richTextBoxParagraph.Inlines.Add(run0); richTextBoxParagraph.Inlines.Add(run1); richTextBoxParagraph.Inlines.Add(run2); richTextBoxParagraph.Inlines.Add(new LineBreak()); scrollViewer.ScrollToBottom(); }
private void cmdCreateDynamicDocument_Click(object sender, RoutedEventArgs e) { // Create first part of sentence. Run runFirst = new Run(); runFirst.Text = "Hello world of "; // Create bolded text. Bold bold = new Bold(); Run runBold = new Run(); runBold.Text = "dynamically generated"; bold.Inlines.Add(runBold); // Create last part of sentence. Run runLast = new Run(); runLast.Text = " documents"; // Add three parts of sentence to a paragraph, in order. Paragraph paragraph = new Paragraph(); paragraph.Inlines.Add(runFirst); paragraph.Inlines.Add(bold); paragraph.Inlines.Add(runLast); // Create a document and add this paragraph. FlowDocument document = new FlowDocument(); document.Blocks.Add(paragraph); // Show the document. docViewer.Document = document; }
private void AddInline(TextBlock txtBlock, string text, Color color) { Run run = new Run(); run.Text = text; run.Foreground = new SolidColorBrush(color); txtBlock.Inlines.Add(run); }
public void HandleError(string error, Action toggleControls) { CheckAccessAndInvoke((Action)delegate() { Run text = new Run(); text.Foreground = Brushes.White; text.Text = "\r\r["; ((Paragraph)statusBox.Document.Blocks.LastBlock).Inlines.Add(text); text = new Run(); text.Foreground = Brushes.Red; text.Text = "Error"; ((Paragraph)statusBox.Document.Blocks.LastBlock).Inlines.Add(text); text = new Run(); text.Foreground = Brushes.White; text.Text = "] "; ((Paragraph)statusBox.Document.Blocks.LastBlock).Inlines.Add(text); text = new Run(error + "\r\r"); text.Foreground = Brushes.White; ((Paragraph)statusBox.Document.Blocks.LastBlock).Inlines.Add(text); statusBox.ScrollToEnd(); toggleControls(); }); }
private static void OnCommandChanged(DependencyObject a_dependencyObject, DependencyPropertyChangedEventArgs a_e) { Hyperlink hyperlink = a_dependencyObject as Hyperlink; if (hyperlink == null) throw new InvalidOperationException(@"Hyperlink required"); ICommand oldCommand = a_e.OldValue as ICommand; if (oldCommand != null) { hyperlink.Command = null; } ICommand newCommand = a_e.NewValue as ICommand; if (newCommand != null) { hyperlink.Command = newCommand; ICommandDescriptionProvider descProvider = newCommand as ICommandDescriptionProvider; if (GetSetText(hyperlink) && descProvider != null) { var run = new Run(); BindingOperations.SetBinding( run, Run.TextProperty, new Binding("Text") { Source = descProvider.Description }); hyperlink.Inlines.Clear(); hyperlink.Inlines.Add(run); } } }
public void AddMessage(LogLevel logLevel, string title, string message) { if (Dispatcher.HasShutdownFinished || Dispatcher.HasShutdownStarted) return; Dispatcher.BeginInvoke(new Action(() => { var pr = new Paragraph {Margin = new Thickness(0, 0, 0, 0)}; var titleRun = new Run(title); switch (logLevel) { case LogLevel.Debug: titleRun.Foreground = new SolidColorBrush(Color.FromRgb(70, 70, 70)); break; case LogLevel.Error: titleRun.Foreground = new SolidColorBrush(Color.FromRgb(180, 30, 20)); break; case LogLevel.Fatal: titleRun.Foreground = new SolidColorBrush(Color.FromRgb(220, 50, 40)); break; case LogLevel.Warning: titleRun.Foreground = new SolidColorBrush(Color.FromRgb(250, 250, 18)); break; } pr.Inlines.Add(titleRun); pr.Inlines.Add(new Run(message)); LogDocument.Blocks.Add(pr); })); }
/// <summary> /// Constructor from Article.Section /// </summary> /// <param name="section">Section to be displayed.</param> public IndexArticleSection(Article.Section section) { InitializeComponent(); this.SectionTitle.Text = section.Heading; string[] chunks = section.Text.Split('[', ']'); foreach (string chunk in chunks) { Run contents = new Run(chunk); if (chunk.StartsWith(Article.ArticleIdTag)) { Match m = RegexArticle.Match(chunk); if (m.Success) { contents.Text = m.Groups[ArticleTitleGroup].Value; Hyperlink link = new Hyperlink(contents); link.CommandParameter = uint.Parse(m.Groups[ArticleIdGroup].Value); this.SectionContents.Inlines.Add(link); } else { this.SectionContents.Inlines.Add(contents); } } else { this.SectionContents.Inlines.Add(contents); } } }
public override IList<Run> GetRun(Match regexMatch) { var result = new List<Run>(); var run = new Run(regexMatch.Groups["text"].Value) { FontSize = 16, FontWeight = FontWeights.Bold }; result.Add(run); return result; }
/// <summary> /// Formats the ChatMessage and adds it as a new paragraph to the ChatTextBox. /// </summary> /// <param name="message"></param> public void AddMessage(ChatMessage message) { Paragraph p = new Paragraph(); p.Margin = new Thickness (0, 0, 0, 3); var date = new Run (String.Format ("({0}) ", message.Timestamp.ToLongTimeString ())); date.FontSize = _fontsize - 2; date.FontWeight = FontWeights.Bold; date.Foreground = Brushes.DarkGray; var username = new Run (message.SenderNickname + ": "); username.FontSize = _fontsize; username.FontWeight = FontWeights.Bold; username.Foreground = Brushes.DarkOrchid; var text = new Run (message.Content); text.FontSize = _fontsize; p.Inlines.Add (date); p.Inlines.Add (username); p.Inlines.Add (text); this.Document.Blocks.Add (p); this.ScrollToEnd (); }
private static void OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { RichTextBox richTextBox = d as RichTextBox; if (richTextBox == null) return; HtmlDocument content = (HtmlDocument)e.NewValue; if (content == null) return; var HyperlinkForeground = Application.Current.Resources["DefaultGreenBrush"] as SolidColorBrush; if (HyperlinkForeground == null) HyperlinkForeground = new SolidColorBrush(Color.FromArgb(255, 245, 222, 179)); richTextBox.Blocks.Clear(); var p = new Paragraph(); foreach (var item in content.DocumentNode.ChildNodes) { var r = new Run(); if (item.NodeType == HtmlNodeType.Element) r.Foreground = HyperlinkForeground; else r.Foreground = richTextBox.Foreground; r.Text = item.InnerText; p.Inlines.Add(r); } richTextBox.Blocks.Add(p); }
public static FlowDocument ColorizeXAML( string xamlText, FlowDocument targetDoc ) { XmlTokenizer tokenizer = new XmlTokenizer(); XmlTokenizerMode mode = XmlTokenizerMode.OutsideElement; List<XmlToken> tokens = tokenizer.Tokenize( xamlText, ref mode ); List<string> tokenTexts = new List<string>( tokens.Count ); List<Color> colors = new List<Color>( tokens.Count ); int position = 0; foreach( XmlToken token in tokens ) { string tokenText = xamlText.Substring( position, token.Length ); tokenTexts.Add( tokenText ); Color color = ColorForToken( token, tokenText ); colors.Add( color ); position += token.Length; } Paragraph p = new Paragraph(); // Loop through tokens for( int i = 0; i < tokenTexts.Count; i++ ) { Run r = new Run( tokenTexts[ i ] ); r.Foreground = new SolidColorBrush( colors[ i ] ); p.Inlines.Add( r ); } targetDoc.Blocks.Add( p ); return targetDoc; }
internal static Block ConvertToBlock(object dataContext, object data) { if (data is Block) { return (Block)data; } else if (data is Inline) { return new Paragraph((Inline)data); } else if (data is BindingBase) { Run run = new Run(); if (dataContext is BindingBase) { run.SetBinding(Run.DataContextProperty, (BindingBase)dataContext); } else { run.DataContext = dataContext; } run.SetBinding(Run.TextProperty, (BindingBase)data); return new Paragraph(run); } else { Run run = new Run(); run.Text = (data == null) ? String.Empty : data.ToString(); return new Paragraph(run); } }
public override void DoPrint(string[] lines) { var q = PrinterInfo.GetPrinter(Printer.ShareName); var text = new FormattedDocument(lines, Printer.CharsPerLine).GetFormattedText(); var run = new Run(text) {Background = new SolidColorBrush(Color.FromArgb(255, 255, 255, 255))}; PrintFlowDocument(q, new FlowDocument(new Paragraph(run))); }
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var attr = value as Attribute; if (attr == null) throw new NotSupportedException(); var tb = new TextBlock { TextWrapping = TextWrapping.Wrap }; var txt = new Run(attr.Text); if (attr.Missing) txt.Foreground = Brushes.Red; tb.Inlines.Add(txt); foreach (var i in attr.Deltas) { if (i != 0) { tb.Inlines.Add(" "); txt = new Run(i.ToString("+#;-#;0")); txt.Foreground = (i < 0) ? Brushes.Red : Brushes.Green; tb.Inlines.Add(txt); } } return tb; }
/// <summary> /// Convert "data" to a flow document block object. If data is already a block, the return value is data recast. /// </summary> /// <param name="dataContext">only used when bindable content needs to be created</param> /// <param name="data"></param> /// <returns></returns> public static Block ConvertToBlock(object dataContext, object data) { if (data is Block) return (Block)data; else if (data is Inline) return new Paragraph((Inline)data); else if (data is BindingBase) { var run = new Run(); if (dataContext is BindingBase) run.SetBinding(Run.DataContextProperty, (BindingBase)dataContext); else run.DataContext = dataContext; run.SetBinding(Run.TextProperty, (BindingBase)data); return new Paragraph(run); } else { var run = new Run(); run.Text = (data == null) ? string.Empty : data.ToString(); return new Paragraph(run); } }
private Run CreateFormattedRun(string text) { var run = new Run(text); if (this.bold) { run.FontWeight = FontWeights.Bold; } if (this.italic) { run.FontStyle = FontStyles.Italic; } run.FontFamily = this.fixedPitch ? this.fixedFontFamily : this.normalFontFamily; if (this.reverse) { run.Background = ForegroundBrush; run.Foreground = BackgroundBrush; } else { run.Background = BackgroundBrush; run.Foreground = ForegroundBrush; } return run; }
public static void OnFormattedTextChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) { var textBlock = (TextBlock) sender; var textBlocks = (IEnumerable<DisplayText>)args.NewValue; //Run run = new Run(searchedString) //{ //Background = isHighlight ? this.HighlightBackground : this.Background, //Foreground = isHighlight ? this.HighlightForeground : this.Foreground, // Set the source text with the style which is Italic. // FontStyle = isHighlight ? FontStyles.Italic : FontStyles.Normal, // Set the source text with the style which is Bold. //FontWeight = isHighlight ? FontWeights.Bold : FontWeights.Normal //}; textBlock.Inlines.Clear(); textBlock.Inlines.AddRange(textBlocks.Select(ft => { var run = new Run(ft.Text); var background = GetHighlightBackground(textBlock); if (background != null) run.Background = background; return new Run(ft.Text); })); }
public PopupExceptionWindow() { InitializeComponent(); this.MinWidth = 200; this.MaxWidth = 500; this.LayoutRoot_R1C0.Height = new GridLength(0);//︾︽ //this.txtMessage.MaxWidth = 500; this.richTxtMessage.MaxWidth = 500; this.richTxtMessage.MaxHeight = 100; //this.txtStack.MaxWidth = 500; //this.txtStack.Visibility = Visibility.Collapsed; this.richTxtStack.MaxWidth = 500; this.richTxtStack.MaxHeight = 200; this.richTxtStack.Visibility = Visibility.Collapsed; this.richTxtStack.VerticalScrollBarVisibility = ScrollBarVisibility.Visible; System.Windows.Documents.Run run1 = new Run(); run1.Text = ""; Paragraph Paragraph1 = new Paragraph(); Paragraph1.Inlines.Add(run1); this.richTxtMessage.Blocks.Add(Paragraph1); run1 = new Run(); run1.Text = ""; Paragraph1 = new Paragraph(); Paragraph1.Inlines.Add(run1); this.richTxtStack.Blocks.Add(Paragraph1); }
private void copyLink(object sender, RoutedEventArgs e) { Run testLink = new Run("Test Hyperlink"); Hyperlink myLink = new Hyperlink(testLink); myLink.NavigateUri = new Uri("http://search.msn.com"); Clipboard.SetDataObject(myLink); }
private void PopulateDocument() { // Add some data to the List item. this.listOfFunFacts.FontSize = 14; this.listOfFunFacts.MarkerStyle = TextMarkerStyle.Circle; this.listOfFunFacts.ListItems.Add(new ListItem(new Paragraph(new Run("Fixed documents are for WYSIWYG print ready docs!")))); this.listOfFunFacts.ListItems.Add(new ListItem( new Paragraph(new Run("The API supports tables and embedded figures!")))); this.listOfFunFacts.ListItems.Add(new ListItem( new Paragraph(new Run("Flow documents are read only!")))); this.listOfFunFacts.ListItems.Add(new ListItem(new Paragraph(new Run ("BlockUIContainer allows you to embed WPF controls in the document!") ))); // Now add some data to the Paragraph. // First part of sentence. Run prefix = new Run("This paragraph was generated "); // Middle of paragraph. Bold b = new Bold(); Run infix = new Run("dynamically"); infix.Foreground = Brushes.Red; infix.FontSize = 30; b.Inlines.Add(infix); // Last part of paragraph. Run suffix = new Run(" at runtime!"); // Now add each piece to the collection of inline elements // of the Paragraph. this.paraBodyText.Inlines.Add(prefix); this.paraBodyText.Inlines.Add(infix); this.paraBodyText.Inlines.Add(suffix); }
private void SetListItems() { foreach (XElement clientElement in this.m_ShipmentElement.Element("ClientOrderCollection").Elements("ClientOrder")) { Run nameblock = new Run("Patient: " + clientElement.Element("PatientName").Value + " Birthdate: " + clientElement.Element("PBirthdate").Value); nameblock.FontSize = 12; Paragraph clientParagraph = new Paragraph(nameblock); clientParagraph.Padding = new Thickness(50, 10, 0, 10); ListItem listitem = new ListItem(clientParagraph); this.DetailsList.ListItems.Add(listitem); foreach (XElement specimenElement in clientElement.Element("ClientOrderDetailCollection").Elements("ClientOrderDetail")) { Run lineOne = new Run(specimenElement.Element("ContainerId").Value + " Collected: " + specimenElement.Element("CollectionDate").Value); lineOne.FontSize = 12; Paragraph paragraphOne = new Paragraph(lineOne); paragraphOne.Padding = new Thickness(55, 10, 0, 10); ListItem listOne = new ListItem(paragraphOne); this.DetailsList.ListItems.Add(listOne); Run lineTwo = new Run(specimenElement.Element("Description").Value + " By: " + specimenElement.Element("OrderedBy").Value); lineTwo.FontSize = 12; Paragraph paragraphTwo = new Paragraph(lineTwo); paragraphTwo.Padding = new Thickness(55, 10, 0, 10); ListItem listTwo = new ListItem(paragraphTwo); this.DetailsList.ListItems.Add(listTwo); } } }
private static void AddTextToRTF(FlowDocument myFlowDoc, string text) { var para = new Paragraph(); var run = new Run(text); para.Inlines.Add(run); myFlowDoc.Blocks.Add(para); }
private void AddBlock(Run run) { var p = new Paragraph(); p.TextAlignment = TextAlignment.Left; p.Inlines.Add(run); _doc.Blocks.Add(p); }
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { string convertType = parameter as string; if (convertType == null || value == null) return null; if (convertType == "Name" || convertType == "Description") { try { return Application.Current.Resources[string.Format("Skill.{0}.{1}", value.ToString(), convertType)]; } catch (Exception) { Trace.TraceWarning("Cannot find skill {0}'s {1}", value.ToString(), convertType.ToLower()); } } else if (convertType == "Usage") { string usage = Application.Current.TryFindResource(string.Format("Skill.{0}.Usage", value.ToString())) as string; if (usage == null) return null; else { TextBlock block = new TextBlock(); block.TextWrapping = TextWrapping.Wrap; Run run1 = new Run(Application.Current.Resources["Translation.Usage"] as string); run1.Foreground = new SolidColorBrush(Colors.Yellow); Run run2 = new Run(usage); block.Inlines.Add(run1); block.Inlines.Add(new LineBreak()); block.Inlines.Add(run2); return block; } } return null; }
protected override void OnRender(DrawingContext drawingContext) { if (FormattedText == null) { base.OnRender(drawingContext); return; } _textBlock.Inlines.Clear(); _textBlock.Inlines.AddRange(FormattedText.Select(ft => { var run = new Run(ft.Text); if (ft.Highlight && HighlightEnabled) { if (HighlightBackground != null) run.Background = HighlightBackground; if (HighlightForeground != null) run.Foreground = HighlightForeground; run.FontWeight = FontWeights.Bold; } return run; })); base.OnRender(drawingContext); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/FBReader.App;component/Views/Controls/SearchResultItemControl.xaml", System.UriKind.Relative)); this.Text = ((System.Windows.Controls.RichTextBox)(this.FindName("Text"))); this.TextBefore = ((System.Windows.Documents.Run)(this.FindName("TextBefore"))); this.SearchedText = ((System.Windows.Documents.Run)(this.FindName("SearchedText"))); this.TextAfter = ((System.Windows.Documents.Run)(this.FindName("TextAfter"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.IMG_Before = ((System.Windows.Controls.Image)(target)); return; case 2: this.IMG_After = ((System.Windows.Controls.Image)(target)); return; case 3: this.Run_BeforeSize = ((System.Windows.Documents.Run)(target)); return; case 4: this.Run_Quality = ((System.Windows.Documents.Run)(target)); return; case 5: this.Slider_Quality = ((Good_Teacher.Controls.Special.SliderFinalChange)(target)); return; case 6: this.Run_OrSize = ((System.Windows.Documents.Run)(target)); return; case 7: this.Run_Size = ((System.Windows.Documents.Run)(target)); return; case 8: this.Slider_Size = ((Good_Teacher.Controls.Special.SliderFinalChange)(target)); return; case 9: this.Run_AfterSize = ((System.Windows.Documents.Run)(target)); return; case 10: #line 75 "..\..\..\..\Windows\Special\Window_ImageCompress.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonOverwrite_Click); #line default #line hidden return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Talentos_Master;component/frmRecomendacionesFinales.xaml", System.UriKind.Relative)); this.txtCerrarSession = ((System.Windows.Controls.TextBlock)(this.FindName("txtCerrarSession"))); this.txtfullname = ((System.Windows.Documents.Run)(this.FindName("txtfullname"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.rowPanel = ((System.Windows.Controls.RowDefinition)(this.FindName("rowPanel"))); this.brInstruc = ((System.Windows.Controls.Border)(this.FindName("brInstruc"))); this.Instruccion = ((System.Windows.Controls.StackPanel)(this.FindName("Instruccion"))); this.brHeader = ((System.Windows.Controls.Border)(this.FindName("brHeader"))); this.brInstruc1 = ((System.Windows.Controls.Border)(this.FindName("brInstruc1"))); this.txtInstruccion1 = ((System.Windows.Controls.TextBlock)(this.FindName("txtInstruccion1"))); this.line1 = ((System.Windows.Shapes.Line)(this.FindName("line1"))); this.brInstruc2 = ((System.Windows.Controls.Border)(this.FindName("brInstruc2"))); this.txtInstruccion2 = ((System.Windows.Controls.TextBlock)(this.FindName("txtInstruccion2"))); this.Line2 = ((System.Windows.Shapes.Line)(this.FindName("Line2"))); this.brInstrcResult = ((System.Windows.Controls.Border)(this.FindName("brInstrcResult"))); this.txtInstruccionResult = ((System.Windows.Controls.TextBlock)(this.FindName("txtInstruccionResult"))); this.Line3 = ((System.Windows.Shapes.Line)(this.FindName("Line3"))); this.brInstruccion3 = ((System.Windows.Controls.Border)(this.FindName("brInstruccion3"))); this.txtInstruccion3 = ((System.Windows.Controls.TextBlock)(this.FindName("txtInstruccion3"))); this.brpanel = ((System.Windows.Controls.Border)(this.FindName("brpanel"))); this.canvTalentos = ((System.Windows.Controls.Canvas)(this.FindName("canvTalentos"))); this.txtIndicaciones = ((System.Windows.Controls.TextBlock)(this.FindName("txtIndicaciones"))); this.btnCerrarJuego = ((System.Windows.Controls.Border)(this.FindName("btnCerrarJuego"))); this.talento1 = ((Talentos_Master.ucTalento)(this.FindName("talento1"))); this.talento2 = ((Talentos_Master.ucTalento)(this.FindName("talento2"))); this.talento3 = ((Talentos_Master.ucTalento)(this.FindName("talento3"))); this.talento4 = ((Talentos_Master.ucTalento)(this.FindName("talento4"))); this.talento5 = ((Talentos_Master.ucTalento)(this.FindName("talento5"))); this.talentosListBox = ((System.Windows.Controls.ListBox)(this.FindName("talentosListBox"))); this.talento6 = ((Talentos_Master.ucTalento)(this.FindName("talento6"))); this.talento7 = ((Talentos_Master.ucTalento)(this.FindName("talento7"))); this.talento8 = ((Talentos_Master.ucTalento)(this.FindName("talento8"))); this.talento9 = ((Talentos_Master.ucTalento)(this.FindName("talento9"))); this.talento10 = ((Talentos_Master.ucTalento)(this.FindName("talento10"))); this.talentosListBox2 = ((System.Windows.Controls.ListBox)(this.FindName("talentosListBox2"))); this.txtVolverResultados = ((System.Windows.Controls.TextBlock)(this.FindName("txtVolverResultados"))); this.canvDetalle = ((System.Windows.Controls.Canvas)(this.FindName("canvDetalle"))); this.grDetalle = ((System.Windows.Controls.Grid)(this.FindName("grDetalle"))); this.txtNombreTalento = ((System.Windows.Controls.TextBlock)(this.FindName("txtNombreTalento"))); this.txtVolver = ((System.Windows.Controls.TextBlock)(this.FindName("txtVolver"))); this.imgTalento = ((System.Windows.Controls.Image)(this.FindName("imgTalento"))); this.lnSeparacion = ((System.Windows.Shapes.Line)(this.FindName("lnSeparacion"))); this.txtDescripcion = ((System.Windows.Documents.Run)(this.FindName("txtDescripcion"))); }
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.BackgroundBorder = ((System.Windows.Controls.Border)(target)); return; case 3: this.TeacherImageBlurred1 = ((System.Windows.Controls.Border)(target)); return; case 4: this.TeacherImageBlurred2 = ((System.Windows.Controls.Border)(target)); return; case 5: this.ProfileGrid = ((System.Windows.Controls.Grid)(target)); return; case 6: this.ProfileGridBackground = ((System.Windows.Controls.Border)(target)); return; case 7: this.stackPhotoAndNavigator = ((System.Windows.Controls.StackPanel)(target)); return; case 8: this.txtTeacherName = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.txtDesignation = ((System.Windows.Controls.TextBlock)(target)); return; case 10: this.txtEmail = ((System.Windows.Documents.Run)(target)); return; case 11: this.linkBack = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txbDayTime = ((System.Windows.Documents.Run)(target)); return; case 2: this.txbGenderHi = ((System.Windows.Documents.Run)(target)); return; case 3: this.txbName = ((System.Windows.Documents.Run)(target)); return; case 4: this.imgUserImage = ((System.Windows.Controls.Image)(target)); return; case 5: #line 34 "..\..\..\pg\CompetitorMenuPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.click_MyProfile); #line default #line hidden return; case 6: #line 35 "..\..\..\pg\CompetitorMenuPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.click_MySkills); #line default #line hidden return; case 7: #line 36 "..\..\..\pg\CompetitorMenuPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.click_MyResults); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.rtb = ((System.Windows.Controls.RichTextBox)(target)); return; case 2: this.paragraph = ((System.Windows.Documents.Paragraph)(target)); return; case 3: this.txt = ((System.Windows.Documents.Run)(target)); return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Talentos_Master;component/frmRadar.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.textInfo = ((System.Windows.Documents.Run)(this.FindName("textInfo"))); this.txtTitle1 = ((System.Windows.Documents.Run)(this.FindName("txtTitle1"))); this.txtTitle2 = ((System.Windows.Documents.Run)(this.FindName("txtTitle2"))); this.canv = ((System.Windows.Controls.Canvas)(this.FindName("canv"))); this.MyChart = ((Visifire.Charts.Chart)(this.FindName("MyChart"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.cbxEvent = ((System.Windows.Controls.ComboBox)(target)); return; case 2: this.cbxSkills = ((System.Windows.Controls.ComboBox)(target)); return; case 3: this.tbxSponsor = ((System.Windows.Controls.TextBox)(target)); return; case 4: #line 23 "..\..\..\pg\SponsorshipViewPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_Search); #line default #line hidden return; case 5: #line 24 "..\..\..\pg\SponsorshipViewPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_Export); #line default #line hidden return; case 6: this.txbTotalRecords = ((System.Windows.Documents.Run)(target)); return; case 7: this.txbTotalAmount = ((System.Windows.Documents.Run)(target)); return; case 8: this.lv = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.phraseTxt = ((System.Windows.Controls.TextBox)(target)); return; case 2: this.runSeatchBtn = ((System.Windows.Controls.Button)(target)); #line 25 "..\..\MainWindow.xaml" this.runSeatchBtn.Click += new System.Windows.RoutedEventHandler(this.runSeatchBtn_Click); #line default #line hidden return; case 3: this.folderSelectBtn = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\MainWindow.xaml" this.folderSelectBtn.Click += new System.Windows.RoutedEventHandler(this.folderSelectBtn_Click); #line default #line hidden return; case 4: this.dataGridViev = ((System.Windows.Controls.DataGrid)(target)); #line 30 "..\..\MainWindow.xaml" this.dataGridViev.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGridViev_MouseDoubleClick); #line default #line hidden return; case 5: this.richTextBox1 = ((System.Windows.Controls.RichTextBox)(target)); return; case 6: this.richTextBoxRun = ((System.Windows.Documents.Run)(target)); return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Talentos_Master;component/frmAgradecimientoFinal.xaml", System.UriKind.Relative)); this.txtCerrarSession = ((System.Windows.Controls.TextBlock)(this.FindName("txtCerrarSession"))); this.txtfullname = ((System.Windows.Documents.Run)(this.FindName("txtfullname"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.canvasParte2 = ((System.Windows.Controls.Canvas)(this.FindName("canvasParte2"))); this.txtReiniciarJuego = ((System.Windows.Controls.TextBlock)(this.FindName("txtReiniciarJuego"))); this.txtAgradecimiento = ((System.Windows.Controls.TextBlock)(this.FindName("txtAgradecimiento"))); this.txtReferencias = ((System.Windows.Controls.TextBlock)(this.FindName("txtReferencias"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Healthcare;component/InfoDetailPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TBTitle = ((System.Windows.Controls.TextBlock)(this.FindName("TBTitle"))); this.TBTime = ((System.Windows.Controls.TextBlock)(this.FindName("TBTime"))); this.TBCount = ((System.Windows.Documents.Run)(this.FindName("TBCount"))); this.TBRcount = ((System.Windows.Documents.Run)(this.FindName("TBRcount"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.wb = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("wb"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txbName = ((System.Windows.Documents.Run)(target)); return; case 2: this.txbGender = ((System.Windows.Documents.Run)(target)); return; case 3: this.txbIdNumber = ((System.Windows.Documents.Run)(target)); return; case 4: this.txbProvinceName = ((System.Windows.Documents.Run)(target)); return; case 5: this.txbProvinceCode = ((System.Windows.Documents.Run)(target)); return; case 6: this.txbOrganization = ((System.Windows.Documents.Run)(target)); return; case 7: this.txbEvent = ((System.Windows.Documents.Run)(target)); return; case 8: this.txbSkills = ((System.Windows.Documents.Run)(target)); return; case 9: this.txbCompNumber = ((System.Windows.Documents.Run)(target)); return; case 10: this.txbResult = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.PopWin = ((WpfApplication1.PopUP)(target)); #line 4 "..\..\PopUP.xaml" this.PopWin.Loaded += new System.Windows.RoutedEventHandler(this.PopWin_Loaded); #line default #line hidden return; case 2: this.tt = ((System.Windows.Media.TranslateTransform)(target)); return; case 3: this.lblTitle = ((System.Windows.Controls.Label)(target)); return; case 4: this.btnClose = ((System.Windows.Controls.Button)(target)); #line 60 "..\..\PopUP.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; case 5: this.txtInfo = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.txtSubject = ((System.Windows.Documents.Run)(target)); return; case 7: this.txtContent = ((System.Windows.Documents.Run)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.step1 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 2: this.selectAppFile = ((System.Windows.Controls.Button)(target)); #line 48 "..\..\addAppItem.xaml" this.selectAppFile.Click += new System.Windows.RoutedEventHandler(this.selectFile_Click); #line default #line hidden return; case 3: this.fileName = ((System.Windows.Documents.Run)(target)); return; case 4: this.step2 = ((MahApps.Metro.Controls.MetroTabItem)(target)); return; case 5: this.appName = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.appDescription = ((System.Windows.Controls.TextBox)(target)); return; case 7: #line 129 "..\..\addAppItem.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.addAPPItem_Click); #line default #line hidden return; case 8: #line 131 "..\..\addAppItem.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.closeForm_Click); #line default #line hidden return; } this._contentLoaded = true; }
public void AddFormattedText(string txt, object txtColor, bool isBold = false, bool isUnderline = false) // System.Drawing.Brush { System.Windows.Documents.Run formattedTxt = new System.Windows.Documents.Run(txt); if (isBold) { formattedTxt.FontWeight = FontWeights.Bold; } if (isUnderline) { formattedTxt.TextDecorations = TextDecorations.Underline; } if (txtColor != null) { formattedTxt.Foreground = (SolidColorBrush)txtColor; } mTextBlock.Inlines.Add(formattedTxt); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.GridSplitterRow = ((System.Windows.Controls.RowDefinition)(target)); return; case 2: this.GridSplitterRow2 = ((System.Windows.Controls.RowDefinition)(target)); return; case 3: this.groupBox = ((System.Windows.Controls.GroupBox)(target)); return; case 4: this.Resources = ((System.Windows.Controls.WrapPanel)(target)); return; case 5: this.Clear = ((System.Windows.Controls.Button)(target)); return; case 6: this.tabControl = ((System.Windows.Controls.TabControl)(target)); return; case 7: this.richTextBox = ((System.Windows.Controls.RichTextBox)(target)); return; case 8: this.Paragraph = ((System.Windows.Documents.Paragraph)(target)); return; case 9: this.CompiledDSC = ((System.Windows.Documents.Run)(target)); return; case 10: this.groupBox2 = ((System.Windows.Controls.GroupBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "SittingStandingPage.xaml" ((KinectPT.SittingStandingPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded); #line default #line hidden #line 12 "SittingStandingPage.xaml" ((KinectPT.SittingStandingPage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded); #line default #line hidden return; case 2: #line 22 "SittingStandingPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_Back); #line default #line hidden return; case 3: this.pageTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.SittingCount = ((System.Windows.Documents.Run)(target)); return; case 5: this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target)); return; case 6: this.Instructions = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.emailTB = ((System.Windows.Documents.Run)(target)); return; case 2: this.numeTB = ((System.Windows.Documents.Run)(target)); return; case 3: this.prenumeTB = ((System.Windows.Documents.Run)(target)); return; case 4: this.salaryTB = ((System.Windows.Documents.Run)(target)); return; case 5: this.salesTB = ((System.Windows.Documents.Run)(target)); return; case 6: this.BackBT = ((System.Windows.Controls.Button)(target)); #line 85 "..\..\AccInfo.xaml" this.BackBT.Click += new System.Windows.RoutedEventHandler(this.Close_Click); #line default #line hidden return; case 7: this.ChangePB = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\AccInfo.xaml" this.ChangePB.Click += new System.Windows.RoutedEventHandler(this.ChangePB_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AddORFeomeButton = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\..\Pages\CCranking.xaml" this.AddORFeomeButton.Click += new System.Windows.RoutedEventHandler(this.AddORFeomeButton_Click); #line default #line hidden return; case 2: this.ORFeomeInfoRichTextBox = ((System.Windows.Controls.RichTextBox)(target)); return; case 3: this.InfoRichTextBox = ((System.Windows.Documents.Run)(target)); return; case 4: this.CCrankButton = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\..\Pages\CCranking.xaml" this.CCrankButton.Click += new System.Windows.RoutedEventHandler(this.CCrankButton_Click); #line default #line hidden return; case 5: this.CPSRichTextBox = ((System.Windows.Controls.RichTextBox)(target)); return; case 6: this.CCRankInfoRichTextBox = ((System.Windows.Documents.Run)(target)); return; case 7: this.CCProgressBar = ((System.Windows.Controls.ProgressBar)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.userName = ((System.Windows.Documents.Run)(target)); return; case 2: this.textBox_Email = ((WPF_Redux_Client.CustomControls.TextBoxWithPlaceHolder)(target)); return; case 3: this.PassBox = ((WPF_Redux_Client.CustomControls.TextBoxWithPlaceHolder)(target)); return; case 4: #line 130 "..\..\..\Pages\LoginPage.xaml" ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TextBlock_MouseDown_1); #line default #line hidden return; case 5: #line 146 "..\..\..\Pages\LoginPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 6: #line 153 "..\..\..\Pages\LoginPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txbDayTime = ((System.Windows.Documents.Run)(target)); return; case 2: this.txbGenderHi = ((System.Windows.Documents.Run)(target)); return; case 3: this.txbName = ((System.Windows.Documents.Run)(target)); return; case 4: #line 24 "..\..\..\pg\CoordinatorMenuPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.click_VolunteerManagment); #line default #line hidden return; case 5: #line 25 "..\..\..\pg\CoordinatorMenuPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.click_SponsorshipManagement); #line default #line hidden return; case 6: #line 26 "..\..\..\pg\CoordinatorMenuPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_CompetitionService); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.imgUCImage = ((System.Windows.Controls.Image)(target)); return; case 2: this.txbUCUserName = ((System.Windows.Documents.Run)(target)); return; case 3: this.txbUCProvinceName = ((System.Windows.Documents.Run)(target)); return; } this._contentLoaded = true; }
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.logoutTxt = ((System.Windows.Documents.Run)(target)); return; case 3: this.NavigationItemsControl = ((System.Windows.Controls.ItemsControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Btn_Close = ((System.Windows.Controls.Button)(target)); return; case 2: this.Product_Info = ((System.Windows.Documents.Run)(target)); return; case 3: this.Product_Desc = ((System.Windows.Documents.Run)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.statistics = ((System.Windows.Controls.Grid)(target)); return; case 2: this.textHoney = ((System.Windows.Documents.Run)(target)); return; case 3: this.textNectar = ((System.Windows.Documents.Run)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.txbDayTime = ((System.Windows.Documents.Run)(target)); return; case 2: this.txbGenderHi = ((System.Windows.Documents.Run)(target)); return; case 3: this.txbName = ((System.Windows.Documents.Run)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.lineCount = ((System.Windows.Documents.Run)(target)); return; case 2: this.fileName = ((System.Windows.Documents.Run)(target)); return; case 3: this.CloseBtn = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.versionTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 2: this.startPageItems = ((System.Windows.Controls.ItemsControl)(target)); return; case 3: this.copyrightText = ((System.Windows.Documents.Run)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.R_Percentage = ((System.Windows.Documents.Run)(target)); return; case 2: this.PB_Download = ((System.Windows.Controls.ProgressBar)(target)); return; case 3: this.LB_Size = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Chicago%20Code%20Camp;component/Views/Presenter.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.FirstName = ((System.Windows.Controls.TextBlock)(this.FindName("FirstName"))); this.LastName = ((System.Windows.Controls.TextBlock)(this.FindName("LastName"))); this.Avatar = ((System.Windows.Controls.Image)(this.FindName("Avatar"))); this.Twitter = ((System.Windows.Controls.TextBlock)(this.FindName("Twitter"))); this.TwitterImg = ((System.Windows.Controls.Image)(this.FindName("TwitterImg"))); this.Website = ((System.Windows.Controls.TextBlock)(this.FindName("Website"))); this.Bio = ((System.Windows.Documents.Run)(this.FindName("Bio"))); this.progMain = ((System.Windows.Controls.ProgressBar)(this.FindName("progMain"))); }