Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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;
        }