32 |
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); |
33 |
|
this.mnuItemSave = new System.Windows.Forms.ToolStripButton(); |
34 |
|
this.mnuItemOpen = new System.Windows.Forms.ToolStripButton(); |
35 |
– |
this.ScracthPadSaver = new System.Windows.Forms.SaveFileDialog(); |
36 |
– |
this.ScracthPadLoader = new System.Windows.Forms.OpenFileDialog(); |
37 |
– |
this.txtScratchPad = new System.Windows.Forms.RichTextBox(); |
35 |
|
this.mnuItemUndo = new System.Windows.Forms.ToolStripButton(); |
36 |
|
this.mnuItemRedo = new System.Windows.Forms.ToolStripButton(); |
40 |
– |
this.mnuItemPaste = new System.Windows.Forms.ToolStripButton(); |
41 |
– |
this.mnuItemCopy = new System.Windows.Forms.ToolStripButton(); |
37 |
|
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); |
38 |
+ |
this.mnuItemCopy = new System.Windows.Forms.ToolStripButton(); |
39 |
+ |
this.mnuItemPaste = new System.Windows.Forms.ToolStripButton(); |
40 |
+ |
this.ScracthPadSaver = new System.Windows.Forms.SaveFileDialog(); |
41 |
+ |
this.ScracthPadLoader = new System.Windows.Forms.OpenFileDialog(); |
42 |
+ |
this.txtScratchPad = new System.Windows.Forms.RichTextBox(); |
43 |
|
this.toolStrip1.SuspendLayout(); |
44 |
|
this.SuspendLayout(); |
45 |
|
// |
79 |
|
this.mnuItemOpen.Text = "&Open"; |
80 |
|
this.mnuItemOpen.Click += new System.EventHandler(this.mnuItemOpen_Click); |
81 |
|
// |
82 |
– |
// ScracthPadSaver |
83 |
– |
// |
84 |
– |
this.ScracthPadSaver.DefaultExt = "txt"; |
85 |
– |
this.ScracthPadSaver.Filter = "Text Files|*.txt|All Files|*.*"; |
86 |
– |
this.ScracthPadSaver.SupportMultiDottedExtensions = true; |
87 |
– |
this.ScracthPadSaver.Title = "Please choose the fail to save"; |
88 |
– |
// |
89 |
– |
// ScracthPadLoader |
90 |
– |
// |
91 |
– |
this.ScracthPadLoader.DefaultExt = "txt"; |
92 |
– |
this.ScracthPadLoader.Filter = "Text Files|*.txt|All Files|*.*"; |
93 |
– |
this.ScracthPadLoader.SupportMultiDottedExtensions = true; |
94 |
– |
this.ScracthPadLoader.Title = "Please choose the file to load"; |
95 |
– |
// |
96 |
– |
// txtScratchPad |
97 |
– |
// |
98 |
– |
this.txtScratchPad.Dock = System.Windows.Forms.DockStyle.Fill; |
99 |
– |
this.txtScratchPad.Font = new System.Drawing.Font("Segoe UI Mono", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
100 |
– |
this.txtScratchPad.ForeColor = System.Drawing.SystemColors.GrayText; |
101 |
– |
this.txtScratchPad.Location = new System.Drawing.Point(0, 25); |
102 |
– |
this.txtScratchPad.Name = "txtScratchPad"; |
103 |
– |
this.txtScratchPad.Size = new System.Drawing.Size(743, 362); |
104 |
– |
this.txtScratchPad.TabIndex = 1; |
105 |
– |
this.txtScratchPad.Text = "This is a test"; |
106 |
– |
this.txtScratchPad.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtScratchPad_KeyDown); |
107 |
– |
this.txtScratchPad.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txtScratchPad_MouseDown); |
108 |
– |
// |
82 |
|
// mnuItemUndo |
83 |
|
// |
84 |
|
this.mnuItemUndo.BackColor = System.Drawing.SystemColors.ControlLight; |
99 |
|
this.mnuItemRedo.Text = "&Redo"; |
100 |
|
this.mnuItemRedo.Click += new System.EventHandler(this.mnuItemRedo_Click); |
101 |
|
// |
102 |
< |
// mnuItemPaste |
102 |
> |
// toolStripButton2 |
103 |
|
// |
104 |
< |
this.mnuItemPaste.BackColor = System.Drawing.SystemColors.ControlLight; |
105 |
< |
this.mnuItemPaste.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemPaste.Image"))); |
106 |
< |
this.mnuItemPaste.ImageTransparentColor = System.Drawing.Color.Magenta; |
107 |
< |
this.mnuItemPaste.Name = "mnuItemPaste"; |
108 |
< |
this.mnuItemPaste.Size = new System.Drawing.Size(55, 22); |
109 |
< |
this.mnuItemPaste.Text = "&Paste"; |
110 |
< |
this.mnuItemPaste.Click += new System.EventHandler(this.mnuItemPaste_Click); |
104 |
> |
this.toolStripButton2.BackColor = System.Drawing.SystemColors.ControlLight; |
105 |
> |
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); |
106 |
> |
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; |
107 |
> |
this.toolStripButton2.Name = "toolStripButton2"; |
108 |
> |
this.toolStripButton2.Size = new System.Drawing.Size(54, 22); |
109 |
> |
this.toolStripButton2.Text = "&Clear"; |
110 |
> |
this.toolStripButton2.Click += new System.EventHandler(this.mnuItemClear_Click); |
111 |
|
// |
112 |
|
// mnuItemCopy |
113 |
|
// |
119 |
|
this.mnuItemCopy.Text = "C&opy"; |
120 |
|
this.mnuItemCopy.Click += new System.EventHandler(this.mnuItemCopy_Click); |
121 |
|
// |
122 |
< |
// toolStripButton2 |
122 |
> |
// mnuItemPaste |
123 |
|
// |
124 |
< |
this.toolStripButton2.BackColor = System.Drawing.SystemColors.ControlLight; |
125 |
< |
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); |
126 |
< |
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; |
127 |
< |
this.toolStripButton2.Name = "toolStripButton2"; |
128 |
< |
this.toolStripButton2.Size = new System.Drawing.Size(54, 22); |
129 |
< |
this.toolStripButton2.Text = "&Clear"; |
130 |
< |
this.toolStripButton2.Click += new System.EventHandler(this.mnuItemClear_Click); |
124 |
> |
this.mnuItemPaste.BackColor = System.Drawing.SystemColors.ControlLight; |
125 |
> |
this.mnuItemPaste.Image = ((System.Drawing.Image)(resources.GetObject("mnuItemPaste.Image"))); |
126 |
> |
this.mnuItemPaste.ImageTransparentColor = System.Drawing.Color.Magenta; |
127 |
> |
this.mnuItemPaste.Name = "mnuItemPaste"; |
128 |
> |
this.mnuItemPaste.Size = new System.Drawing.Size(55, 22); |
129 |
> |
this.mnuItemPaste.Text = "&Paste"; |
130 |
> |
this.mnuItemPaste.Click += new System.EventHandler(this.mnuItemPaste_Click); |
131 |
> |
// |
132 |
> |
// ScracthPadSaver |
133 |
> |
// |
134 |
> |
this.ScracthPadSaver.DefaultExt = "txt"; |
135 |
> |
this.ScracthPadSaver.Filter = "Text Files|*.txt|All Files|*.*"; |
136 |
> |
this.ScracthPadSaver.SupportMultiDottedExtensions = true; |
137 |
> |
this.ScracthPadSaver.Title = "Please choose the fail to save"; |
138 |
> |
// |
139 |
> |
// ScracthPadLoader |
140 |
> |
// |
141 |
> |
this.ScracthPadLoader.DefaultExt = "txt"; |
142 |
> |
this.ScracthPadLoader.Filter = "Text Files|*.txt|All Files|*.*"; |
143 |
> |
this.ScracthPadLoader.SupportMultiDottedExtensions = true; |
144 |
> |
this.ScracthPadLoader.Title = "Please choose the file to load"; |
145 |
> |
// |
146 |
> |
// txtScratchPad |
147 |
> |
// |
148 |
> |
this.txtScratchPad.Dock = System.Windows.Forms.DockStyle.Fill; |
149 |
> |
this.txtScratchPad.Font = new System.Drawing.Font("Segoe UI Mono", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); |
150 |
> |
this.txtScratchPad.ForeColor = System.Drawing.SystemColors.GrayText; |
151 |
> |
this.txtScratchPad.Location = new System.Drawing.Point(0, 25); |
152 |
> |
this.txtScratchPad.Name = "txtScratchPad"; |
153 |
> |
this.txtScratchPad.Size = new System.Drawing.Size(743, 362); |
154 |
> |
this.txtScratchPad.TabIndex = 1; |
155 |
> |
this.txtScratchPad.Text = "This is a test"; |
156 |
> |
this.txtScratchPad.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.txtScratchPad_LinkClicked); |
157 |
> |
this.txtScratchPad.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtScratchPad_KeyDown); |
158 |
> |
this.txtScratchPad.MouseDown += new System.Windows.Forms.MouseEventHandler(this.txtScratchPad_MouseDown); |
159 |
|
// |
160 |
|
// ScratchPad |
161 |
|
// |