forked from PavelTorgashov/FastColoredTextBox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReadOnlyBlocksSample.Designer.cs
92 lines (86 loc) · 4.27 KB
/
ReadOnlyBlocksSample.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
namespace Tester
{
partial class ReadOnlyBlocksSample
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.label2 = new System.Windows.Forms.Label();
this.fctb = new FastColoredTextBoxNS.FastColoredTextBox();
((System.ComponentModel.ISupportInitialize)(this.fctb)).BeginInit();
this.SuspendLayout();
//
// label2
//
this.label2.Dock = System.Windows.Forms.DockStyle.Top;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.label2.Location = new System.Drawing.Point(0, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(491, 63);
this.label2.TabIndex = 5;
this.label2.Text = "The example shows how to create ReadOnly blocks of the text. \r\nFCTB contains some" +
" HTML. The user can to change bodies of tags, but he can not to change <tags>.";
//
// fctb
//
this.fctb.AutoScrollMinSize = new System.Drawing.Size(410, 105);
this.fctb.BackBrush = null;
this.fctb.CommentPrefix = null;
this.fctb.Cursor = System.Windows.Forms.Cursors.IBeam;
this.fctb.DisabledColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
this.fctb.Dock = System.Windows.Forms.DockStyle.Fill;
this.fctb.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
this.fctb.IsReplaceMode = false;
this.fctb.Language = FastColoredTextBoxNS.Language.HTML;
this.fctb.LeftBracket = '<';
this.fctb.LeftBracket2 = '(';
this.fctb.Location = new System.Drawing.Point(0, 63);
this.fctb.Name = "fctb";
this.fctb.Paddings = new System.Windows.Forms.Padding(0);
this.fctb.RightBracket = '>';
this.fctb.RightBracket2 = ')';
this.fctb.SelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
this.fctb.Size = new System.Drawing.Size(491, 349);
this.fctb.TabIndex = 0;
this.fctb.Text = "\r\n<html>\r\n<body>\r\n <h1> Hello, this text is writable! </h1>\r\n <div class=re" +
"adonly_attribute> Writable text </div>\r\n</body>\r\n</html>";
this.fctb.KeyPressing += new System.Windows.Forms.KeyPressEventHandler(this.fctb_KeyPressing);
//
// ReadOnlyBlocksSample
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(491, 412);
this.Controls.Add(this.fctb);
this.Controls.Add(this.label2);
this.Name = "ReadOnlyBlocksSample";
this.Text = "ReadOnlyBlocksSample";
((System.ComponentModel.ISupportInitialize)(this.fctb)).EndInit();
this.ResumeLayout(false);
}
#endregion
private FastColoredTextBoxNS.FastColoredTextBox fctb;
private System.Windows.Forms.Label label2;
}
}