Exemple #1
0
 private void MethodWidthInput_LostFocus(object sender, RoutedEventArgs e)
 {
     if (MethodWidthInput.Text == "")
     {
         MethodWidthInput.Text = "" + DisplayHeaders.GetOriginalMethodWidth();
     }
 }
Exemple #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(int passedTypeWidth)
 {
     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(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());
 }
Exemple #5
0
 private void MethodWidthInput_Initialized(object sender, EventArgs e)
 {
     MethodWidthInput.Text = "" + DisplayHeaders.GetOriginalMethodWidth();
 }