예제 #1
0
 /// <summary>
 /// DrawTextBlocks Method for drawing the textblocks of the tab
 /// </summary>
 public override void DrawTextBlocks()
 {
     TextBlocks = new GridTextBlock[] { new GridTextBlock(740, 230, new Thickness(10, 320, 10, 10)) };
     foreach (GridTextBlock textBlock in TextBlocks)
     {
         ParentGrid.Children.Add(textBlock.TextBlock);
     }
 }
예제 #2
0
 /// <summary>
 /// DrawTextBlocks Method for drawing the textblocks of the tab
 /// </summary>
 public override void DrawTextBlocks()
 {
     TextBlocks = new GridTextBlock[] { new GridTextBlock(740, 40, new Thickness(10, 55, 10, 470)) };
     TextBlocks[0].TextBlock.Text = "f(x) = Sin(x)";
     foreach (GridTextBlock textBlock in TextBlocks)
     {
         ParentGrid.Children.Add(textBlock.TextBlock);
     }
 }