示例#1
0
 private void VerticalIconInput_LostFocus(object sender, RoutedEventArgs e)
 {
     if (VerticalIconInput.Text == "")
     {
         VerticalIconInput.Text = "" + DisplayHeaders.GetOriginalVertIcon();
     }
 }
 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);
 }
示例#3
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();
 }
示例#4
0
 private void VerticalIconInput_Initialized(object sender, EventArgs e)
 {
     VerticalIconInput.Text = "" + DisplayHeaders.GetOriginalVertIcon();
 }