public BufferFormatSpecifier(IBufferFormatProcessor viewer, string format) { InitializeComponent(); // WHY THE HELL do you require \r\n in text boxes? formatText.Text = format.Replace("\r\n", "\n").Replace("\n", Environment.NewLine); errors.Visible = false; m_Viewer = viewer; }
public BufferFormatSpecifier(IBufferFormatProcessor viewer, string format) { InitializeComponent(); // WHY THE HELL do you require \r\n in text boxes? formatText.Text = format.Replace("\r\n", "\n").Replace("\n", Environment.NewLine); errors.Visible = false; m_Viewer = viewer; }