private TextBox CreateTextBox(int x, int y, int width, string text, TabPage parDestination) { MouseTransparentTextBox boxParam = new MouseTransparentTextBox(); boxParam.ReadOnly = true; boxParam.Width = width; boxParam.Text = text.Replace("{NL}", Environment.NewLine); boxParam.Location = new Point(x, y); boxParam.Cursor = this.Cursor; parDestination.Controls.Add(boxParam); return(boxParam); }
private TextBox CreateTextBox(int x, int y, int width, String text, TabPage parDestination) { MouseTransparentTextBox boxParam = new MouseTransparentTextBox(); boxParam.ReadOnly = true; boxParam.Width = width; boxParam.Text = text.Replace("{NL}", Environment.NewLine); boxParam.Location = new Point(x, y); boxParam.Cursor = this.Cursor; parDestination.Controls.Add(boxParam); return boxParam; }