Example #1
0
 private void CrossIconInput_LostFocus(object sender, RoutedEventArgs e)
 {
     if (CrossIconInput.Text == "")
     {
         CrossIconInput.Text = "" + DisplayHeaders.GetOriginalCrosIcon();
     }
 }
 public TextFramework(int passedTypeWidth, int passedMethodWidth)
 {
     this.udi = new UserDefinedIcons();
     this.udi.SetVertIcon(DisplayHeaders.GetOriginalVertIcon());
     this.udi.SetHoriIcon(DisplayHeaders.GetOriginalHoriIcon());
     this.udi.SetCrosIcon(DisplayHeaders.GetOriginalCrosIcon());
     this.udi.SetTypeWidth(passedTypeWidth);
     this.udi.SetMethodWidth(passedMethodWidth);
 }
 public TextFramework(String passedVertIcon, String passedHoriIcon)
 {
     this.udi = new UserDefinedIcons();
     this.udi.SetVertIcon(passedVertIcon);
     this.udi.SetHoriIcon(passedHoriIcon);
     this.udi.SetCrosIcon(DisplayHeaders.GetOriginalCrosIcon());
     this.udi.SetTypeWidth(DisplayHeaders.GetOriginalTypeWidth());
     this.udi.SetMethodWidth(DisplayHeaders.GetOriginalMethodWidth());
 }
Example #4
0
 private void WidthResetButton_Click(object sender, RoutedEventArgs e)
 {
     VerticalIconInput.Text   = String.Empty;
     VerticalIconInput.Text   = "" + DisplayHeaders.GetOriginalVertIcon();
     HorizontalIconInput.Text = String.Empty;
     HorizontalIconInput.Text = "" + DisplayHeaders.GetOriginalHoriIcon();
     CrossIconInput.Text      = String.Empty;
     CrossIconInput.Text      = "" + DisplayHeaders.GetOriginalCrosIcon();
 }
Example #5
0
 private void CrossIconInput_Initialized(object sender, EventArgs e)
 {
     CrossIconInput.Text = "" + DisplayHeaders.GetOriginalCrosIcon();
 }