How do we put the log on the shape of WPF?



  • There's a uniform. We need to get the log out of the program. Question, how do you do that? If I tie textBox to a variable type string, the upgrade will reprint the entire line. I don't think it's gonna be very good when there's a lot of lines going on:

    But... ObservableCollection<string> TextBox I won't eat. That wouldn't make any sense. Anything. ItemsControl I don't need to, either, because I need to give the text.

    For the first time, I'm going to get the textBox + string, but I'd like to know about your experience with logging.



  • You can get out. DataGrid♪ There are columns and cell text can be copied.

    There's a lot of options. We can use it. ListBoxYou can. ComboBox♪ The last one takes a little space, but we can open a big list. I can't copy. Unless, when she chooses the line, she'll be copied in the exchange room.

    If you use some not self-writing logger, you can look at their website, you might have examples of a form. Okay. http://nlog-project.org/ I do. http://www.codeproject.com/Articles/30795/C-WPF-Log-Net-Viewer and for WPF and WinForm.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2