2 // Radegast Metaverse Client
3 // Copyright (c) 2009-2014, Radegast Development Team
4 // All rights reserved.
6 // Redistribution and use in source and binary forms, with or without
7 // modification, are permitted provided that the following conditions are met:
9 // * Redistributions of source code must retain the above copyright notice,
10 // this list of conditions and the following disclaimer.
11 // * Redistributions in binary form must reproduce the above copyright
12 // notice, this list of conditions and the following disclaimer in the
13 // documentation and/or other materials provided with the distribution.
14 // * Neither the name of the application "Radegast", nor the names of its
15 // contributors may be used to endorse or promote products derived from
16 // this software without specific prior written permission.
18 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22 // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26 // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 partial class Notecard
36 /// Required designer variable.
38 private System.ComponentModel.IContainer components = null;
41 /// Clean up any resources being used.
43 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
44 protected override void Dispose(bool disposing)
46 if (disposing && (components != null))
50 base.Dispose(disposing);
53 #region Component Designer generated code
56 /// Required method for Designer support - do not modify
57 /// the contents of this method with the code editor.
59 private void InitializeComponent()
61 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Notecard));
62 this.rtbContent = new Radegast.RRichTextBox();
63 this.toolStrip1 = new System.Windows.Forms.ToolStrip();
64 this.tbtnFile = new System.Windows.Forms.ToolStripDropDownButton();
65 this.tbtnSave = new System.Windows.Forms.ToolStripMenuItem();
66 this.tbtnSaveToDisk = new System.Windows.Forms.ToolStripMenuItem();
67 this.sprtExit = new System.Windows.Forms.ToolStripSeparator();
68 this.tbtnExit = new System.Windows.Forms.ToolStripMenuItem();
69 this.tbtnAttachments = new System.Windows.Forms.ToolStripDropDownButton();
70 this.tbtnAttach = new System.Windows.Forms.ToolStripButton();
71 this.tlblStatus = new System.Windows.Forms.ToolStripLabel();
72 this.btnKeep = new System.Windows.Forms.Button();
73 this.btnDiscard = new System.Windows.Forms.Button();
74 this.pnlKeepDiscard = new System.Windows.Forms.Panel();
75 this.toolStrip1.SuspendLayout();
76 this.pnlKeepDiscard.SuspendLayout();
81 this.rtbContent.AcceptsTab = true;
82 this.rtbContent.DetectUrls = false;
83 this.rtbContent.Dock = System.Windows.Forms.DockStyle.Fill;
84 this.rtbContent.HideSelection = false;
85 this.rtbContent.Location = new System.Drawing.Point(0, 25);
86 this.rtbContent.Name = "rtbContent";
87 this.rtbContent.Size = new System.Drawing.Size(382, 309);
88 this.rtbContent.TabIndex = 3;
89 this.rtbContent.Text = "";
90 this.rtbContent.KeyDown += new System.Windows.Forms.KeyEventHandler(this.rtbContent_KeyDown);
91 this.rtbContent.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.rtbContent_LinkClicked);
92 this.rtbContent.Enter += new System.EventHandler(this.rtbContent_Enter);
96 this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
97 this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
102 this.toolStrip1.Location = new System.Drawing.Point(0, 0);
103 this.toolStrip1.Name = "toolStrip1";
104 this.toolStrip1.Size = new System.Drawing.Size(382, 25);
105 this.toolStrip1.TabIndex = 4;
106 this.toolStrip1.TabStop = true;
107 this.toolStrip1.Text = "toolStrip1";
111 this.tbtnFile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
112 this.tbtnFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
117 this.tbtnFile.Image = ((System.Drawing.Image)(resources.GetObject("tbtnFile.Image")));
118 this.tbtnFile.ImageTransparentColor = System.Drawing.Color.Magenta;
119 this.tbtnFile.Name = "tbtnFile";
120 this.tbtnFile.Size = new System.Drawing.Size(69, 22);
121 this.tbtnFile.Text = "Notecard";
125 this.tbtnSave.Name = "tbtnSave";
126 this.tbtnSave.ShortcutKeyDisplayString = "Ctrl-S";
127 this.tbtnSave.Size = new System.Drawing.Size(212, 22);
128 this.tbtnSave.Text = "Save";
129 this.tbtnSave.Click += new System.EventHandler(this.tbtnSave_Click);
133 this.tbtnSaveToDisk.Name = "tbtnSaveToDisk";
134 this.tbtnSaveToDisk.ShortcutKeyDisplayString = "Ctrl-Shift-S";
135 this.tbtnSaveToDisk.Size = new System.Drawing.Size(212, 22);
136 this.tbtnSaveToDisk.Text = "Save to Disk...";
140 this.sprtExit.Name = "sprtExit";
141 this.sprtExit.Size = new System.Drawing.Size(209, 6);
145 this.tbtnExit.Enabled = false;
146 this.tbtnExit.Name = "tbtnExit";
147 this.tbtnExit.Size = new System.Drawing.Size(212, 22);
148 this.tbtnExit.Text = "E&xit";
149 this.tbtnExit.Click += new System.EventHandler(this.tbtnExit_Click);
153 this.tbtnAttachments.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
154 this.tbtnAttachments.Enabled = false;
155 this.tbtnAttachments.Image = ((System.Drawing.Image)(resources.GetObject("tbtnAttachments.Image")));
156 this.tbtnAttachments.ImageTransparentColor = System.Drawing.Color.Magenta;
157 this.tbtnAttachments.Name = "tbtnAttachments";
158 this.tbtnAttachments.Size = new System.Drawing.Size(88, 22);
159 this.tbtnAttachments.Text = "Attachments";
160 this.tbtnAttachments.Visible = false;
164 this.tbtnAttach.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
165 this.tbtnAttach.Image = ((System.Drawing.Image)(resources.GetObject("tbtnAttach.Image")));
166 this.tbtnAttach.ImageTransparentColor = System.Drawing.Color.Magenta;
167 this.tbtnAttach.Name = "tbtnAttach";
168 this.tbtnAttach.Size = new System.Drawing.Size(48, 22);
169 this.tbtnAttach.Text = "Detach";
170 this.tbtnAttach.Click += new System.EventHandler(this.tbtnAttach_Click);
174 this.tlblStatus.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
175 this.tlblStatus.Name = "tlblStatus";
176 this.tlblStatus.Size = new System.Drawing.Size(38, 22);
177 this.tlblStatus.Text = "status";
181 this.btnKeep.Location = new System.Drawing.Point(3, 3);
182 this.btnKeep.Name = "btnKeep";
183 this.btnKeep.Size = new System.Drawing.Size(75, 23);
184 this.btnKeep.TabIndex = 4;
185 this.btnKeep.Text = "Keep";
186 this.btnKeep.UseVisualStyleBackColor = true;
187 this.btnKeep.Click += new System.EventHandler(this.btnKeep_Click);
191 this.btnDiscard.Location = new System.Drawing.Point(84, 3);
192 this.btnDiscard.Name = "btnDiscard";
193 this.btnDiscard.Size = new System.Drawing.Size(75, 23);
194 this.btnDiscard.TabIndex = 5;
195 this.btnDiscard.Text = "Discard";
196 this.btnDiscard.UseVisualStyleBackColor = true;
197 this.btnDiscard.Click += new System.EventHandler(this.btnDiscard_Click);
201 this.pnlKeepDiscard.Controls.Add(this.btnKeep);
202 this.pnlKeepDiscard.Controls.Add(this.btnDiscard);
203 this.pnlKeepDiscard.Dock = System.Windows.Forms.DockStyle.Bottom;
204 this.pnlKeepDiscard.Location = new System.Drawing.Point(0, 334);
205 this.pnlKeepDiscard.Name = "pnlKeepDiscard";
206 this.pnlKeepDiscard.Size = new System.Drawing.Size(382, 30);
207 this.pnlKeepDiscard.TabIndex = 6;
208 this.pnlKeepDiscard.Visible = false;
212 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
213 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
214 this.Controls.Add(this.rtbContent);
215 this.Controls.Add(this.pnlKeepDiscard);
216 this.Controls.Add(this.toolStrip1);
217 this.Name = "Notecard";
218 this.Size = new System.Drawing.Size(382, 364);
219 this.toolStrip1.ResumeLayout(false);
220 this.toolStrip1.PerformLayout();
221 this.pnlKeepDiscard.ResumeLayout(false);
222 this.ResumeLayout(false);
223 this.PerformLayout();
229 public RRichTextBox rtbContent;
230 public System.Windows.Forms.ToolStrip toolStrip1;
231 public System.Windows.Forms.ToolStripDropDownButton tbtnFile;
232 public System.Windows.Forms.ToolStripMenuItem tbtnSave;
233 public System.Windows.Forms.ToolStripMenuItem tbtnSaveToDisk;
234 public System.Windows.Forms.ToolStripSeparator sprtExit;
235 public System.Windows.Forms.ToolStripMenuItem tbtnExit;
236 public System.Windows.Forms.ToolStripDropDownButton tbtnAttachments;
237 public System.Windows.Forms.ToolStripButton tbtnAttach;
238 public System.Windows.Forms.ToolStripLabel tlblStatus;
239 public System.Windows.Forms.Button btnKeep;
240 public System.Windows.Forms.Button btnDiscard;
241 public System.Windows.Forms.Panel pnlKeepDiscard;