Example #1
0
 private void TypeWidthInput_LostFocus(object sender, RoutedEventArgs e)
 {
     if (TypeWidthInput.Text == "")
     {
         TypeWidthInput.Text = "" + DisplayHeaders.GetOriginalTypeWidth();
     }
 }
Example #2
0
 private void IconsResetButton_Click(object sender, RoutedEventArgs e)
 {
     TypeWidthInput.Text   = String.Empty;
     TypeWidthInput.Text   = "" + DisplayHeaders.GetOriginalTypeWidth();
     MethodWidthInput.Text = String.Empty;
     MethodWidthInput.Text = "" + DisplayHeaders.GetOriginalMethodWidth();
 }
 public TextFramework(String passedVertIcon, String passedHoriIcon, String passedCrosIcon)
 {
     this.udi = new UserDefinedIcons();
     this.udi.SetVertIcon(passedVertIcon);
     this.udi.SetHoriIcon(passedHoriIcon);
     this.udi.SetCrosIcon(passedCrosIcon);
     this.udi.SetTypeWidth(DisplayHeaders.GetOriginalTypeWidth());
     this.udi.SetMethodWidth(DisplayHeaders.GetOriginalMethodWidth());
 }
 public TextFramework()
 {
     this.udi = new UserDefinedIcons();
     this.udi.SetVertIcon(DisplayHeaders.GetOriginalVertIcon());
     this.udi.SetHoriIcon(DisplayHeaders.GetOriginalHoriIcon());
     this.udi.SetCrosIcon(DisplayHeaders.GetOriginalCrosIcon());
     this.udi.SetTypeWidth(DisplayHeaders.GetOriginalTypeWidth());
     this.udi.SetMethodWidth(DisplayHeaders.GetOriginalMethodWidth());
 }
Example #5
0
 private void TypeWidthInput_Initialized(object sender, EventArgs e)
 {
     TypeWidthInput.Text = "" + DisplayHeaders.GetOriginalTypeWidth();
 }