コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: AboutForm.cs プロジェクト: nefarius/SCP2vJoy
 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;
 }