public MainForm () { components = new Container (); ComponentResourceManager resources = new ComponentResourceManager (typeof (MainForm)); menuStrip = new MenuStrip (); fileMenu = new ToolStripMenuItem (); openToolStripMenuItem = new ToolStripMenuItem (); reopenToolStripMenuItem = new ToolStripMenuItem (); closeToolStripMenuItem = new ToolStripMenuItem (); snipperToolStripMenuItem = new ToolStripMenuItem (); toolStripSeparator4 = new ToolStripSeparator (); exitToolStripMenuItem = new ToolStripMenuItem (); copyToolStripMenuItem = new ToolStripMenuItem (); viewMenu = new ToolStripMenuItem (); editMenu = new ToolStripMenuItem (); toolBarToolStripMenuItem = new ToolStripMenuItem (); statusBarToolStripMenuItem = new ToolStripMenuItem (); sourceViewToolStripMenuItem = new ToolStripMenuItem (); timeZoneToolStripMenuItem = new ToolStripMenuItem (); timeZoneMyLocalToolStripMenuItem = new ToolStripMenuItem (); timeZoneLogLocalToolStripMenuItem = new ToolStripMenuItem (); timeZoneUniversalToolStripMenuItem = new ToolStripMenuItem (); timeZoneCycleToolStripMenuItem = new ToolStripMenuItem (); toolsMenu = new ToolStripMenuItem (); optionsToolStripMenuItem = new ToolStripMenuItem (); traceConfigToolStripMenuItem = new ToolStripMenuItem (); windowsMenu = new ToolStripMenuItem (); cascadeToolStripMenuItem = new ToolStripMenuItem (); tileVerticalToolStripMenuItem = new ToolStripMenuItem (); tileHorizontalToolStripMenuItem = new ToolStripMenuItem (); closeAllToolStripMenuItem = new ToolStripMenuItem (); arrangeIconsToolStripMenuItem = new ToolStripMenuItem (); helpMenu = new ToolStripMenuItem (); contentsToolStripMenuItem = new ToolStripMenuItem (); indexToolStripMenuItem = new ToolStripMenuItem (); searchToolStripMenuItem = new ToolStripMenuItem (); toolStripSeparator8 = new ToolStripSeparator (); aboutToolStripMenuItem = new ToolStripMenuItem (); toolStrip = new ToolStrip (); newToolStripButton = new ToolStripButton (); openToolStripButton = new ToolStripButton (); saveToolStripButton = new ToolStripButton (); toolStripSeparator1 = new ToolStripSeparator (); printToolStripButton = new ToolStripButton (); printPreviewToolStripButton = new ToolStripButton (); helpToolStripButton = new ToolStripButton (); statusStrip = new StatusStrip (); toolStripStatusLabel = new ToolStripStatusLabel (); menuStrip.SuspendLayout (); toolStrip.SuspendLayout (); statusStrip.SuspendLayout (); SuspendLayout (); // // menuStrip // menuStrip.Items.AddRange (new ToolStripItem [] { fileMenu, editMenu, viewMenu, toolsMenu, windowsMenu, helpMenu}); menuStrip.Location = new Point (0, 0); menuStrip.MdiWindowListItem = windowsMenu; menuStrip.Size = new Size (632, 24); menuStrip.TabIndex = 0; menuStrip.Text = "MenuStrip"; // // fileMenu // fileMenu.DropDownItems.AddRange (new ToolStripItem [] { openToolStripMenuItem, reopenToolStripMenuItem, closeToolStripMenuItem, snipperToolStripMenuItem, toolStripSeparator4, exitToolStripMenuItem}); fileMenu.ImageTransparentColor = SystemColors.ActiveBorder; fileMenu.Size = new Size (35, 20); fileMenu.MergeAction = MergeAction.Append; fileMenu.MergeIndex = 1; fileMenu.Text = "&File"; // // openToolStripMenuItem // openToolStripMenuItem.Image = ((Image) (resources.GetObject ("openToolStripMenuItem.Image"))); openToolStripMenuItem.ImageTransparentColor = Color.Black; openToolStripMenuItem.ShortcutKeys = ((Keys) ((Keys.Control | Keys.O))); openToolStripMenuItem.Size = new Size (151, 22); openToolStripMenuItem.Text = "&Open"; openToolStripMenuItem.Click += new System.EventHandler (OpenFile); openToolStripMenuItem.MergeAction = MergeAction.Append; openToolStripMenuItem.MergeIndex = 2; // // reopenToolStripMenuItem // reopenToolStripMenuItem.Image = ((Image) (resources.GetObject ("openToolStripMenuItem.Image"))); reopenToolStripMenuItem.ImageTransparentColor = Color.Black; reopenToolStripMenuItem.Size = new Size (151, 22); reopenToolStripMenuItem.Text = "&Reopen"; reopenToolStripMenuItem.MergeAction = MergeAction.Append; reopenToolStripMenuItem.MergeIndex = 3; // // closeToolStripMenuItem // //is.closeToolStripMenuItem.Image = ((Image)(resources.GetObject("saveToolStripMenuItem.Image"))); closeToolStripMenuItem.ImageTransparentColor = Color.Black; //is.closeToolStripMenuItem.ShortcutKeys = ((Keys)((Keys.Control | Keys.S))); closeToolStripMenuItem.Size = new Size (151, 22); closeToolStripMenuItem.Text = "&Close"; closeToolStripMenuItem.MergeAction = MergeAction.Append; closeToolStripMenuItem.MergeIndex = 5; // // snipperToolStripMenuItem // snipperToolStripMenuItem.Size = new Size (151, 22); snipperToolStripMenuItem.Text = "Snip/Merge Log File(s)..."; snipperToolStripMenuItem.MergeAction = MergeAction.Append; snipperToolStripMenuItem.MergeIndex = 6; // // toolStripSeparator4 // toolStripSeparator4.Size = new Size (148, 6); toolStripSeparator4.MergeAction = MergeAction.Append; toolStripSeparator4.MergeIndex = 7; // // exitToolStripMenuItem // exitToolStripMenuItem.Size = new Size (151, 22); exitToolStripMenuItem.Text = "E&xit"; exitToolStripMenuItem.Click += new System.EventHandler (ExitToolsStripMenuItem_Click); exitToolStripMenuItem.MergeAction = MergeAction.Append; exitToolStripMenuItem.MergeIndex = 11; // // editMenu // editMenu.DropDownItems.Add (copyToolStripMenuItem); editMenu.Size = new Size (41, 20); editMenu.Text = "&Edit"; editMenu.MergeAction = MergeAction.Append; // // copyToolStripMenuItem // copyToolStripMenuItem.MergeAction = MergeAction.Append; copyToolStripMenuItem.MergeIndex = 1; copyToolStripMenuItem.Size = new Size (190, 22); copyToolStripMenuItem.Text = "Copy"; copyToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+C"; copyToolStripMenuItem.ShowShortcutKeys = true; copyToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.C; // // viewMenu // viewMenu.DropDownItems.AddRange (new ToolStripItem [] { toolBarToolStripMenuItem, statusBarToolStripMenuItem, sourceViewToolStripMenuItem, timeZoneToolStripMenuItem}); viewMenu.Size = new Size (41, 20); viewMenu.Text = "&View"; viewMenu.MergeAction = MergeAction.Append; // // toolBarToolStripMenuItem // toolBarToolStripMenuItem.Checked = true; toolBarToolStripMenuItem.CheckOnClick = true; toolBarToolStripMenuItem.CheckState = CheckState.Checked; toolBarToolStripMenuItem.Size = new Size (135, 22); toolBarToolStripMenuItem.Text = "&Toolbar"; toolBarToolStripMenuItem.Click += new System.EventHandler (ToolBarToolStripMenuItem_Click); toolBarToolStripMenuItem.MergeAction = MergeAction.Append; toolBarToolStripMenuItem.MergeIndex = 68; // // statusBarToolStripMenuItem // statusBarToolStripMenuItem.Checked = true; statusBarToolStripMenuItem.CheckOnClick = true; statusBarToolStripMenuItem.CheckState = CheckState.Checked; statusBarToolStripMenuItem.Size = new Size (135, 22); statusBarToolStripMenuItem.Text = "&Status Bar"; statusBarToolStripMenuItem.Click += new System.EventHandler (StatusBarToolStripMenuItem_Click); statusBarToolStripMenuItem.MergeAction = MergeAction.Append; statusBarToolStripMenuItem.MergeIndex = 99; // // sourceViewToolStripMenuItem // sourceViewToolStripMenuItem.Checked = true; sourceViewToolStripMenuItem.CheckOnClick = true; sourceViewToolStripMenuItem.CheckState = CheckState.Checked; sourceViewToolStripMenuItem.Size = new Size (135, 22); sourceViewToolStripMenuItem.Text = "Source &View"; sourceViewToolStripMenuItem.MergeAction = MergeAction.Append; sourceViewToolStripMenuItem.MergeIndex = 100; // // timeZoneToolStripMenuItem // timeZoneToolStripMenuItem.DropDownItems.AddRange (new ToolStripItem [] { timeZoneMyLocalToolStripMenuItem, timeZoneLogLocalToolStripMenuItem, timeZoneUniversalToolStripMenuItem, timeZoneCycleToolStripMenuItem}); timeZoneToolStripMenuItem.Size = new Size (41, 20); timeZoneToolStripMenuItem.Text = "Time Zone Setting"; timeZoneToolStripMenuItem.MergeAction = MergeAction.Append; timeZoneToolStripMenuItem.MergeIndex = 10; // // timeZoneMyLocalToolStripMenuItem // timeZoneMyLocalToolStripMenuItem.Size = new Size (135, 22); timeZoneMyLocalToolStripMenuItem.Text = "My &Local Time Zone"; timeZoneMyLocalToolStripMenuItem.MergeAction = MergeAction.Append; timeZoneMyLocalToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Shift+T"; timeZoneMyLocalToolStripMenuItem.ShowShortcutKeys = true; timeZoneMyLocalToolStripMenuItem.ShortcutKeys = Keys.None; // // timeZoneLogLocalToolStripMenuItem // timeZoneLogLocalToolStripMenuItem.Size = new Size (135, 22); timeZoneLogLocalToolStripMenuItem.Text = "Log &Creator's Time Zone"; timeZoneLogLocalToolStripMenuItem.MergeAction = MergeAction.Append; timeZoneLogLocalToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Shift+T"; timeZoneLogLocalToolStripMenuItem.ShowShortcutKeys = true; timeZoneLogLocalToolStripMenuItem.ShortcutKeys = Keys.None; // // timeZoneUniversalToolStripMenuItem // timeZoneUniversalToolStripMenuItem.Size = new Size (135, 22); timeZoneUniversalToolStripMenuItem.Text = "&Universal Coordinated Time"; timeZoneUniversalToolStripMenuItem.MergeAction = MergeAction.Append; timeZoneUniversalToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Shift+T"; timeZoneUniversalToolStripMenuItem.ShowShortcutKeys = true; timeZoneUniversalToolStripMenuItem.ShortcutKeys = Keys.None; // // timeZoneCycleToolStripMenuItem // timeZoneCycleToolStripMenuItem.Size = new Size (135, 22); timeZoneCycleToolStripMenuItem.Text = "Cycle Time Zones"; timeZoneCycleToolStripMenuItem.MergeAction = MergeAction.Append; timeZoneCycleToolStripMenuItem.Visible = false; timeZoneCycleToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+Shift+T"; timeZoneCycleToolStripMenuItem.ShowShortcutKeys = true; timeZoneCycleToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.Shift | Keys.T; // // toolsMenu // toolsMenu.DropDownItems.AddRange (new ToolStripItem [] { optionsToolStripMenuItem, traceConfigToolStripMenuItem}); toolsMenu.Size = new Size (44, 20); toolsMenu.Text = "&Tools"; // // optionsToolStripMenuItem // optionsToolStripMenuItem.Size = new Size (122, 22); optionsToolStripMenuItem.Text = "&Options..."; // // traceConfigToolStripMenuItem // traceConfigToolStripMenuItem.Size = new Size (122, 22); traceConfigToolStripMenuItem.Text = "Launch Trace&Config"; // // windowsMenu // windowsMenu.DropDownItems.AddRange (new ToolStripItem [] { cascadeToolStripMenuItem, tileVerticalToolStripMenuItem, tileHorizontalToolStripMenuItem, closeAllToolStripMenuItem, arrangeIconsToolStripMenuItem}); windowsMenu.Size = new Size (62, 20); windowsMenu.Text = "&Windows"; // // cascadeToolStripMenuItem // cascadeToolStripMenuItem.Size = new Size (153, 22); cascadeToolStripMenuItem.Text = "&Cascade"; cascadeToolStripMenuItem.Click += new System.EventHandler (CascadeToolStripMenuItem_Click); // // tileVerticalToolStripMenuItem // tileVerticalToolStripMenuItem.Size = new Size (153, 22); tileVerticalToolStripMenuItem.Text = "Tile &Vertical"; // // tileHorizontalToolStripMenuItem // tileHorizontalToolStripMenuItem.Size = new Size (153, 22); tileHorizontalToolStripMenuItem.Text = "Tile &Horizontal"; tileHorizontalToolStripMenuItem.Click += new System.EventHandler (TileHorizontalToolStripMenuItem_Click); // // closeAllToolStripMenuItem // closeAllToolStripMenuItem.Size = new Size (153, 22); closeAllToolStripMenuItem.Text = "C&lose All"; closeAllToolStripMenuItem.Click += new System.EventHandler (CloseAllToolStripMenuItem_Click); // // arrangeIconsToolStripMenuItem // arrangeIconsToolStripMenuItem.Size = new Size (153, 22); arrangeIconsToolStripMenuItem.Text = "&Arrange Icons"; arrangeIconsToolStripMenuItem.Click += new System.EventHandler (ArrangeIconsToolStripMenuItem_Click); // // helpMenu // helpMenu.DropDownItems.AddRange (new ToolStripItem [] { contentsToolStripMenuItem, indexToolStripMenuItem, searchToolStripMenuItem, toolStripSeparator8, aboutToolStripMenuItem}); helpMenu.Size = new Size (40, 20); helpMenu.Text = "&Help"; // // contentsToolStripMenuItem // contentsToolStripMenuItem.ShortcutKeys = ((Keys) ((Keys.Control | Keys.F1))); contentsToolStripMenuItem.Size = new Size (173, 22); contentsToolStripMenuItem.Text = "&Contents"; // // indexToolStripMenuItem // indexToolStripMenuItem.Image = ((Image) (resources.GetObject ("indexToolStripMenuItem.Image"))); indexToolStripMenuItem.ImageTransparentColor = Color.Black; indexToolStripMenuItem.Size = new Size (173, 22); indexToolStripMenuItem.Text = "&Index"; // // searchToolStripMenuItem // searchToolStripMenuItem.Image = ((Image) (resources.GetObject ("searchToolStripMenuItem.Image"))); searchToolStripMenuItem.ImageTransparentColor = Color.Black; searchToolStripMenuItem.Size = new Size (173, 22); searchToolStripMenuItem.Text = "&Search"; // // toolStripSeparator8 // toolStripSeparator8.Size = new Size (170, 6); // // aboutToolStripMenuItem // aboutToolStripMenuItem.Size = new Size (173, 22); aboutToolStripMenuItem.Text = "&About ..."; // // toolStrip // toolStrip.Items.AddRange (new ToolStripItem [] { newToolStripButton, openToolStripButton, saveToolStripButton, toolStripSeparator1, printToolStripButton, printPreviewToolStripButton, helpToolStripButton}); toolStrip.Location = new Point (0, 24); toolStrip.Size = new Size (632, 25); toolStrip.TabIndex = 1; toolStrip.Text = "ToolStrip"; // // newToolStripButton // newToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image; newToolStripButton.Image = ((Image) (resources.GetObject ("newToolStripButton.Image"))); newToolStripButton.ImageTransparentColor = Color.Black; newToolStripButton.Text = "New"; newToolStripButton.Click += new System.EventHandler (ShowNewForm); // // openToolStripButton // openToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image; openToolStripButton.Image = ((Image) (resources.GetObject ("openToolStripButton.Image"))); openToolStripButton.ImageTransparentColor = Color.Black; openToolStripButton.Text = "Open"; openToolStripButton.Click += new System.EventHandler (OpenFile); // // saveToolStripButton // saveToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image; saveToolStripButton.Image = ((Image) (resources.GetObject ("saveToolStripButton.Image"))); saveToolStripButton.ImageTransparentColor = Color.Black; saveToolStripButton.Text = "Save"; // // toolStripSeparator1 // // // printToolStripButton // printToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image; printToolStripButton.Image = ((Image) (resources.GetObject ("printToolStripButton.Image"))); printToolStripButton.ImageTransparentColor = Color.Black; printToolStripButton.Text = "Print"; // // printPreviewToolStripButton // printPreviewToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image; printPreviewToolStripButton.Image = ((Image) (resources.GetObject ("printPreviewToolStripButton.Image"))); printPreviewToolStripButton.ImageTransparentColor = Color.Black; printPreviewToolStripButton.Text = "Print Preview"; // // helpToolStripButton // helpToolStripButton.DisplayStyle = ToolStripItemDisplayStyle.Image; helpToolStripButton.Image = ((Image) (resources.GetObject ("helpToolStripButton.Image"))); helpToolStripButton.ImageTransparentColor = Color.Black; helpToolStripButton.Text = "Help"; // // statusStrip // statusStrip.Items.Add (toolStripStatusLabel); statusStrip.LayoutStyle = ToolStripLayoutStyle.Table; statusStrip.Location = new Point (0, 433); statusStrip.Size = new Size (632, 20); statusStrip.TabIndex = 2; statusStrip.Text = "StatusStrip"; // // toolStripStatusLabel // toolStripStatusLabel.Text = "Status"; // // MainForm // AutoScaleDimensions = new SizeF (6F, 13F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size (400, 300); Controls.Add (statusStrip); Controls.Add (toolStrip); Controls.Add (menuStrip); IsMdiContainer = true; Location = new Point (200, 100); MainMenuStrip = menuStrip; StartPosition = FormStartPosition.Manual; Text = "bug #81477"; menuStrip.ResumeLayout (false); toolStrip.ResumeLayout (false); statusStrip.ResumeLayout (false); ResumeLayout (false); PerformLayout (); Load += new EventHandler (MainForm_Load); }
static void Main () { ComponentResourceManager crm = new ComponentResourceManager ( typeof (MyComponent)); Thread.CurrentThread.CurrentUICulture = new CultureInfo ("en-GB"); Thread.CurrentThread.CurrentCulture = new CultureInfo ("ja-JP"); MyComponent comp = new MyComponent ("Welcome", "System"); crm.ApplyResources (comp, "$this", new CultureInfo ("fr-FR")); Assert.IsNotNull (comp.BackgroundImage, "#1"); #if NET_2_0 Assert.IsNull (comp.Company, "#2"); #else Assert.IsNotNull (comp.Company, "#2"); Assert.AreEqual ("Company (fr-FR)", comp.Company, "#3"); #endif Assert.AreEqual (0, comp.Interval, "#4"); Assert.IsTrue (comp.Localizable, "#5"); Assert.IsNotNull (comp.Name, "#6"); Assert.AreEqual ("Component (fr)", comp.Name, "#7"); Assert.IsNotNull (comp.Text, "#8"); Assert.AreEqual ("Mono", comp.Text, "#9"); Assert.IsNotNull (comp.Title, "#10"); Assert.AreEqual ("Welcome", comp.Title, "#11"); Assert.IsNotNull (comp.Zone, "#D12"); Assert.AreEqual ("Zone (fr)", comp.Zone, "#D13"); }
static void Main () { ComponentResourceManager crm = new ComponentResourceManager ( typeof (MyComponent)); MyComponent comp = new MyComponent ("Welcome", "System"); try { crm.ApplyResources (comp, "$this", CultureInfo.InvariantCulture); Assert.Fail ("#A1"); } catch (MissingManifestResourceException ex) { // Could not find any resources appropriate for the // specified culture or the neutral culture. Make sure // "Mono.Tests.MyComponent.resources" was correctly // embedded or linked into assembly "test2" at compile // time, or that all the satellite assemblies required // are loadable and fully signed Assert.AreEqual (typeof (MissingManifestResourceException), ex.GetType (), "#A2"); Assert.IsNull (ex.InnerException, "#A3"); Assert.IsNotNull (ex.Message, "#A4"); #if NET_2_0 Assert.IsTrue (ex.Message.IndexOf ("\"Mono.Tests.MyComponent.resources\"") != -1, "#A5"); #else Assert.IsTrue (ex.Message.IndexOf ("MyComponent.resources") != -1, "#A5"); #endif Assert.IsTrue (ex.Message.IndexOf ("\"test2\"") != -1, "#A6"); } comp = new MyComponent ("Welcome", "System"); crm.IgnoreCase = false; try { crm.ApplyResources (comp, "$this", new CultureInfo ("nl-BE")); Assert.Fail ("#B1"); } catch (MissingManifestResourceException ex) { // Could not find any resources appropriate for the // specified culture or the neutral culture. Make sure // "Mono.Tests.MyComponent.resources" was correctly // embedded or linked into assembly "test2" at compile // time, or that all the satellite assemblies required // are loadable and fully signed Assert.AreEqual (typeof (MissingManifestResourceException), ex.GetType (), "#B2"); Assert.IsNull (ex.InnerException, "#B3"); Assert.IsNotNull (ex.Message, "#B4"); #if NET_2_0 Assert.IsTrue (ex.Message.IndexOf ("\"Mono.Tests.MyComponent.resources\"") != -1, "#B5"); #else Assert.IsTrue (ex.Message.IndexOf ("MyComponent.resources") != -1, "#B5"); #endif Assert.IsTrue (ex.Message.IndexOf ("\"test2\"") != -1, "#B6"); } }
public MainForm () { ComponentResourceManager resources = new ComponentResourceManager (typeof (MainForm)); SuspendLayout (); // // _toolStrip // _toolStrip = new ToolStrip (); _toolStrip.Location = new Point (0, 24); _toolStrip.Name = "_toolStrip"; _toolStrip.Size = new Size (632, 25); _toolStrip.TabIndex = 1; _toolStrip.Text = "ToolStrip"; Controls.Add (_toolStrip); // // _newButton // _newButton = new ToolStripButton (); _newButton.DisplayStyle = ToolStripItemDisplayStyle.Image; _newButton.Image = ((Image) (resources.GetObject ("_newButton.Image"))); _newButton.ImageTransparentColor = Color.Black; _newButton.Text = "New"; _toolStrip.Items.Add (_newButton); // // _openButton // _openButton = new ToolStripButton (); _openButton.DisplayStyle = ToolStripItemDisplayStyle.Image; _openButton.Image = ((Image) (resources.GetObject ("_openButton.Image"))); _openButton.ImageTransparentColor = Color.Black; _openButton.Text = "Open"; _openButton.Click += new System.EventHandler (OpenFile); _toolStrip.Items.Add (_openButton); // // MainForm // AutoScaleDimensions = new SizeF (6F, 13F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size (300, 300); IsMdiContainer = true; Location = new Point (250, 100); StartPosition = FormStartPosition.Manual; Text = "bug #81568"; Load += new EventHandler (MainForm_Load); ResumeLayout (false); PerformLayout (); }
static void Main () { ComponentResourceManager crm = new ComponentResourceManager ( typeof (MyComponent)); MyComponent comp = new MyComponent ("Welcome", "System"); crm.ApplyResources (comp, "$this", new CultureInfo ("nl-BE")); Assert.IsNotNull (comp.BackgroundImage, "#A1"); #if NET_2_0 Assert.IsNull (comp.Company, "#A2"); #else Assert.IsNotNull (comp.Company, "#A2"); Assert.AreEqual ("Company (NL-BE)", comp.Company, "#A3"); #endif Assert.AreEqual (0, comp.Interval, "#A4"); Assert.IsTrue (comp.Localizable, "#A5"); Assert.IsNull (comp.Name, "#A6"); Assert.IsNotNull (comp.Text, "#A8"); Assert.AreEqual ("Mono", comp.Text, "#A9"); Assert.IsNotNull (comp.Title, "#A10"); Assert.AreEqual ("Welcome", comp.Title, "#A11"); Assert.IsNotNull (comp.Zone, "#A12"); Assert.AreEqual ("Zone (NL-BE)", comp.Zone, "#A13"); comp = new MyComponent ("Welcome", "System"); crm = new ComponentResourceManager (typeof (MyComponent)); crm.ApplyResources (comp, "$this", new CultureInfo ("ja-JP")); Assert.IsNotNull (comp.BackgroundImage, "#B1"); Assert.IsNotNull (comp.Company, "#B2"); Assert.AreEqual ("OSF", comp.Company, "#B3"); Assert.AreEqual (0, comp.Interval, "#B4"); Assert.IsTrue (comp.Localizable, "#B5"); Assert.IsNull (comp.Name, "#B6"); Assert.IsNotNull (comp.Text, "#B7"); Assert.AreEqual ("Mono", comp.Text, "#B8"); Assert.IsNotNull (comp.Title, "#B9"); Assert.AreEqual ("Welcome", comp.Title, "#B10"); #if NET_2_0 Assert.IsNull (comp.Zone, "#B11"); #else Assert.IsNotNull (comp.Zone, "#B11"); Assert.AreEqual (string.Empty, comp.Zone, "#B12"); #endif }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (Form1)); this.axRDPViewer1 = new AxRDPViewer(); this.panel1 = new Panel(); this.axRDPViewer1.BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); this.axRDPViewer1.Dock = DockStyle.Fill; this.axRDPViewer1.Enabled = true; this.axRDPViewer1.Location = new Point(0, 0); this.axRDPViewer1.Margin = new Padding(4, 5, 4, 5); this.axRDPViewer1.Name = "axRDPViewer1"; this.axRDPViewer1.Size = new Size(618, 554); this.axRDPViewer1.TabIndex = 0; this.panel1.Controls.Add((Control) this.axRDPViewer1); this.panel1.Dock = DockStyle.Bottom; this.panel1.Location = new Point(0, 63); this.panel1.Margin = new Padding(4, 5, 4, 5); this.panel1.Name = "panel1"; this.panel1.Size = new Size(618, 554); this.panel1.TabIndex = 4; this.AllowDrop = true; this.AutoScaleDimensions = new SizeF(9f, 20f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(618, 617); this.Controls.Add((Control) this.panel1); this.Margin = new Padding(4, 5, 4, 5); this.Name = "Form1"; this.StartPosition = FormStartPosition.CenterScreen; this.Text = "LabRun Screen Viewer"; this.WindowState = FormWindowState.Maximized; this.Load += new EventHandler(this.Form1_Load); this.axRDPViewer1.EndInit(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
public CodeEditorPlugin(IHDEHost host, INode node, ISolution solution, ILogger logger) { FHDEHost = host; FNode = node; FSolution = solution; FLogger = logger; FErrorList = new ViewableCollection <object>(); if (CompletionIcons.Images.Count == 0) { var resources = new ComponentResourceManager(typeof(CodeEditorPlugin)); CompletionIcons.TransparentColor = System.Drawing.Color.Transparent; CompletionIcons.Images.Add((System.Drawing.Bitmap)resources.GetObject("Icons.16x16.Class")); CompletionIcons.Images.Add((System.Drawing.Bitmap)resources.GetObject("Icons.16x16.Method")); CompletionIcons.Images.Add((System.Drawing.Bitmap)resources.GetObject("Icons.16x16.Property")); CompletionIcons.Images.Add((System.Drawing.Bitmap)resources.GetObject("Icons.16x16.Field")); CompletionIcons.Images.Add((System.Drawing.Bitmap)resources.GetObject("Icons.16x16.Enum")); CompletionIcons.Images.Add((System.Drawing.Bitmap)resources.GetObject("Icons.16x16.NameSpace")); CompletionIcons.Images.Add((System.Drawing.Bitmap)resources.GetObject("Icons.16x16.Event")); var path = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"..\..\thirdparty")); var provider = new SD.FileSyntaxModeProvider(path); SD.HighlightingManager.Manager.AddSyntaxModeFileProvider(provider); } SuspendLayout(); FCodeEditorForm = new Form(); FCodeEditorForm.Location = new Point(0, 0); FCodeEditorForm.TopLevel = false; FCodeEditorForm.TopMost = false; FCodeEditorForm.Dock = DockStyle.Fill; FCodeEditorForm.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); FCodeEditorForm.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; FCodeEditorForm.BackColor = System.Drawing.Color.Silver; FCodeEditorForm.ClientSize = new System.Drawing.Size(881, 476); FCodeEditorForm.ControlBox = false; FCodeEditorForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; FCodeEditorForm.MaximizeBox = false; FCodeEditorForm.MinimizeBox = false; FCodeEditorForm.ShowIcon = false; FCodeEditorForm.ShowInTaskbar = false; FCodeEditorForm.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; FCodeEditorForm.TopMost = true; FCodeEditorForm.Show(); FEditor = new CodeEditor(FCodeEditorForm, FLogger); FEditor.Dock = DockStyle.Fill; FCodeEditorForm.Controls.Add(FEditor); FErrorTableViewer = new TableViewer(); FErrorTableViewer.Dock = DockStyle.Bottom; FErrorTableViewer.TabIndex = 0; FErrorTableViewer.DoubleClick += FErrorTableViewerDoubleClick; FErrorTableViewer.AutoSize = true; FErrorTableViewer.AutoSizeMode = AutoSizeMode.GrowAndShrink; FErrorTableViewer.MaximumSize = new Size(0, 100); Controls.Add(FCodeEditorForm); Controls.Add(FErrorTableViewer); ResumeLayout(false); PerformLayout(); var registry = new MappingRegistry(); registry.RegisterDefaultMapping <IEnumerable <Column>, ErrorCollectionColumnProvider>(); registry.RegisterMapping <CompilerError, IEnumerable <ICell>, ErrorCellProvider>(); registry.RegisterMapping <RuntimeError, IEnumerable <ICell>, RuntimeErrorCellProvider>(); FErrorTableViewer.Registry = registry; FErrorTableViewer.Input = FErrorList; FEditor.LinkClicked += FEditor_LinkClicked; }
private void InitializeComponent() { ListViewGroup listViewGroup = new ListViewGroup("Magic Items", HorizontalAlignment.Left); ListViewGroup listViewGroup1 = new ListViewGroup("Mundane Parcels", HorizontalAlignment.Left); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(ParcelSelectForm)); this.OKBtn = new Button(); this.CancelBtn = new Button(); this.NameHdr = new ColumnHeader(); this.DetailsHdr = new ColumnHeader(); this.ParcelList = new ListView(); this.ListPanel = new Panel(); this.Toolbar = new ToolStrip(); this.ChangeItemBtn = new ToolStripButton(); this.StatBlockBtn = new ToolStripButton(); this.toolStripSeparator1 = new ToolStripSeparator(); this.RandomiseAllBtn = new ToolStripButton(); this.RandomiseBtn = new ToolStripButton(); this.ListPanel.SuspendLayout(); this.Toolbar.SuspendLayout(); base.SuspendLayout(); this.OKBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.OKBtn.DialogResult = System.Windows.Forms.DialogResult.OK; this.OKBtn.Location = new Point(318, 348); this.OKBtn.Name = "OKBtn"; this.OKBtn.Size = new System.Drawing.Size(75, 23); this.OKBtn.TabIndex = 3; this.OKBtn.Text = "OK"; this.OKBtn.UseVisualStyleBackColor = true; this.OKBtn.Click += new EventHandler(this.OKBtn_Click); this.CancelBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.CancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.CancelBtn.Location = new Point(399, 348); this.CancelBtn.Name = "CancelBtn"; this.CancelBtn.Size = new System.Drawing.Size(75, 23); this.CancelBtn.TabIndex = 4; this.CancelBtn.Text = "Cancel"; this.CancelBtn.UseVisualStyleBackColor = true; this.NameHdr.Text = "Parcel"; this.NameHdr.Width = 150; this.DetailsHdr.Text = "Details"; this.DetailsHdr.Width = 275; ListView.ColumnHeaderCollection columns = this.ParcelList.Columns; ColumnHeader[] nameHdr = new ColumnHeader[] { this.NameHdr, this.DetailsHdr }; columns.AddRange(nameHdr); this.ParcelList.Dock = DockStyle.Fill; this.ParcelList.FullRowSelect = true; listViewGroup.Header = "Magic Items"; listViewGroup.Name = "listViewGroup1"; listViewGroup1.Header = "Mundane Parcels"; listViewGroup1.Name = "listViewGroup2"; this.ParcelList.Groups.AddRange(new ListViewGroup[] { listViewGroup, listViewGroup1 }); this.ParcelList.HideSelection = false; this.ParcelList.Location = new Point(0, 25); this.ParcelList.MultiSelect = false; this.ParcelList.Name = "ParcelList"; this.ParcelList.Size = new System.Drawing.Size(462, 305); this.ParcelList.TabIndex = 0; this.ParcelList.UseCompatibleStateImageBehavior = false; this.ParcelList.View = View.Details; this.ParcelList.DoubleClick += new EventHandler(this.TileList_DoubleClick); this.ListPanel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.ListPanel.Controls.Add(this.ParcelList); this.ListPanel.Controls.Add(this.Toolbar); this.ListPanel.Location = new Point(12, 12); this.ListPanel.Name = "ListPanel"; this.ListPanel.Size = new System.Drawing.Size(462, 330); this.ListPanel.TabIndex = 5; ToolStripItemCollection items = this.Toolbar.Items; ToolStripItem[] changeItemBtn = new ToolStripItem[] { this.ChangeItemBtn, this.StatBlockBtn, this.toolStripSeparator1, this.RandomiseBtn, this.RandomiseAllBtn }; items.AddRange(changeItemBtn); this.Toolbar.Location = new Point(0, 0); this.Toolbar.Name = "Toolbar"; this.Toolbar.Size = new System.Drawing.Size(462, 25); this.Toolbar.TabIndex = 1; this.Toolbar.Text = "toolStrip1"; this.ChangeItemBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.ChangeItemBtn.Image = (Image)componentResourceManager.GetObject("ChangeItemBtn.Image"); this.ChangeItemBtn.ImageTransparentColor = Color.Magenta; this.ChangeItemBtn.Name = "ChangeItemBtn"; this.ChangeItemBtn.Size = new System.Drawing.Size(115, 22); this.ChangeItemBtn.Text = "Change Magic Item"; this.ChangeItemBtn.Click += new EventHandler(this.ChangeItemBtn_Click); this.StatBlockBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.StatBlockBtn.Image = (Image)componentResourceManager.GetObject("StatBlockBtn.Image"); this.StatBlockBtn.ImageTransparentColor = Color.Magenta; this.StatBlockBtn.Name = "StatBlockBtn"; this.StatBlockBtn.Size = new System.Drawing.Size(63, 22); this.StatBlockBtn.Text = "Stat Block"; this.StatBlockBtn.Click += new EventHandler(this.StatBlockBtn_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); this.RandomiseAllBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.RandomiseAllBtn.Image = (Image)componentResourceManager.GetObject("RandomiseAllBtn.Image"); this.RandomiseAllBtn.ImageTransparentColor = Color.Magenta; this.RandomiseAllBtn.Name = "RandomiseAllBtn"; this.RandomiseAllBtn.Size = new System.Drawing.Size(87, 22); this.RandomiseAllBtn.Text = "Randomise All"; this.RandomiseAllBtn.Click += new EventHandler(this.RandomiseAllBtn_Click); this.RandomiseBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.RandomiseBtn.Image = (Image)componentResourceManager.GetObject("RandomiseBtn.Image"); this.RandomiseBtn.ImageTransparentColor = Color.Magenta; this.RandomiseBtn.Name = "RandomiseBtn"; this.RandomiseBtn.Size = new System.Drawing.Size(70, 22); this.RandomiseBtn.Text = "Randomise"; this.RandomiseBtn.Click += new EventHandler(this.RandomiseBtn_Click); base.AcceptButton = this.OKBtn; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.CancelButton = this.CancelBtn; base.ClientSize = new System.Drawing.Size(486, 383); base.Controls.Add(this.ListPanel); base.Controls.Add(this.CancelBtn); base.Controls.Add(this.OKBtn); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "ParcelSelectForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Select a Treasure Parcel"; base.FormClosed += new FormClosedEventHandler(this.ParcelSelectForm_FormClosed); this.ListPanel.ResumeLayout(false); this.ListPanel.PerformLayout(); this.Toolbar.ResumeLayout(false); this.Toolbar.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(TokenLinkListForm)); this.Toolbar = new ToolStrip(); this.RemoveBtn = new ToolStripButton(); this.EditBtn = new ToolStripButton(); this.EffectList = new ListView(); this.LinkHdr = new ColumnHeader(); this.TokenHdr = new ColumnHeader(); this.Toolbar.SuspendLayout(); base.SuspendLayout(); ToolStripItemCollection items = this.Toolbar.Items; ToolStripItem[] removeBtn = new ToolStripItem[] { this.RemoveBtn, this.EditBtn }; items.AddRange(removeBtn); this.Toolbar.Location = new Point(0, 0); this.Toolbar.Name = "Toolbar"; this.Toolbar.Size = new System.Drawing.Size(429, 25); this.Toolbar.TabIndex = 0; this.Toolbar.Text = "toolStrip1"; this.RemoveBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.RemoveBtn.Image = (Image)componentResourceManager.GetObject("RemoveBtn.Image"); this.RemoveBtn.ImageTransparentColor = Color.Magenta; this.RemoveBtn.Name = "RemoveBtn"; this.RemoveBtn.Size = new System.Drawing.Size(54, 22); this.RemoveBtn.Text = "Remove"; this.RemoveBtn.Click += new EventHandler(this.RemoveBtn_Click); this.EditBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.EditBtn.Image = (Image)componentResourceManager.GetObject("EditBtn.Image"); this.EditBtn.ImageTransparentColor = Color.Magenta; this.EditBtn.Name = "EditBtn"; this.EditBtn.Size = new System.Drawing.Size(31, 22); this.EditBtn.Text = "Edit"; this.EditBtn.Click += new EventHandler(this.EditBtn_Click); ListView.ColumnHeaderCollection columns = this.EffectList.Columns; ColumnHeader[] tokenHdr = new ColumnHeader[] { this.TokenHdr, this.LinkHdr }; columns.AddRange(tokenHdr); this.EffectList.Dock = DockStyle.Fill; this.EffectList.FullRowSelect = true; this.EffectList.HeaderStyle = ColumnHeaderStyle.Nonclickable; this.EffectList.HideSelection = false; this.EffectList.Location = new Point(0, 25); this.EffectList.MultiSelect = false; this.EffectList.Name = "EffectList"; this.EffectList.Size = new System.Drawing.Size(429, 172); this.EffectList.TabIndex = 1; this.EffectList.UseCompatibleStateImageBehavior = false; this.EffectList.View = View.Details; this.EffectList.DoubleClick += new EventHandler(this.EditBtn_Click); this.LinkHdr.Text = "Link"; this.LinkHdr.Width = 150; this.TokenHdr.Text = "Tokens"; this.TokenHdr.Width = 250; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(429, 197); base.Controls.Add(this.EffectList); base.Controls.Add(this.Toolbar); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "TokenLinkListForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Token Links"; this.Toolbar.ResumeLayout(false); this.Toolbar.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void cfb5cf413352ed4044535eb4a62d2e98f() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(Type.GetTypeFromHandle(cc6cbceca58ac4c7d5b081bb13e46a2b0.c6804baa30a51e813a45fabcfa2b27b79())); this.c5c88963d6e9c4dae998f5bdc712deec4 = new PictureBox(); this.ce940872bf2d542451e120044788d9340 = new RadLabel(); this.cd036f2b2868b103e71bd7b4fbe25a603 = new RadLabel(); this.c28cccb4bc1305f639acf2d457aeedad8 = new RadButton(); this.cae781a73bef396115e799be2de31a889 = new RadButton(); this.cded3584b859653b46e45a2c4d1355b61 = new RadButton(); ((ISupportInitialize)this.c5c88963d6e9c4dae998f5bdc712deec4).BeginInit(); ((ISupportInitialize)this.ce940872bf2d542451e120044788d9340).BeginInit(); ((ISupportInitialize)this.cd036f2b2868b103e71bd7b4fbe25a603).BeginInit(); ((ISupportInitialize)this.c28cccb4bc1305f639acf2d457aeedad8).BeginInit(); ((ISupportInitialize)this.cae781a73bef396115e799be2de31a889).BeginInit(); ((ISupportInitialize)this.cded3584b859653b46e45a2c4d1355b61).BeginInit(); ((ISupportInitialize)this).BeginInit(); ((RadFormControlBase)this).SuspendLayout(); this.c5c88963d6e9c4dae998f5bdc712deec4.Image = (Image)c27603360ccc8374975348defb9eee9fc.logo; this.c5c88963d6e9c4dae998f5bdc712deec4.Location = new Point(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8556), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8560)); this.c5c88963d6e9c4dae998f5bdc712deec4.Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11217); this.c5c88963d6e9c4dae998f5bdc712deec4.Size = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8564), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8568)); this.c5c88963d6e9c4dae998f5bdc712deec4.TabIndex = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8572); this.c5c88963d6e9c4dae998f5bdc712deec4.TabStop = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8576) != 0; ((Control)this.ce940872bf2d542451e120044788d9340).Font = new Font(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(7400), cb85779efa5f9c78fa841b92dceca9094.c8c83a3807da60b9f032d40f2b5665e27(8580), (FontStyle)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8584), (GraphicsUnit)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8588), (byte)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8592)); ((Control)this.ce940872bf2d542451e120044788d9340).Location = new Point(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8596), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8600)); ((Control)this.ce940872bf2d542451e120044788d9340).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(10090); ((Control)this.ce940872bf2d542451e120044788d9340).Size = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8604), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8608)); ((Control)this.ce940872bf2d542451e120044788d9340).TabIndex = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8612); ((Control)this.ce940872bf2d542451e120044788d9340).Text = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11240); ((RadControl)this.ce940872bf2d542451e120044788d9340).set_ThemeName(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(7321)); ((Control)this.cd036f2b2868b103e71bd7b4fbe25a603).Font = new Font(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(7400), cb85779efa5f9c78fa841b92dceca9094.c8c83a3807da60b9f032d40f2b5665e27(8616), (FontStyle)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8620), (GraphicsUnit)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8624), (byte)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8628)); ((Control)this.cd036f2b2868b103e71bd7b4fbe25a603).Location = new Point(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8632), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8636)); ((Control)this.cd036f2b2868b103e71bd7b4fbe25a603).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(7428); ((Control)this.cd036f2b2868b103e71bd7b4fbe25a603).Size = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8640), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8644)); ((Control)this.cd036f2b2868b103e71bd7b4fbe25a603).TabIndex = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8648); ((Control)this.cd036f2b2868b103e71bd7b4fbe25a603).Text = componentResourceManager.GetString(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11317)); this.cd036f2b2868b103e71bd7b4fbe25a603.set_TextAlignment((ContentAlignment)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8652)); ((RadControl)this.cd036f2b2868b103e71bd7b4fbe25a603).set_ThemeName(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(7321)); ((Control)this.c28cccb4bc1305f639acf2d457aeedad8).Location = new Point(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8656), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8660)); ((Control)this.c28cccb4bc1305f639acf2d457aeedad8).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11346); ((Control)this.c28cccb4bc1305f639acf2d457aeedad8).Size = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8664), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8668)); ((Control)this.c28cccb4bc1305f639acf2d457aeedad8).TabIndex = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8672); ((Control)this.c28cccb4bc1305f639acf2d457aeedad8).Text = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11365); ((RadControl)this.c28cccb4bc1305f639acf2d457aeedad8).set_ThemeName(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(7321)); ((Control)this.c28cccb4bc1305f639acf2d457aeedad8).Click += new EventHandler(this.ce2ea68eb9c0d4049a372275378d48be5); ((Control)this.cae781a73bef396115e799be2de31a889).Location = new Point(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8676), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8680)); ((Control)this.cae781a73bef396115e799be2de31a889).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11396); ((Control)this.cae781a73bef396115e799be2de31a889).Size = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8684), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8688)); ((Control)this.cae781a73bef396115e799be2de31a889).TabIndex = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8692); ((Control)this.cae781a73bef396115e799be2de31a889).Text = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11423); ((RadControl)this.cae781a73bef396115e799be2de31a889).set_ThemeName(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(7321)); ((Control)this.cae781a73bef396115e799be2de31a889).Click += new EventHandler(this.c06317803f48c1236bc5ea52bf9957d11); ((Control)this.cded3584b859653b46e45a2c4d1355b61).Enabled = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8696) != 0; ((Control)this.cded3584b859653b46e45a2c4d1355b61).Location = new Point(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8700), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8704)); ((Control)this.cded3584b859653b46e45a2c4d1355b61).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11466); ((Control)this.cded3584b859653b46e45a2c4d1355b61).Size = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8708), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8712)); ((Control)this.cded3584b859653b46e45a2c4d1355b61).TabIndex = cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8716); ((Control)this.cded3584b859653b46e45a2c4d1355b61).Text = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11483); ((RadControl)this.cded3584b859653b46e45a2c4d1355b61).set_ThemeName(c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(7321)); ((Control)this.cded3584b859653b46e45a2c4d1355b61).Click += new EventHandler(this.c8f58c48bbf5302abec3fc5b0e7bdeea3); ((ContainerControl)this).AutoScaleDimensions = new SizeF(cb85779efa5f9c78fa841b92dceca9094.c8c83a3807da60b9f032d40f2b5665e27(8720), cb85779efa5f9c78fa841b92dceca9094.c8c83a3807da60b9f032d40f2b5665e27(8724)); ((RadFormControlBase)this).set_AutoScaleMode((AutoScaleMode)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8728)); ((Form)this).ClientSize = new Size(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8732), cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8736)); ((Control)this).Controls.Add((Control)this.cded3584b859653b46e45a2c4d1355b61); ((Control)this).Controls.Add((Control)this.cae781a73bef396115e799be2de31a889); ((Control)this).Controls.Add((Control)this.c28cccb4bc1305f639acf2d457aeedad8); ((Control)this).Controls.Add((Control)this.cd036f2b2868b103e71bd7b4fbe25a603); ((Control)this).Controls.Add((Control)this.ce940872bf2d542451e120044788d9340); ((Control)this).Controls.Add((Control)this.c5c88963d6e9c4dae998f5bdc712deec4); ((RadFormControlBase)this).set_FormBorderStyle((FormBorderStyle)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8740)); ((Control)this).Name = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11508); ((RadFormControlBase)this).get_RootElement().set_ApplyShapeToControl(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8744) != 0); this.set_ShowIcon(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8748) != 0); ((Form)this).StartPosition = (FormStartPosition)cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8752); ((Control)this).Text = c833fbfa18d441f3acb05d803efdf1eb8.c702a9e4555297107d7c7901aa91e5540(11531); ((Form)this).Load += new EventHandler(this.cb7c994047ade504e7c0c6943a293e190); ((ISupportInitialize)this.c5c88963d6e9c4dae998f5bdc712deec4).EndInit(); ((ISupportInitialize)this.ce940872bf2d542451e120044788d9340).EndInit(); ((ISupportInitialize)this.cd036f2b2868b103e71bd7b4fbe25a603).EndInit(); ((ISupportInitialize)this.c28cccb4bc1305f639acf2d457aeedad8).EndInit(); ((ISupportInitialize)this.cae781a73bef396115e799be2de31a889).EndInit(); ((ISupportInitialize)this.cded3584b859653b46e45a2c4d1355b61).EndInit(); ((ISupportInitialize)this).EndInit(); ((RadFormControlBase)this).ResumeLayout(cb85779efa5f9c78fa841b92dceca9094.c4f3ad310245f8f6e7d32122c50c48ab1(8756) != 0); ((Control)this).PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(RegisterForm <MainTableModel>)); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(ThermGenRptPara)); this.btnGen = new Button(); this.label14 = new Label(); this.txttitle = new TextBox(); this.lbwriter = new Label(); this.label15 = new Label(); this.dtpbegin = new DateTimePicker(); this.label1 = new Label(); this.dtptime = new DateTimePicker(); this.cboperiod = new ComboBox(); this.txtwrite = new TextBox(); this.chkchart1 = new CheckBox(); this.chkchart3 = new CheckBox(); this.lbtitle = new Label(); this.chkchart4 = new CheckBox(); this.chkchart2 = new CheckBox(); this.groupBox2 = new GroupBox(); this.btndel = new Button(); this.btnAdd = new Button(); this.grouplist = new ListView(); this.gptype = new ColumnHeader(); this.gpname = new ColumnHeader(); this.cboduration = new ComboBox(); this.chkchart5 = new CheckBox(); this.grpbchart = new GroupBox(); this.gbxInfo = new GroupBox(); this.tbduration = new TextBox(); this.label29 = new Label(); this.groupBox2.SuspendLayout(); this.grpbchart.SuspendLayout(); this.gbxInfo.SuspendLayout(); base.SuspendLayout(); this.btnGen.BackColor = Color.Gainsboro; componentResourceManager.ApplyResources(this.btnGen, "btnGen"); this.btnGen.Name = "btnGen"; this.btnGen.UseVisualStyleBackColor = false; this.btnGen.Click += new System.EventHandler(this.btnGen_Click); componentResourceManager.ApplyResources(this.label14, "label14"); this.label14.ForeColor = Color.Black; this.label14.Name = "label14"; componentResourceManager.ApplyResources(this.txttitle, "txttitle"); this.txttitle.Name = "txttitle"; this.txttitle.KeyPress += new KeyPressEventHandler(this.txttitle_KeyPress); componentResourceManager.ApplyResources(this.lbwriter, "lbwriter"); this.lbwriter.ForeColor = Color.Black; this.lbwriter.Name = "lbwriter"; componentResourceManager.ApplyResources(this.label15, "label15"); this.label15.ForeColor = Color.Black; this.label15.Name = "label15"; componentResourceManager.ApplyResources(this.dtpbegin, "dtpbegin"); this.dtpbegin.Format = DateTimePickerFormat.Custom; this.dtpbegin.Name = "dtpbegin"; this.dtpbegin.ShowUpDown = true; this.dtpbegin.ValueChanged += new System.EventHandler(this.dtpbegin_ValueChanged); componentResourceManager.ApplyResources(this.label1, "label1"); this.label1.ForeColor = Color.Black; this.label1.Name = "label1"; componentResourceManager.ApplyResources(this.dtptime, "dtptime"); this.dtptime.Format = DateTimePickerFormat.Custom; this.dtptime.Name = "dtptime"; this.dtptime.ShowUpDown = true; this.cboperiod.DropDownStyle = ComboBoxStyle.DropDownList; componentResourceManager.ApplyResources(this.cboperiod, "cboperiod"); this.cboperiod.FormattingEnabled = true; this.cboperiod.Items.AddRange(new object[] { componentResourceManager.GetString("cboperiod.Items"), componentResourceManager.GetString("cboperiod.Items1"), componentResourceManager.GetString("cboperiod.Items2"), componentResourceManager.GetString("cboperiod.Items3") }); this.cboperiod.Name = "cboperiod"; this.cboperiod.SelectedIndexChanged += new System.EventHandler(this.cboperiod_SelectedIndexChanged); componentResourceManager.ApplyResources(this.txtwrite, "txtwrite"); this.txtwrite.Name = "txtwrite"; this.txtwrite.KeyPress += new KeyPressEventHandler(this.txtwrite_KeyPress); componentResourceManager.ApplyResources(this.chkchart1, "chkchart1"); this.chkchart1.ForeColor = Color.Black; this.chkchart1.Name = "chkchart1"; this.chkchart1.UseVisualStyleBackColor = true; componentResourceManager.ApplyResources(this.chkchart3, "chkchart3"); this.chkchart3.ForeColor = Color.Black; this.chkchart3.Name = "chkchart3"; this.chkchart3.UseVisualStyleBackColor = true; componentResourceManager.ApplyResources(this.lbtitle, "lbtitle"); this.lbtitle.ForeColor = Color.Black; this.lbtitle.Name = "lbtitle"; componentResourceManager.ApplyResources(this.chkchart4, "chkchart4"); this.chkchart4.ForeColor = Color.Black; this.chkchart4.Name = "chkchart4"; this.chkchart4.UseVisualStyleBackColor = true; componentResourceManager.ApplyResources(this.chkchart2, "chkchart2"); this.chkchart2.ForeColor = Color.Black; this.chkchart2.Name = "chkchart2"; this.chkchart2.UseVisualStyleBackColor = true; this.groupBox2.Controls.Add(this.btndel); this.groupBox2.Controls.Add(this.btnAdd); this.groupBox2.Controls.Add(this.grouplist); componentResourceManager.ApplyResources(this.groupBox2, "groupBox2"); this.groupBox2.ForeColor = Color.FromArgb(20, 73, 160); this.groupBox2.Name = "groupBox2"; this.groupBox2.TabStop = false; this.btndel.BackColor = Color.Gainsboro; componentResourceManager.ApplyResources(this.btndel, "btndel"); this.btndel.ForeColor = SystemColors.ControlText; this.btndel.Name = "btndel"; this.btndel.UseVisualStyleBackColor = false; this.btndel.Click += new System.EventHandler(this.btndel_Click); this.btnAdd.BackColor = Color.Gainsboro; componentResourceManager.ApplyResources(this.btnAdd, "btnAdd"); this.btnAdd.ForeColor = SystemColors.ControlText; this.btnAdd.Name = "btnAdd"; this.btnAdd.UseVisualStyleBackColor = false; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); this.grouplist.Columns.AddRange(new ColumnHeader[] { this.gptype, this.gpname }); componentResourceManager.ApplyResources(this.grouplist, "grouplist"); this.grouplist.FullRowSelect = true; this.grouplist.HideSelection = false; this.grouplist.Name = "grouplist"; this.grouplist.UseCompatibleStateImageBehavior = false; this.grouplist.View = View.Details; this.grouplist.SelectedIndexChanged += new System.EventHandler(this.grouplist_SelectedIndexChanged); componentResourceManager.ApplyResources(this.gptype, "gptype"); componentResourceManager.ApplyResources(this.gpname, "gpname"); this.cboduration.DropDownStyle = ComboBoxStyle.DropDownList; componentResourceManager.ApplyResources(this.cboduration, "cboduration"); this.cboduration.FormattingEnabled = true; this.cboduration.Items.AddRange(new object[] { componentResourceManager.GetString("cboduration.Items"), componentResourceManager.GetString("cboduration.Items1"), componentResourceManager.GetString("cboduration.Items2"), componentResourceManager.GetString("cboduration.Items3"), componentResourceManager.GetString("cboduration.Items4"), componentResourceManager.GetString("cboduration.Items5"), componentResourceManager.GetString("cboduration.Items6") }); this.cboduration.Name = "cboduration"; componentResourceManager.ApplyResources(this.chkchart5, "chkchart5"); this.chkchart5.ForeColor = Color.Black; this.chkchart5.Name = "chkchart5"; this.chkchart5.UseVisualStyleBackColor = true; this.grpbchart.Controls.Add(this.chkchart1); this.grpbchart.Controls.Add(this.chkchart3); this.grpbchart.Controls.Add(this.chkchart4); this.grpbchart.Controls.Add(this.chkchart2); this.grpbchart.Controls.Add(this.chkchart5); componentResourceManager.ApplyResources(this.grpbchart, "grpbchart"); this.grpbchart.ForeColor = Color.FromArgb(20, 73, 160); this.grpbchart.Name = "grpbchart"; this.grpbchart.TabStop = false; this.gbxInfo.Controls.Add(this.tbduration); this.gbxInfo.Controls.Add(this.cboduration); this.gbxInfo.Controls.Add(this.lbtitle); this.gbxInfo.Controls.Add(this.label1); this.gbxInfo.Controls.Add(this.dtpbegin); this.gbxInfo.Controls.Add(this.txttitle); this.gbxInfo.Controls.Add(this.label14); this.gbxInfo.Controls.Add(this.lbwriter); this.gbxInfo.Controls.Add(this.label15); this.gbxInfo.Controls.Add(this.dtptime); this.gbxInfo.Controls.Add(this.cboperiod); this.gbxInfo.Controls.Add(this.txtwrite); this.gbxInfo.Controls.Add(this.label29); componentResourceManager.ApplyResources(this.gbxInfo, "gbxInfo"); this.gbxInfo.ForeColor = Color.FromArgb(20, 73, 160); this.gbxInfo.Name = "gbxInfo"; this.gbxInfo.TabStop = false; componentResourceManager.ApplyResources(this.tbduration, "tbduration"); this.tbduration.Name = "tbduration"; this.tbduration.KeyPress += new KeyPressEventHandler(this.int_KeyPress); componentResourceManager.ApplyResources(this.label29, "label29"); this.label29.ForeColor = Color.Black; this.label29.Name = "label29"; base.AutoScaleMode = AutoScaleMode.None; this.BackColor = Color.WhiteSmoke; base.Controls.Add(this.btnGen); base.Controls.Add(this.groupBox2); base.Controls.Add(this.grpbchart); base.Controls.Add(this.gbxInfo); componentResourceManager.ApplyResources(this, "$this"); base.Name = "ThermGenRptPara"; this.groupBox2.ResumeLayout(false); this.grpbchart.ResumeLayout(false); this.grpbchart.PerformLayout(); this.gbxInfo.ResumeLayout(false); this.gbxInfo.PerformLayout(); base.ResumeLayout(false); }
/// <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(); ComponentResourceManager resources = new ComponentResourceManager(typeof(LayoutListBox)); this._lbxItems = new ListBox(); this._btnPanel = new Panel(); this._btnDown = new Button(); this._btnUp = new Button(); this._btnRemove = new Button(); this._listPanel = new Panel(); this.TV_Items = new CodersLab.Windows.Controls.TreeView(); this.IL = new System.Windows.Forms.ImageList(this.components); this._btnPanel.SuspendLayout(); this._listPanel.SuspendLayout(); this.SuspendLayout(); // _lbxItems resources.ApplyResources(this._lbxItems, "_lbxItems"); this._lbxItems.DrawMode = DrawMode.OwnerDrawFixed; this._lbxItems.FormattingEnabled = true; this._lbxItems.Name = "_lbxItems"; this._lbxItems.SelectionMode = SelectionMode.MultiExtended; this._lbxItems.SelectedIndexChanged += LbxItemsSelectedIndexChanged; // _btnPanel resources.ApplyResources(this._btnPanel, "_btnPanel"); this._btnPanel.Controls.Add(this._btnDown); this._btnPanel.Controls.Add(this._btnUp); this._btnPanel.Controls.Add(this._btnRemove); this._btnPanel.Name = "_btnPanel"; // _btnDown resources.ApplyResources(this._btnDown, "_btnDown"); this._btnDown.Image = Images.down; this._btnDown.Name = "_btnDown"; this._btnDown.UseVisualStyleBackColor = true; this._btnDown.Click += BtnDownClick; // _btnUp resources.ApplyResources(this._btnUp, "_btnUp"); this._btnUp.Image = Images.up; this._btnUp.Name = "_btnUp"; this._btnUp.UseVisualStyleBackColor = true; this._btnUp.Click += BtnUpClick; // _btnRemove resources.ApplyResources(this._btnRemove, "_btnRemove"); this._btnRemove.Image = Images.mnuLayerClear; this._btnRemove.Name = "_btnRemove"; this._btnRemove.UseVisualStyleBackColor = true; this._btnRemove.Click += BtnRemoveClick; // _listPanel resources.ApplyResources(this._listPanel, "_listPanel"); this._listPanel.BackColor = Color.White; this._listPanel.Controls.Add(this.TV_Items); this._listPanel.Name = "_listPanel"; // // TV_Items // resources.ApplyResources(this.TV_Items, "TV_Items"); this.TV_Items.FullRowSelect = true; this.TV_Items.HideSelection = false; this.TV_Items.ImageList = this.IL; this.TV_Items.LabelEdit = true; this.TV_Items.Name = "TV_Items"; this.TV_Items.SelectionBackColor = System.Drawing.SystemColors.Highlight; this.TV_Items.SelectionMode = CodersLab.Windows.Controls.TreeViewSelectionMode.MultiSelect; this.TV_Items.SelectionsChanged += new System.EventHandler(this.TV_Items_SelectionsChanged); this.TV_Items.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.TV_Items_AfterLabelEdit); this.TV_Items.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.TV_Items_AfterSelect); this.TV_Items.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TV_Items_NodeMouseClick); this.TV_Items.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TV_Items_KeyUp); // IL // this.IL.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("IL.ImageStream"))); this.IL.TransparentColor = System.Drawing.Color.Transparent; this.IL.Images.SetKeyName(0, "16Objects.png"); this.IL.Images.SetKeyName(1, "FolderOpen.png"); this.IL.Images.SetKeyName(2, "16Circle.png"); this.IL.Images.SetKeyName(3, "16Line.png"); this.IL.Images.SetKeyName(4, "16Rectangle.png"); this.IL.Images.SetKeyName(5, "16Image.png"); this.IL.Images.SetKeyName(6, "16Text.png"); this.IL.Images.SetKeyName(7, "map.png"); this.IL.Images.SetKeyName(8, "Legend.png"); this.IL.Images.SetKeyName(9, "ScaleBar.png"); this.IL.Images.SetKeyName(10, "16Compas.png"); this.IL.Images.SetKeyName(11, "16DynamicText.png"); this.IL.Images.SetKeyName(12, "16Graticule.png"); // LayoutListBox resources.ApplyResources(this, "$this"); this.Controls.Add(this._listPanel); this.Controls.Add(this._btnPanel); this.Name = "LayoutListBox"; this._btnPanel.ResumeLayout(false); this._listPanel.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(OptionRaceForm)); this.NameLbl = new Label(); this.NameBox = new TextBox(); this.Pages = new TabControl(); this.TraitsPage = new TabPage(); this.SkillBonusBox = new TextBox(); this.LanguageBox = new TextBox(); this.VisionBox = new TextBox(); this.SpeedBox = new TextBox(); this.SizeBox = new ComboBox(); this.AbilityScoreBox = new TextBox(); this.WeightBox = new TextBox(); this.HeightBox = new TextBox(); this.SkillBonusLbl = new Label(); this.LanguageLbl = new Label(); this.VisionLbl = new Label(); this.SpeedLbl = new Label(); this.SizeLbl = new Label(); this.AbilityScoreLbl = new Label(); this.WeightLbl = new Label(); this.HeightLbl = new Label(); this.DetailsPage = new TabPage(); this.DetailsBox = new TextBox(); this.FeaturesPage = new TabPage(); this.FeatureList = new ListView(); this.FeatureHdr = new ColumnHeader(); this.FeatureToolbar = new ToolStrip(); this.FeatureAddBtn = new ToolStripButton(); this.FeatureRemoveBtn = new ToolStripButton(); this.FeatureEditBtn = new ToolStripButton(); this.PowersPage = new TabPage(); this.PowerList = new ListView(); this.PowerHdr = new ColumnHeader(); this.PowerToolbar = new ToolStrip(); this.PowerAddBtn = new ToolStripButton(); this.PowerRemoveBtn = new ToolStripButton(); this.PowerEditBtn = new ToolStripButton(); this.OKBtn = new Button(); this.CancelBtn = new Button(); this.QuoteLbl = new Label(); this.QuoteBox = new TextBox(); this.Pages.SuspendLayout(); this.TraitsPage.SuspendLayout(); this.DetailsPage.SuspendLayout(); this.FeaturesPage.SuspendLayout(); this.FeatureToolbar.SuspendLayout(); this.PowersPage.SuspendLayout(); this.PowerToolbar.SuspendLayout(); base.SuspendLayout(); this.NameLbl.AutoSize = true; this.NameLbl.Location = new Point(12, 15); this.NameLbl.Name = "NameLbl"; this.NameLbl.Size = new System.Drawing.Size(38, 13); this.NameLbl.TabIndex = 0; this.NameLbl.Text = "Name:"; this.NameBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.NameBox.Location = new Point(56, 12); this.NameBox.Name = "NameBox"; this.NameBox.Size = new System.Drawing.Size(305, 20); this.NameBox.TabIndex = 1; this.Pages.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.Pages.Controls.Add(this.TraitsPage); this.Pages.Controls.Add(this.DetailsPage); this.Pages.Controls.Add(this.FeaturesPage); this.Pages.Controls.Add(this.PowersPage); this.Pages.Location = new Point(12, 38); this.Pages.Name = "Pages"; this.Pages.SelectedIndex = 0; this.Pages.Size = new System.Drawing.Size(349, 248); this.Pages.TabIndex = 2; this.TraitsPage.Controls.Add(this.SkillBonusBox); this.TraitsPage.Controls.Add(this.LanguageBox); this.TraitsPage.Controls.Add(this.VisionBox); this.TraitsPage.Controls.Add(this.SpeedBox); this.TraitsPage.Controls.Add(this.SizeBox); this.TraitsPage.Controls.Add(this.AbilityScoreBox); this.TraitsPage.Controls.Add(this.WeightBox); this.TraitsPage.Controls.Add(this.HeightBox); this.TraitsPage.Controls.Add(this.SkillBonusLbl); this.TraitsPage.Controls.Add(this.LanguageLbl); this.TraitsPage.Controls.Add(this.VisionLbl); this.TraitsPage.Controls.Add(this.SpeedLbl); this.TraitsPage.Controls.Add(this.SizeLbl); this.TraitsPage.Controls.Add(this.AbilityScoreLbl); this.TraitsPage.Controls.Add(this.WeightLbl); this.TraitsPage.Controls.Add(this.HeightLbl); this.TraitsPage.Location = new Point(4, 22); this.TraitsPage.Name = "TraitsPage"; this.TraitsPage.Padding = new System.Windows.Forms.Padding(3); this.TraitsPage.Size = new System.Drawing.Size(341, 222); this.TraitsPage.TabIndex = 1; this.TraitsPage.Text = "Racial Traits"; this.TraitsPage.UseVisualStyleBackColor = true; this.SkillBonusBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.SkillBonusBox.Location = new Point(99, 189); this.SkillBonusBox.Name = "SkillBonusBox"; this.SkillBonusBox.Size = new System.Drawing.Size(236, 20); this.SkillBonusBox.TabIndex = 15; this.LanguageBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.LanguageBox.Location = new Point(99, 163); this.LanguageBox.Name = "LanguageBox"; this.LanguageBox.Size = new System.Drawing.Size(236, 20); this.LanguageBox.TabIndex = 13; this.VisionBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.VisionBox.Location = new Point(99, 137); this.VisionBox.Name = "VisionBox"; this.VisionBox.Size = new System.Drawing.Size(236, 20); this.VisionBox.TabIndex = 11; this.SpeedBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.SpeedBox.Location = new Point(99, 111); this.SpeedBox.Name = "SpeedBox"; this.SpeedBox.Size = new System.Drawing.Size(236, 20); this.SpeedBox.TabIndex = 9; this.SizeBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.SizeBox.DropDownStyle = ComboBoxStyle.DropDownList; this.SizeBox.FormattingEnabled = true; this.SizeBox.Location = new Point(99, 84); this.SizeBox.Name = "SizeBox"; this.SizeBox.Size = new System.Drawing.Size(236, 21); this.SizeBox.TabIndex = 7; this.AbilityScoreBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.AbilityScoreBox.Location = new Point(99, 58); this.AbilityScoreBox.Name = "AbilityScoreBox"; this.AbilityScoreBox.Size = new System.Drawing.Size(236, 20); this.AbilityScoreBox.TabIndex = 5; this.WeightBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.WeightBox.Location = new Point(99, 32); this.WeightBox.Name = "WeightBox"; this.WeightBox.Size = new System.Drawing.Size(236, 20); this.WeightBox.TabIndex = 3; this.HeightBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; this.HeightBox.Location = new Point(99, 6); this.HeightBox.Name = "HeightBox"; this.HeightBox.Size = new System.Drawing.Size(236, 20); this.HeightBox.TabIndex = 1; this.SkillBonusLbl.AutoSize = true; this.SkillBonusLbl.Location = new Point(6, 192); this.SkillBonusLbl.Name = "SkillBonusLbl"; this.SkillBonusLbl.Size = new System.Drawing.Size(73, 13); this.SkillBonusLbl.TabIndex = 14; this.SkillBonusLbl.Text = "Skill Bonuses:"; this.LanguageLbl.AutoSize = true; this.LanguageLbl.Location = new Point(6, 166); this.LanguageLbl.Name = "LanguageLbl"; this.LanguageLbl.Size = new System.Drawing.Size(63, 13); this.LanguageLbl.TabIndex = 12; this.LanguageLbl.Text = "Languages:"; this.VisionLbl.AutoSize = true; this.VisionLbl.Location = new Point(6, 140); this.VisionLbl.Name = "VisionLbl"; this.VisionLbl.Size = new System.Drawing.Size(38, 13); this.VisionLbl.TabIndex = 10; this.VisionLbl.Text = "Vision:"; this.SpeedLbl.AutoSize = true; this.SpeedLbl.Location = new Point(6, 114); this.SpeedLbl.Name = "SpeedLbl"; this.SpeedLbl.Size = new System.Drawing.Size(41, 13); this.SpeedLbl.TabIndex = 8; this.SpeedLbl.Text = "Speed:"; this.SizeLbl.AutoSize = true; this.SizeLbl.Location = new Point(6, 87); this.SizeLbl.Name = "SizeLbl"; this.SizeLbl.Size = new System.Drawing.Size(30, 13); this.SizeLbl.TabIndex = 6; this.SizeLbl.Text = "Size:"; this.AbilityScoreLbl.AutoSize = true; this.AbilityScoreLbl.Location = new Point(6, 61); this.AbilityScoreLbl.Name = "AbilityScoreLbl"; this.AbilityScoreLbl.Size = new System.Drawing.Size(73, 13); this.AbilityScoreLbl.TabIndex = 4; this.AbilityScoreLbl.Text = "Ability Scores:"; this.WeightLbl.AutoSize = true; this.WeightLbl.Location = new Point(6, 35); this.WeightLbl.Name = "WeightLbl"; this.WeightLbl.Size = new System.Drawing.Size(87, 13); this.WeightLbl.TabIndex = 2; this.WeightLbl.Text = "Average Weight:"; this.HeightLbl.AutoSize = true; this.HeightLbl.Location = new Point(6, 9); this.HeightLbl.Name = "HeightLbl"; this.HeightLbl.Size = new System.Drawing.Size(84, 13); this.HeightLbl.TabIndex = 0; this.HeightLbl.Text = "Average Height:"; this.DetailsPage.Controls.Add(this.QuoteBox); this.DetailsPage.Controls.Add(this.QuoteLbl); this.DetailsPage.Controls.Add(this.DetailsBox); this.DetailsPage.Location = new Point(4, 22); this.DetailsPage.Name = "DetailsPage"; this.DetailsPage.Padding = new System.Windows.Forms.Padding(3); this.DetailsPage.Size = new System.Drawing.Size(341, 222); this.DetailsPage.TabIndex = 0; this.DetailsPage.Text = "Details"; this.DetailsPage.UseVisualStyleBackColor = true; this.DetailsBox.AcceptsReturn = true; this.DetailsBox.AcceptsTab = true; this.DetailsBox.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.DetailsBox.Location = new Point(6, 6); this.DetailsBox.Multiline = true; this.DetailsBox.Name = "DetailsBox"; this.DetailsBox.ScrollBars = ScrollBars.Vertical; this.DetailsBox.Size = new System.Drawing.Size(329, 184); this.DetailsBox.TabIndex = 0; this.FeaturesPage.Controls.Add(this.FeatureList); this.FeaturesPage.Controls.Add(this.FeatureToolbar); this.FeaturesPage.Location = new Point(4, 22); this.FeaturesPage.Name = "FeaturesPage"; this.FeaturesPage.Padding = new System.Windows.Forms.Padding(3); this.FeaturesPage.Size = new System.Drawing.Size(341, 222); this.FeaturesPage.TabIndex = 2; this.FeaturesPage.Text = "Features"; this.FeaturesPage.UseVisualStyleBackColor = true; this.FeatureList.Columns.AddRange(new ColumnHeader[] { this.FeatureHdr }); this.FeatureList.Dock = DockStyle.Fill; this.FeatureList.FullRowSelect = true; this.FeatureList.HeaderStyle = ColumnHeaderStyle.Nonclickable; this.FeatureList.HideSelection = false; this.FeatureList.Location = new Point(3, 28); this.FeatureList.MultiSelect = false; this.FeatureList.Name = "FeatureList"; this.FeatureList.Size = new System.Drawing.Size(335, 191); this.FeatureList.TabIndex = 1; this.FeatureList.UseCompatibleStateImageBehavior = false; this.FeatureList.View = View.Details; this.FeatureList.DoubleClick += new EventHandler(this.FeatureEditBtn_Click); this.FeatureHdr.Text = "Feature"; this.FeatureHdr.Width = 300; ToolStripItemCollection items = this.FeatureToolbar.Items; ToolStripItem[] featureAddBtn = new ToolStripItem[] { this.FeatureAddBtn, this.FeatureRemoveBtn, this.FeatureEditBtn }; items.AddRange(featureAddBtn); this.FeatureToolbar.Location = new Point(3, 3); this.FeatureToolbar.Name = "FeatureToolbar"; this.FeatureToolbar.Size = new System.Drawing.Size(335, 25); this.FeatureToolbar.TabIndex = 0; this.FeatureToolbar.Text = "toolStrip1"; this.FeatureAddBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.FeatureAddBtn.Image = (Image)componentResourceManager.GetObject("FeatureAddBtn.Image"); this.FeatureAddBtn.ImageTransparentColor = Color.Magenta; this.FeatureAddBtn.Name = "FeatureAddBtn"; this.FeatureAddBtn.Size = new System.Drawing.Size(33, 22); this.FeatureAddBtn.Text = "Add"; this.FeatureAddBtn.Click += new EventHandler(this.FeatureAddBtn_Click); this.FeatureRemoveBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.FeatureRemoveBtn.Image = (Image)componentResourceManager.GetObject("FeatureRemoveBtn.Image"); this.FeatureRemoveBtn.ImageTransparentColor = Color.Magenta; this.FeatureRemoveBtn.Name = "FeatureRemoveBtn"; this.FeatureRemoveBtn.Size = new System.Drawing.Size(54, 22); this.FeatureRemoveBtn.Text = "Remove"; this.FeatureRemoveBtn.Click += new EventHandler(this.FeatureRemoveBtn_Click); this.FeatureEditBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.FeatureEditBtn.Image = (Image)componentResourceManager.GetObject("FeatureEditBtn.Image"); this.FeatureEditBtn.ImageTransparentColor = Color.Magenta; this.FeatureEditBtn.Name = "FeatureEditBtn"; this.FeatureEditBtn.Size = new System.Drawing.Size(31, 22); this.FeatureEditBtn.Text = "Edit"; this.FeatureEditBtn.Click += new EventHandler(this.FeatureEditBtn_Click); this.PowersPage.Controls.Add(this.PowerList); this.PowersPage.Controls.Add(this.PowerToolbar); this.PowersPage.Location = new Point(4, 22); this.PowersPage.Name = "PowersPage"; this.PowersPage.Padding = new System.Windows.Forms.Padding(3); this.PowersPage.Size = new System.Drawing.Size(341, 222); this.PowersPage.TabIndex = 3; this.PowersPage.Text = "Powers"; this.PowersPage.UseVisualStyleBackColor = true; this.PowerList.Columns.AddRange(new ColumnHeader[] { this.PowerHdr }); this.PowerList.Dock = DockStyle.Fill; this.PowerList.FullRowSelect = true; this.PowerList.HeaderStyle = ColumnHeaderStyle.Nonclickable; this.PowerList.HideSelection = false; this.PowerList.Location = new Point(3, 28); this.PowerList.MultiSelect = false; this.PowerList.Name = "PowerList"; this.PowerList.Size = new System.Drawing.Size(335, 191); this.PowerList.TabIndex = 2; this.PowerList.UseCompatibleStateImageBehavior = false; this.PowerList.View = View.Details; this.PowerList.DoubleClick += new EventHandler(this.PowerEditBtn_Click); this.PowerHdr.Text = "Feature"; this.PowerHdr.Width = 300; ToolStripItemCollection toolStripItemCollections = this.PowerToolbar.Items; ToolStripItem[] powerAddBtn = new ToolStripItem[] { this.PowerAddBtn, this.PowerRemoveBtn, this.PowerEditBtn }; toolStripItemCollections.AddRange(powerAddBtn); this.PowerToolbar.Location = new Point(3, 3); this.PowerToolbar.Name = "PowerToolbar"; this.PowerToolbar.Size = new System.Drawing.Size(335, 25); this.PowerToolbar.TabIndex = 1; this.PowerToolbar.Text = "toolStrip2"; this.PowerAddBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.PowerAddBtn.Image = (Image)componentResourceManager.GetObject("PowerAddBtn.Image"); this.PowerAddBtn.ImageTransparentColor = Color.Magenta; this.PowerAddBtn.Name = "PowerAddBtn"; this.PowerAddBtn.Size = new System.Drawing.Size(33, 22); this.PowerAddBtn.Text = "Add"; this.PowerAddBtn.Click += new EventHandler(this.PowerAddBtn_Click); this.PowerRemoveBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.PowerRemoveBtn.Image = (Image)componentResourceManager.GetObject("PowerRemoveBtn.Image"); this.PowerRemoveBtn.ImageTransparentColor = Color.Magenta; this.PowerRemoveBtn.Name = "PowerRemoveBtn"; this.PowerRemoveBtn.Size = new System.Drawing.Size(54, 22); this.PowerRemoveBtn.Text = "Remove"; this.PowerRemoveBtn.Click += new EventHandler(this.PowerRemoveBtn_Click); this.PowerEditBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.PowerEditBtn.Image = (Image)componentResourceManager.GetObject("PowerEditBtn.Image"); this.PowerEditBtn.ImageTransparentColor = Color.Magenta; this.PowerEditBtn.Name = "PowerEditBtn"; this.PowerEditBtn.Size = new System.Drawing.Size(31, 22); this.PowerEditBtn.Text = "Edit"; this.PowerEditBtn.Click += new EventHandler(this.PowerEditBtn_Click); this.OKBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.OKBtn.DialogResult = System.Windows.Forms.DialogResult.OK; this.OKBtn.Location = new Point(205, 292); this.OKBtn.Name = "OKBtn"; this.OKBtn.Size = new System.Drawing.Size(75, 23); this.OKBtn.TabIndex = 3; this.OKBtn.Text = "OK"; this.OKBtn.UseVisualStyleBackColor = true; this.OKBtn.Click += new EventHandler(this.OKBtn_Click); this.CancelBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.CancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.CancelBtn.Location = new Point(286, 292); this.CancelBtn.Name = "CancelBtn"; this.CancelBtn.Size = new System.Drawing.Size(75, 23); this.CancelBtn.TabIndex = 4; this.CancelBtn.Text = "Cancel"; this.CancelBtn.UseVisualStyleBackColor = true; this.QuoteLbl.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; this.QuoteLbl.AutoSize = true; this.QuoteLbl.Location = new Point(6, 199); this.QuoteLbl.Name = "QuoteLbl"; this.QuoteLbl.Size = new System.Drawing.Size(39, 13); this.QuoteLbl.TabIndex = 1; this.QuoteLbl.Text = "Quote:"; this.QuoteBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.QuoteBox.Location = new Point(51, 196); this.QuoteBox.Name = "QuoteBox"; this.QuoteBox.Size = new System.Drawing.Size(284, 20); this.QuoteBox.TabIndex = 2; base.AcceptButton = this.OKBtn; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.CancelButton = this.CancelBtn; base.ClientSize = new System.Drawing.Size(373, 327); base.Controls.Add(this.CancelBtn); base.Controls.Add(this.OKBtn); base.Controls.Add(this.Pages); base.Controls.Add(this.NameBox); base.Controls.Add(this.NameLbl); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "OptionRaceForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Race"; this.Pages.ResumeLayout(false); this.TraitsPage.ResumeLayout(false); this.TraitsPage.PerformLayout(); this.DetailsPage.ResumeLayout(false); this.DetailsPage.PerformLayout(); this.FeaturesPage.ResumeLayout(false); this.FeaturesPage.PerformLayout(); this.FeatureToolbar.ResumeLayout(false); this.FeatureToolbar.PerformLayout(); this.PowersPage.ResumeLayout(false); this.PowersPage.PerformLayout(); this.PowerToolbar.ResumeLayout(false); this.PowerToolbar.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmDeleteKeys)); groupBox3 = new GroupControl(); checkEditBefore = new CheckEdit(); checkEditFrom = new CheckEdit(); btAccept = new SimpleButton(); dtpBefore = new DateEdit(); dtpFrom = new DateEdit(); labelControl1 = new LabelControl(); dtValueFrom = new DateEdit(); btSave = new SimpleButton(); groupControl1 = new GroupControl(); labelControl2 = new LabelControl(); simpleButton1 = new SimpleButton(); groupBox3.BeginInit(); groupBox3.SuspendLayout(); checkEditBefore.Properties.BeginInit(); checkEditFrom.Properties.BeginInit(); dtpBefore.Properties.CalendarTimeProperties.BeginInit(); dtpBefore.Properties.BeginInit(); dtpFrom.Properties.CalendarTimeProperties.BeginInit(); dtpFrom.Properties.BeginInit(); dtValueFrom.Properties.CalendarTimeProperties.BeginInit(); dtValueFrom.Properties.BeginInit(); groupControl1.BeginInit(); groupControl1.SuspendLayout(); SuspendLayout(); componentResourceManager.ApplyResources(groupBox3, "groupBox3"); groupBox3.AppearanceCaption.Font = (Font)componentResourceManager.GetObject("groupBox3.AppearanceCaption.Font"); groupBox3.AppearanceCaption.FontSizeDelta = (int)componentResourceManager.GetObject("groupBox3.AppearanceCaption.FontSizeDelta"); groupBox3.AppearanceCaption.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("groupBox3.AppearanceCaption.FontStyleDelta"); groupBox3.AppearanceCaption.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("groupBox3.AppearanceCaption.GradientMode"); groupBox3.AppearanceCaption.Image = (Image)componentResourceManager.GetObject("groupBox3.AppearanceCaption.Image"); groupBox3.AppearanceCaption.Options.UseFont = true; groupBox3.Controls.Add(checkEditBefore); groupBox3.Controls.Add(checkEditFrom); groupBox3.Controls.Add(btAccept); groupBox3.Controls.Add(dtpBefore); groupBox3.Controls.Add(dtpFrom); groupBox3.Name = "groupBox3"; groupBox3.ShowCaption = false; groupBox3.TabStop = true; componentResourceManager.ApplyResources(checkEditBefore, "checkEditBefore"); checkEditBefore.Name = "checkEditBefore"; checkEditBefore.Properties.AccessibleDescription = componentResourceManager.GetString("checkEditBefore.Properties.AccessibleDescription"); checkEditBefore.Properties.AccessibleName = componentResourceManager.GetString("checkEditBefore.Properties.AccessibleName"); checkEditBefore.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.Font"); checkEditBefore.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.FontSizeDelta"); checkEditBefore.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.FontStyleDelta"); checkEditBefore.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.GradientMode"); checkEditBefore.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("checkEditBefore.Properties.Appearance.Image"); checkEditBefore.Properties.Appearance.Options.UseFont = true; checkEditBefore.Properties.AutoHeight = (bool)componentResourceManager.GetObject("checkEditBefore.Properties.AutoHeight"); checkEditBefore.Properties.Caption = componentResourceManager.GetString("checkEditBefore.Properties.Caption"); checkEditBefore.Properties.DisplayValueChecked = componentResourceManager.GetString("checkEditBefore.Properties.DisplayValueChecked"); checkEditBefore.Properties.DisplayValueGrayed = componentResourceManager.GetString("checkEditBefore.Properties.DisplayValueGrayed"); checkEditBefore.Properties.DisplayValueUnchecked = componentResourceManager.GetString("checkEditBefore.Properties.DisplayValueUnchecked"); checkEditBefore.CheckedChanged += checkEditBefore_CheckedChanged; componentResourceManager.ApplyResources(checkEditFrom, "checkEditFrom"); checkEditFrom.Name = "checkEditFrom"; checkEditFrom.Properties.AccessibleDescription = componentResourceManager.GetString("checkEditFrom.Properties.AccessibleDescription"); checkEditFrom.Properties.AccessibleName = componentResourceManager.GetString("checkEditFrom.Properties.AccessibleName"); checkEditFrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.Font"); checkEditFrom.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.FontSizeDelta"); checkEditFrom.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.FontStyleDelta"); checkEditFrom.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.GradientMode"); checkEditFrom.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("checkEditFrom.Properties.Appearance.Image"); checkEditFrom.Properties.Appearance.Options.UseFont = true; checkEditFrom.Properties.AutoHeight = (bool)componentResourceManager.GetObject("checkEditFrom.Properties.AutoHeight"); checkEditFrom.Properties.Caption = componentResourceManager.GetString("checkEditFrom.Properties.Caption"); checkEditFrom.Properties.DisplayValueChecked = componentResourceManager.GetString("checkEditFrom.Properties.DisplayValueChecked"); checkEditFrom.Properties.DisplayValueGrayed = componentResourceManager.GetString("checkEditFrom.Properties.DisplayValueGrayed"); checkEditFrom.Properties.DisplayValueUnchecked = componentResourceManager.GetString("checkEditFrom.Properties.DisplayValueUnchecked"); checkEditFrom.CheckedChanged += checkEditFrom_CheckedChanged; componentResourceManager.ApplyResources(btAccept, "btAccept"); btAccept.Appearance.Font = (Font)componentResourceManager.GetObject("btAccept.Appearance.Font"); btAccept.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btAccept.Appearance.FontSizeDelta"); btAccept.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btAccept.Appearance.FontStyleDelta"); btAccept.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btAccept.Appearance.GradientMode"); btAccept.Appearance.Image = (Image)componentResourceManager.GetObject("btAccept.Appearance.Image"); btAccept.Appearance.Options.UseFont = true; btAccept.Name = "btAccept"; btAccept.Click += btAccept_Click; componentResourceManager.ApplyResources(dtpBefore, "dtpBefore"); dtpBefore.Name = "dtpBefore"; dtpBefore.Properties.AccessibleDescription = componentResourceManager.GetString("dtpBefore.Properties.AccessibleDescription"); dtpBefore.Properties.AccessibleName = componentResourceManager.GetString("dtpBefore.Properties.AccessibleName"); dtpBefore.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.Font"); dtpBefore.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.FontSizeDelta"); dtpBefore.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.FontStyleDelta"); dtpBefore.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.GradientMode"); dtpBefore.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.Image"); dtpBefore.Properties.Appearance.Options.UseFont = true; dtpBefore.Properties.AutoHeight = (bool)componentResourceManager.GetObject("dtpBefore.Properties.AutoHeight"); dtpBefore.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtpBefore.Properties.CalendarTimeProperties.AccessibleDescription = componentResourceManager.GetString("dtpBefore.Properties.CalendarTimeProperties.AccessibleDescription"); dtpBefore.Properties.CalendarTimeProperties.AccessibleName = componentResourceManager.GetString("dtpBefore.Properties.CalendarTimeProperties.AccessibleName"); dtpBefore.Properties.CalendarTimeProperties.AutoHeight = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.AutoHeight"); dtpBefore.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtpBefore.Properties.CalendarTimeProperties.DisplayFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtpBefore.Properties.CalendarTimeProperties.DisplayFormat.FormatType = FormatType.DateTime; dtpBefore.Properties.CalendarTimeProperties.EditFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtpBefore.Properties.CalendarTimeProperties.EditFormat.FormatType = FormatType.DateTime; dtpBefore.Properties.CalendarTimeProperties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.AutoComplete"); dtpBefore.Properties.CalendarTimeProperties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.BeepOnError"); dtpBefore.Properties.CalendarTimeProperties.Mask.EditMask = componentResourceManager.GetString("dtpBefore.Properties.CalendarTimeProperties.Mask.EditMask"); dtpBefore.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank"); dtpBefore.Properties.CalendarTimeProperties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.MaskType"); dtpBefore.Properties.CalendarTimeProperties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.PlaceHolder"); dtpBefore.Properties.CalendarTimeProperties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.SaveLiteral"); dtpBefore.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders"); dtpBefore.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat"); dtpBefore.Properties.CalendarTimeProperties.NullValuePrompt = componentResourceManager.GetString("dtpBefore.Properties.CalendarTimeProperties.NullValuePrompt"); dtpBefore.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtpBefore.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue"); dtpBefore.Properties.DisplayFormat.FormatString = "dd.MM.yyyy HH:mm:ss"; dtpBefore.Properties.DisplayFormat.FormatType = FormatType.DateTime; dtpBefore.Properties.EditFormat.FormatString = "dd.MMMM.yyyy HH:mm:ss"; dtpBefore.Properties.EditFormat.FormatType = FormatType.DateTime; dtpBefore.Properties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtpBefore.Properties.Mask.AutoComplete"); dtpBefore.Properties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.BeepOnError"); dtpBefore.Properties.Mask.EditMask = componentResourceManager.GetString("dtpBefore.Properties.Mask.EditMask"); dtpBefore.Properties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.IgnoreMaskBlank"); dtpBefore.Properties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtpBefore.Properties.Mask.MaskType"); dtpBefore.Properties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtpBefore.Properties.Mask.PlaceHolder"); dtpBefore.Properties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.SaveLiteral"); dtpBefore.Properties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.ShowPlaceHolders"); dtpBefore.Properties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtpBefore.Properties.Mask.UseMaskAsDisplayFormat"); dtpBefore.Properties.NullValuePrompt = componentResourceManager.GetString("dtpBefore.Properties.NullValuePrompt"); dtpBefore.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtpBefore.Properties.NullValuePromptShowForEmptyValue"); componentResourceManager.ApplyResources(dtpFrom, "dtpFrom"); dtpFrom.Name = "dtpFrom"; dtpFrom.Properties.AccessibleDescription = componentResourceManager.GetString("dtpFrom.Properties.AccessibleDescription"); dtpFrom.Properties.AccessibleName = componentResourceManager.GetString("dtpFrom.Properties.AccessibleName"); dtpFrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.Font"); dtpFrom.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.FontSizeDelta"); dtpFrom.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.FontStyleDelta"); dtpFrom.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.GradientMode"); dtpFrom.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.Image"); dtpFrom.Properties.Appearance.Options.UseFont = true; dtpFrom.Properties.AutoHeight = (bool)componentResourceManager.GetObject("dtpFrom.Properties.AutoHeight"); dtpFrom.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtpFrom.Properties.CalendarTimeProperties.AccessibleDescription = componentResourceManager.GetString("dtpFrom.Properties.CalendarTimeProperties.AccessibleDescription"); dtpFrom.Properties.CalendarTimeProperties.AccessibleName = componentResourceManager.GetString("dtpFrom.Properties.CalendarTimeProperties.AccessibleName"); dtpFrom.Properties.CalendarTimeProperties.AutoHeight = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.AutoHeight"); dtpFrom.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtpFrom.Properties.CalendarTimeProperties.DisplayFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtpFrom.Properties.CalendarTimeProperties.DisplayFormat.FormatType = FormatType.DateTime; dtpFrom.Properties.CalendarTimeProperties.EditFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtpFrom.Properties.CalendarTimeProperties.EditFormat.FormatType = FormatType.DateTime; dtpFrom.Properties.CalendarTimeProperties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.AutoComplete"); dtpFrom.Properties.CalendarTimeProperties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.BeepOnError"); dtpFrom.Properties.CalendarTimeProperties.Mask.EditMask = componentResourceManager.GetString("dtpFrom.Properties.CalendarTimeProperties.Mask.EditMask"); dtpFrom.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank"); dtpFrom.Properties.CalendarTimeProperties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.MaskType"); dtpFrom.Properties.CalendarTimeProperties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.PlaceHolder"); dtpFrom.Properties.CalendarTimeProperties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.SaveLiteral"); dtpFrom.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders"); dtpFrom.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat"); dtpFrom.Properties.CalendarTimeProperties.NullValuePrompt = componentResourceManager.GetString("dtpFrom.Properties.CalendarTimeProperties.NullValuePrompt"); dtpFrom.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtpFrom.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue"); dtpFrom.Properties.DisplayFormat.FormatString = "dd.MM.yyyy HH:mm:ss"; dtpFrom.Properties.DisplayFormat.FormatType = FormatType.Custom; dtpFrom.Properties.EditFormat.FormatString = "dd.MMMM.yyyy HH:mm:ss"; dtpFrom.Properties.EditFormat.FormatType = FormatType.DateTime; dtpFrom.Properties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtpFrom.Properties.Mask.AutoComplete"); dtpFrom.Properties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.BeepOnError"); dtpFrom.Properties.Mask.EditMask = componentResourceManager.GetString("dtpFrom.Properties.Mask.EditMask"); dtpFrom.Properties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.IgnoreMaskBlank"); dtpFrom.Properties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtpFrom.Properties.Mask.MaskType"); dtpFrom.Properties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtpFrom.Properties.Mask.PlaceHolder"); dtpFrom.Properties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.SaveLiteral"); dtpFrom.Properties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.ShowPlaceHolders"); dtpFrom.Properties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtpFrom.Properties.Mask.UseMaskAsDisplayFormat"); dtpFrom.Properties.NullValuePrompt = componentResourceManager.GetString("dtpFrom.Properties.NullValuePrompt"); dtpFrom.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtpFrom.Properties.NullValuePromptShowForEmptyValue"); componentResourceManager.ApplyResources(labelControl1, "labelControl1"); labelControl1.Appearance.DisabledImage = (Image)componentResourceManager.GetObject("labelControl1.Appearance.DisabledImage"); labelControl1.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl1.Appearance.Font"); labelControl1.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("labelControl1.Appearance.FontSizeDelta"); labelControl1.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("labelControl1.Appearance.FontStyleDelta"); labelControl1.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("labelControl1.Appearance.GradientMode"); labelControl1.Appearance.HoverImage = (Image)componentResourceManager.GetObject("labelControl1.Appearance.HoverImage"); labelControl1.Appearance.Image = (Image)componentResourceManager.GetObject("labelControl1.Appearance.Image"); labelControl1.Appearance.PressedImage = (Image)componentResourceManager.GetObject("labelControl1.Appearance.PressedImage"); labelControl1.Name = "labelControl1"; componentResourceManager.ApplyResources(dtValueFrom, "dtValueFrom"); dtValueFrom.Name = "dtValueFrom"; dtValueFrom.Properties.AccessibleDescription = componentResourceManager.GetString("dtValueFrom.Properties.AccessibleDescription"); dtValueFrom.Properties.AccessibleName = componentResourceManager.GetString("dtValueFrom.Properties.AccessibleName"); dtValueFrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.Font"); dtValueFrom.Properties.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.FontSizeDelta"); dtValueFrom.Properties.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.FontStyleDelta"); dtValueFrom.Properties.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.GradientMode"); dtValueFrom.Properties.Appearance.Image = (Image)componentResourceManager.GetObject("dtValueFrom.Properties.Appearance.Image"); dtValueFrom.Properties.Appearance.Options.UseFont = true; dtValueFrom.Properties.AutoHeight = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.AutoHeight"); dtValueFrom.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtValueFrom.Properties.CalendarTimeProperties.AccessibleDescription = componentResourceManager.GetString("dtValueFrom.Properties.CalendarTimeProperties.AccessibleDescription"); dtValueFrom.Properties.CalendarTimeProperties.AccessibleName = componentResourceManager.GetString("dtValueFrom.Properties.CalendarTimeProperties.AccessibleName"); dtValueFrom.Properties.CalendarTimeProperties.AutoHeight = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.AutoHeight"); dtValueFrom.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); dtValueFrom.Properties.CalendarTimeProperties.DisplayFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtValueFrom.Properties.CalendarTimeProperties.DisplayFormat.FormatType = FormatType.DateTime; dtValueFrom.Properties.CalendarTimeProperties.EditFormat.FormatString = "dd.MMMM.yyyy hh:mm:ss"; dtValueFrom.Properties.CalendarTimeProperties.EditFormat.FormatType = FormatType.DateTime; dtValueFrom.Properties.CalendarTimeProperties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.AutoComplete"); dtValueFrom.Properties.CalendarTimeProperties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.BeepOnError"); dtValueFrom.Properties.CalendarTimeProperties.Mask.EditMask = componentResourceManager.GetString("dtValueFrom.Properties.CalendarTimeProperties.Mask.EditMask"); dtValueFrom.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.IgnoreMaskBlank"); dtValueFrom.Properties.CalendarTimeProperties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.MaskType"); dtValueFrom.Properties.CalendarTimeProperties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.PlaceHolder"); dtValueFrom.Properties.CalendarTimeProperties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.SaveLiteral"); dtValueFrom.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.ShowPlaceHolders"); dtValueFrom.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.Mask.UseMaskAsDisplayFormat"); dtValueFrom.Properties.CalendarTimeProperties.NullValuePrompt = componentResourceManager.GetString("dtValueFrom.Properties.CalendarTimeProperties.NullValuePrompt"); dtValueFrom.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.CalendarTimeProperties.NullValuePromptShowForEmptyValue"); dtValueFrom.Properties.DisplayFormat.FormatString = "dd.MM.yyyy HH:mm:ss"; dtValueFrom.Properties.DisplayFormat.FormatType = FormatType.DateTime; dtValueFrom.Properties.EditFormat.FormatString = "dd.MMMM.yyyy HH:mm:ss"; dtValueFrom.Properties.EditFormat.FormatType = FormatType.DateTime; dtValueFrom.Properties.Mask.AutoComplete = (AutoCompleteType)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.AutoComplete"); dtValueFrom.Properties.Mask.BeepOnError = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.BeepOnError"); dtValueFrom.Properties.Mask.EditMask = componentResourceManager.GetString("dtValueFrom.Properties.Mask.EditMask"); dtValueFrom.Properties.Mask.IgnoreMaskBlank = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.IgnoreMaskBlank"); dtValueFrom.Properties.Mask.MaskType = (MaskType)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.MaskType"); dtValueFrom.Properties.Mask.PlaceHolder = (char)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.PlaceHolder"); dtValueFrom.Properties.Mask.SaveLiteral = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.SaveLiteral"); dtValueFrom.Properties.Mask.ShowPlaceHolders = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.ShowPlaceHolders"); dtValueFrom.Properties.Mask.UseMaskAsDisplayFormat = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.Mask.UseMaskAsDisplayFormat"); dtValueFrom.Properties.NullValuePrompt = componentResourceManager.GetString("dtValueFrom.Properties.NullValuePrompt"); dtValueFrom.Properties.NullValuePromptShowForEmptyValue = (bool)componentResourceManager.GetObject("dtValueFrom.Properties.NullValuePromptShowForEmptyValue"); componentResourceManager.ApplyResources(btSave, "btSave"); btSave.Appearance.Font = (Font)componentResourceManager.GetObject("btSave.Appearance.Font"); btSave.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("btSave.Appearance.FontSizeDelta"); btSave.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("btSave.Appearance.FontStyleDelta"); btSave.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("btSave.Appearance.GradientMode"); btSave.Appearance.Image = (Image)componentResourceManager.GetObject("btSave.Appearance.Image"); btSave.Appearance.Options.UseFont = true; btSave.Name = "btSave"; btSave.Click += btSave_Click; componentResourceManager.ApplyResources(groupControl1, "groupControl1"); groupControl1.Controls.Add(btSave); groupControl1.Controls.Add(dtValueFrom); groupControl1.Name = "groupControl1"; groupControl1.ShowCaption = false; componentResourceManager.ApplyResources(labelControl2, "labelControl2"); labelControl2.Appearance.DisabledImage = (Image)componentResourceManager.GetObject("labelControl2.Appearance.DisabledImage"); labelControl2.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl2.Appearance.Font"); labelControl2.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("labelControl2.Appearance.FontSizeDelta"); labelControl2.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("labelControl2.Appearance.FontStyleDelta"); labelControl2.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("labelControl2.Appearance.GradientMode"); labelControl2.Appearance.HoverImage = (Image)componentResourceManager.GetObject("labelControl2.Appearance.HoverImage"); labelControl2.Appearance.Image = (Image)componentResourceManager.GetObject("labelControl2.Appearance.Image"); labelControl2.Appearance.PressedImage = (Image)componentResourceManager.GetObject("labelControl2.Appearance.PressedImage"); labelControl2.Name = "labelControl2"; componentResourceManager.ApplyResources(simpleButton1, "simpleButton1"); simpleButton1.Appearance.Font = (Font)componentResourceManager.GetObject("simpleButton1.Appearance.Font"); simpleButton1.Appearance.FontSizeDelta = (int)componentResourceManager.GetObject("simpleButton1.Appearance.FontSizeDelta"); simpleButton1.Appearance.FontStyleDelta = (FontStyle)componentResourceManager.GetObject("simpleButton1.Appearance.FontStyleDelta"); simpleButton1.Appearance.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("simpleButton1.Appearance.GradientMode"); simpleButton1.Appearance.Image = (Image)componentResourceManager.GetObject("simpleButton1.Appearance.Image"); simpleButton1.Appearance.Options.UseFont = true; simpleButton1.DialogResult = DialogResult.Cancel; simpleButton1.Name = "simpleButton1"; simpleButton1.Click += simpleButton1_Click; componentResourceManager.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; CancelButton = simpleButton1; Controls.Add(simpleButton1); Controls.Add(labelControl2); Controls.Add(groupControl1); Controls.Add(labelControl1); Controls.Add(groupBox3); Name = "FrmDeleteKeys"; ShowIcon = false; Load += frmDeleteKeys_Load; groupBox3.EndInit(); groupBox3.ResumeLayout(false); checkEditBefore.Properties.EndInit(); checkEditFrom.Properties.EndInit(); dtpBefore.Properties.CalendarTimeProperties.EndInit(); dtpBefore.Properties.EndInit(); dtpFrom.Properties.CalendarTimeProperties.EndInit(); dtpFrom.Properties.EndInit(); dtValueFrom.Properties.CalendarTimeProperties.EndInit(); dtValueFrom.Properties.EndInit(); groupControl1.EndInit(); groupControl1.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(RoomClientForm)); this.UserImage = new ImageList(this.components); this.UserList = new ListView(); this.UserNameColumn = new ColumnHeader(); this.StateColumn = new ColumnHeader(); this.UserMenu = new ContextMenuStrip(this.components); this.ChatToMenuItem = new ToolStripMenuItem(); this.ToolStripSeparator1 = new ToolStripSeparator(); this.ChallengeMenuItem = new ToolStripMenuItem(); this.ObserveMenuItem = new ToolStripMenuItem(); this.RoomTab = new TabControl(); this.ChatPage = new TabPage(); this.BcCounterLabel = new Label(); this.BroadcastLabel = new Label(); this.CommandCheck = new CheckBox(); this.SendButton = new Button(); this.MessageText = new TextBox(); this.DisplayText = new TextBox(); this.FourPlayerPage = new TabPage(); this.CreateButton = new Button(); this.EnterButton = new Button(); this.FourPlayerList = new ListView(); this.RoomNameColumn = new ColumnHeader(); this.PlayerCount = new ColumnHeader(); this.MainMenu = new MenuStrip(); this.RoomMenuItem = new ToolStripMenuItem(); this.UserInfoMenuItem = new ToolStripMenuItem(); this.AwayMenuItem = new ToolStripMenuItem(); this.ExitMenuItem = new ToolStripMenuItem(); this.ChatsMenuItem = new ToolStripMenuItem(); this.UserMenu.SuspendLayout(); this.RoomTab.SuspendLayout(); this.ChatPage.SuspendLayout(); this.FourPlayerPage.SuspendLayout(); this.MainMenu.SuspendLayout(); base.SuspendLayout(); this.UserImage.ImageStream = (ImageListStreamer)manager.GetObject("UserImage.ImageStream"); this.UserImage.TransparentColor = Color.Transparent; this.UserImage.Images.SetKeyName(0, "Pokemon1.ico"); this.UserImage.Images.SetKeyName(1, "Pokemon2.ico"); this.UserImage.Images.SetKeyName(2, "Pokemon3.ico"); this.UserImage.Images.SetKeyName(3, "Pokemon4.ico"); this.UserImage.Images.SetKeyName(4, "Pokemon5.ico"); this.UserImage.Images.SetKeyName(5, "Pokemon6.ico"); this.UserImage.Images.SetKeyName(6, "Pokemon7.ico"); this.UserImage.Images.SetKeyName(7, "Pokemon8.ico"); this.UserImage.Images.SetKeyName(8, "Pokemon9.ico"); this.UserImage.Images.SetKeyName(9, "Pokemon10.ico"); this.UserImage.Images.SetKeyName(10, "Pokemon11.ico"); this.UserImage.Images.SetKeyName(11, "Pokemon12.ico"); this.UserImage.Images.SetKeyName(12, "Pokemon13.ico"); this.UserImage.Images.SetKeyName(13, "Pokemon14.ico"); this.UserImage.Images.SetKeyName(14, "Pokemon15.ico"); this.UserList.Alignment = ListViewAlignment.Left; this.UserList.Columns.AddRange(new ColumnHeader[] { this.UserNameColumn, this.StateColumn }); this.UserList.ContextMenuStrip = this.UserMenu; this.UserList.FullRowSelect = true; this.UserList.Location = new Point(0x1bd, 0x30); this.UserList.MultiSelect = false; this.UserList.Name = "UserList"; this.UserList.Size = new Size(0xc4, 410); this.UserList.SmallImageList = this.UserImage; this.UserList.Sorting = SortOrder.Ascending; this.UserList.TabIndex = 4; this.UserList.UseCompatibleStateImageBehavior = false; this.UserList.View = View.Details; this.UserNameColumn.Text = "名称"; this.UserNameColumn.Width = 0x71; this.StateColumn.Text = "状态"; this.UserMenu.Items.AddRange(new ToolStripItem[] { this.ChatToMenuItem, this.ToolStripSeparator1, this.ChallengeMenuItem, this.ObserveMenuItem }); this.UserMenu.Name = "mnuRoomList"; this.UserMenu.ShowImageMargin = false; this.UserMenu.Size = new Size(100, 0x4c); this.ChatToMenuItem.Name = "ChatToMenuItem"; this.ChatToMenuItem.Size = new Size(0x63, 0x16); this.ChatToMenuItem.Text = "私人聊天"; this.ChatToMenuItem.Click += new EventHandler(this.ChatToMenuItem_Click); this.ToolStripSeparator1.Name = "ToolStripSeparator1"; this.ToolStripSeparator1.Size = new Size(0x60, 6); this.ChallengeMenuItem.Name = "ChallengeMenuItem"; this.ChallengeMenuItem.Size = new Size(0x63, 0x16); this.ChallengeMenuItem.Text = "挑战"; this.ChallengeMenuItem.Click += new EventHandler(this.ChallengeMenuItem_Click); this.ObserveMenuItem.Name = "ObserveMenuItem"; this.ObserveMenuItem.Size = new Size(0x63, 0x16); this.ObserveMenuItem.Text = "观战"; this.ObserveMenuItem.Click += new EventHandler(this.ObserveMenuItem_Click); this.RoomTab.Controls.Add(this.ChatPage); this.RoomTab.Controls.Add(this.FourPlayerPage); this.RoomTab.Location = new Point(0, 0x1b); this.RoomTab.Name = "RoomTab"; this.RoomTab.SelectedIndex = 0; this.RoomTab.Size = new Size(0x1b6, 0x1bb); this.RoomTab.TabIndex = 5; this.ChatPage.Controls.Add(this.BcCounterLabel); this.ChatPage.Controls.Add(this.BroadcastLabel); this.ChatPage.Controls.Add(this.CommandCheck); this.ChatPage.Controls.Add(this.SendButton); this.ChatPage.Controls.Add(this.MessageText); this.ChatPage.Controls.Add(this.DisplayText); this.ChatPage.Location = new Point(4, 0x16); this.ChatPage.Name = "ChatPage"; this.ChatPage.Padding = new Padding(3); this.ChatPage.Size = new Size(430, 0x1a1); this.ChatPage.TabIndex = 1; this.ChatPage.Text = "房间"; this.ChatPage.UseVisualStyleBackColor = true; this.BcCounterLabel.AutoSize = true; this.BcCounterLabel.ForeColor = Color.Red; this.BcCounterLabel.Location = new Point(80, 0x18c); this.BcCounterLabel.Name = "BcCounterLabel"; this.BcCounterLabel.Size = new Size(0x11, 12); this.BcCounterLabel.TabIndex = 5; this.BcCounterLabel.Text = "0%"; this.BroadcastLabel.AutoSize = true; this.BroadcastLabel.Location = new Point(9, 0x18c); this.BroadcastLabel.Name = "BroadcastLabel"; this.BroadcastLabel.Size = new Size(0x41, 12); this.BroadcastLabel.TabIndex = 4; this.BroadcastLabel.Text = "发言限制 :"; this.CommandCheck.AutoSize = true; this.CommandCheck.Location = new Point(280, 0x187); this.CommandCheck.Name = "CommandCheck"; this.CommandCheck.Size = new Size(0x48, 0x10); this.CommandCheck.TabIndex = 3; this.CommandCheck.Text = "房间命令"; this.CommandCheck.UseVisualStyleBackColor = true; this.SendButton.Enabled = false; this.SendButton.Location = new Point(0x166, 0x183); this.SendButton.Name = "SendButton"; this.SendButton.Size = new Size(0x3f, 0x17); this.SendButton.TabIndex = 2; this.SendButton.Text = "发送(&S)"; this.SendButton.UseVisualStyleBackColor = true; this.SendButton.Click += new EventHandler(this.SendButton_Click); this.MessageText.ImeMode = ImeMode.Alpha; this.MessageText.Location = new Point(3, 360); this.MessageText.MaxLength = 50; this.MessageText.Name = "MessageText"; this.MessageText.ScrollBars = ScrollBars.Vertical; this.MessageText.Size = new Size(0x1a2, 0x15); this.MessageText.TabIndex = 1; this.DisplayText.BackColor = Color.White; this.DisplayText.Dock = DockStyle.Top; this.DisplayText.Location = new Point(3, 3); this.DisplayText.Multiline = true; this.DisplayText.Name = "DisplayText"; this.DisplayText.ReadOnly = true; this.DisplayText.ScrollBars = ScrollBars.Vertical; this.DisplayText.Size = new Size(0x1a8, 0x15f); this.DisplayText.TabIndex = 0; this.FourPlayerPage.Controls.Add(this.CreateButton); this.FourPlayerPage.Controls.Add(this.EnterButton); this.FourPlayerPage.Controls.Add(this.FourPlayerList); this.FourPlayerPage.Location = new Point(4, 0x16); this.FourPlayerPage.Name = "FourPlayerPage"; this.FourPlayerPage.Padding = new Padding(3); this.FourPlayerPage.Size = new Size(430, 0x1a1); this.FourPlayerPage.TabIndex = 2; this.FourPlayerPage.Text = "4P对战"; this.FourPlayerPage.UseVisualStyleBackColor = true; this.CreateButton.Enabled = false; this.CreateButton.Location = new Point(0x10c, 0x183); this.CreateButton.Name = "CreateButton"; this.CreateButton.Size = new Size(0x4b, 0x17); this.CreateButton.TabIndex = 5; this.CreateButton.Text = "创建(&C)"; this.CreateButton.UseVisualStyleBackColor = true; this.CreateButton.Click += new EventHandler(this.CreateButton_Click); this.EnterButton.Enabled = false; this.EnterButton.Location = new Point(0x15d, 0x183); this.EnterButton.Name = "EnterButton"; this.EnterButton.Size = new Size(0x4b, 0x17); this.EnterButton.TabIndex = 4; this.EnterButton.Text = "进入(&E)"; this.EnterButton.UseVisualStyleBackColor = true; this.EnterButton.Click += new EventHandler(this.EnterButton_Click); this.FourPlayerList.Columns.AddRange(new ColumnHeader[] { this.RoomNameColumn, this.PlayerCount }); this.FourPlayerList.FullRowSelect = true; this.FourPlayerList.Location = new Point(0, 0); this.FourPlayerList.MultiSelect = false; this.FourPlayerList.Name = "FourPlayerList"; this.FourPlayerList.Size = new Size(430, 0x173); this.FourPlayerList.TabIndex = 3; this.FourPlayerList.UseCompatibleStateImageBehavior = false; this.FourPlayerList.View = View.Details; this.FourPlayerList.SelectedIndexChanged += new EventHandler(this.FourPlayerList_SelectedIndexChanged); this.RoomNameColumn.Text = "4P房间"; this.RoomNameColumn.Width = 0xfc; this.PlayerCount.Text = "人数"; this.PlayerCount.Width = 0x60; this.MainMenu.AllowMerge = false; this.MainMenu.Items.AddRange(new ToolStripItem[] { this.RoomMenuItem, this.ChatsMenuItem }); this.MainMenu.Location = new Point(0, 0); this.MainMenu.Name = "MainMenu"; this.MainMenu.Size = new Size(0x284, 0x19); this.MainMenu.TabIndex = 6; this.RoomMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.UserInfoMenuItem, this.AwayMenuItem, this.ExitMenuItem }); this.RoomMenuItem.Enabled = false; this.RoomMenuItem.Name = "RoomMenuItem"; this.RoomMenuItem.Size = new Size(60, 0x15); this.RoomMenuItem.Text = "房间(&R)"; this.UserInfoMenuItem.Name = "UserInfoMenuItem"; this.UserInfoMenuItem.Size = new Size(0x8b, 0x16); this.UserInfoMenuItem.Text = "用户信息(&S)"; this.UserInfoMenuItem.Click += new EventHandler(this.UserInfoMenuItem_Click); this.AwayMenuItem.CheckOnClick = true; this.AwayMenuItem.Name = "AwayMenuItem"; this.AwayMenuItem.Size = new Size(0x8b, 0x16); this.AwayMenuItem.Text = "离开(&A)"; this.AwayMenuItem.CheckedChanged += new EventHandler(this.AwayMenuItem_CheckedChanged); this.ExitMenuItem.Name = "ExitMenuItem"; this.ExitMenuItem.Size = new Size(0x8b, 0x16); this.ExitMenuItem.Text = "退出(&X)"; this.ExitMenuItem.Click += new EventHandler(this.ExitMenuItem_Click); this.ChatsMenuItem.Enabled = false; this.ChatsMenuItem.Name = "ChatsMenuItem"; this.ChatsMenuItem.Size = new Size(0x54, 0x15); this.ChatsMenuItem.Text = "私人聊天(&C)"; base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x284, 470); base.Controls.Add(this.MainMenu); base.Controls.Add(this.RoomTab); base.Controls.Add(this.UserList); base.FormBorderStyle = FormBorderStyle.FixedSingle; base.MaximizeBox = false; base.Name = "RoomClientForm"; this.Text = "房间窗口"; base.Load += new EventHandler(this.RoomUserForm_Load); this.UserMenu.ResumeLayout(false); this.RoomTab.ResumeLayout(false); this.ChatPage.ResumeLayout(false); this.ChatPage.PerformLayout(); this.FourPlayerPage.ResumeLayout(false); this.MainMenu.ResumeLayout(false); this.MainMenu.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Form1)); this.Label1 = new Label(); this.TextBox1 = new TextBox(); this.Label2 = new Label(); this.TextBox2 = new TextBox(); this.Button1 = new Button(); this.SuspendLayout(); this.Label1.AutoSize = true; Label label1_1 = this.Label1; Point point1 = new Point(12, 53); Point point2 = point1; label1_1.Location = point2; this.Label1.Name = "Label1"; Label label1_2 = this.Label1; Size size1 = new Size(58, 13); Size size2 = size1; label1_2.Size = size2; this.Label1.TabIndex = 0; this.Label1.Text = "Username:"******"TextBox1"; TextBox textBox1_2 = this.TextBox1; size1 = new Size(248, 20); Size size3 = size1; textBox1_2.Size = size3; this.TextBox1.TabIndex = 1; this.Label2.AutoSize = true; Label label2_1 = this.Label2; point1 = new Point(12, 94); Point point4 = point1; label2_1.Location = point4; this.Label2.Name = "Label2"; Label label2_2 = this.Label2; size1 = new Size(56, 13); Size size4 = size1; label2_2.Size = size4; this.Label2.TabIndex = 2; this.Label2.Text = "Password:"******"TextBox2"; TextBox textBox2_2 = this.TextBox2; size1 = new Size(248, 20); Size size5 = size1; textBox2_2.Size = size5; this.TextBox2.TabIndex = 3; this.Button1.FlatStyle = FlatStyle.Flat; Button button1_1 = this.Button1; point1 = new Point(145, 164); Point point6 = point1; button1_1.Location = point6; this.Button1.Name = "Button1"; Button button1_2 = this.Button1; size1 = new Size(75, 23); Size size6 = size1; button1_2.Size = size6; this.Button1.TabIndex = 4; this.Button1.Text = "Login"; this.Button1.UseVisualStyleBackColor = true; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; size1 = new Size(368, 226); this.ClientSize = size1; this.Controls.Add((Control)this.Button1); this.Controls.Add((Control)this.TextBox2); this.Controls.Add((Control)this.Label2); this.Controls.Add((Control)this.TextBox1); this.Controls.Add((Control)this.Label1); this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); this.MaximizeBox = false; this.Name = "Form1"; this.StartPosition = FormStartPosition.CenterScreen; this.Text = "Login"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(DialogPrintPlayers)); this.radioAllPlayers = new RadioButton(); this.radioActivePlayers = new RadioButton(); this.btnOK = new Button(); this.btnCancel = new Button(); this.chkSortById = new CheckBox(); this.SuspendLayout(); this.radioAllPlayers.AutoSize = true; this.radioAllPlayers.Checked = true; this.radioAllPlayers.Location = new Point(30, 23); this.radioAllPlayers.Name = "radioAllPlayers"; this.radioAllPlayers.Size = new Size(73, 17); this.radioAllPlayers.TabIndex = 0; this.radioAllPlayers.TabStop = true; this.radioAllPlayers.Text = "All Players"; this.radioAllPlayers.UseVisualStyleBackColor = true; this.radioActivePlayers.AutoSize = true; this.radioActivePlayers.Location = new Point(30, 59); this.radioActivePlayers.Name = "radioActivePlayers"; this.radioActivePlayers.Size = new Size(92, 17); this.radioActivePlayers.TabIndex = 1; this.radioActivePlayers.Text = "Active Players"; this.radioActivePlayers.UseVisualStyleBackColor = true; this.btnOK.Location = new Point(59, 141); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(75, 23); this.btnOK.TabIndex = 2; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Location = new Point(169, 141); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(75, 23); this.btnCancel.TabIndex = 3; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.chkSortById.AutoSize = true; this.chkSortById.Location = new Point(30, 95); this.chkSortById.Name = "chkSortById"; this.chkSortById.Size = new Size(74, 17); this.chkSortById.TabIndex = 4; this.chkSortById.Text = "Sort By ID"; this.chkSortById.UseVisualStyleBackColor = true; this.AcceptButton = (IButtonControl)this.btnOK; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.CancelButton = (IButtonControl)this.btnCancel; this.ClientSize = new Size(295, 187); this.Controls.Add((Control)this.chkSortById); this.Controls.Add((Control)this.btnCancel); this.Controls.Add((Control)this.btnOK); this.Controls.Add((Control)this.radioActivePlayers); this.Controls.Add((Control)this.radioAllPlayers); this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = nameof(DialogPrintPlayers); this.ShowInTaskbar = false; this.StartPosition = FormStartPosition.CenterParent; this.Text = "Print Players"; this.ResumeLayout(false); this.PerformLayout(); }
/// <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 Container(); DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle(); ComponentResourceManager resources = new ComponentResourceManager(typeof(ServiceConfig)); this.timer1 = new Timer(this.components); this.label2 = new Label(); this.btnExit = new Button(); this.label1 = new Label(); this.btnConfigChanges = new Button(); this.txtSrvNm = new TextBox(); this.btnConString = new Button(); this.txtServicePath = new TextBox(); this.grdServiceConfig = new DataGridView(); this.label3 = new Label(); this.btnStop = new Button(); this.btnStart = new Button(); this.txtStatus = new TextBox(); this.panel2 = new Panel(); ((ISupportInitialize)this.grdServiceConfig).BeginInit(); this.panel2.SuspendLayout(); base.SuspendLayout(); this.timer1.Enabled = true; this.timer1.Interval = 1; this.timer1.Tick += new EventHandler(this.timer1_Tick); this.label2.AutoSize = true; this.label2.Location = new Point(0x17, 0x34); this.label2.Name = "label2"; this.label2.Size = new Size(0x4c, 13); this.label2.TabIndex = 9; this.label2.Tag = "lblLabel"; this.label2.Text = "Service Status"; this.btnExit.Location = new Point(0x1e5, 0x16f); this.btnExit.Name = "btnExit"; this.btnExit.Size = new Size(0xad, 0x17); this.btnExit.TabIndex = 0x2c; this.btnExit.Tag = "btnH25WFlexi"; this.btnExit.Text = "Exit"; this.btnExit.UseVisualStyleBackColor = true; this.btnExit.Click += new EventHandler(this.btnExit_Click); this.label1.AutoSize = true; this.label1.Location = new Point(0x17, 0x1a); this.label1.Name = "label1"; this.label1.Size = new Size(0x4a, 13); this.label1.TabIndex = 8; this.label1.Tag = "lblLabel"; this.label1.Text = "Service Name"; this.btnConfigChanges.Location = new Point(0x4c, 0x16f); this.btnConfigChanges.Name = "btnConfigChanges"; this.btnConfigChanges.Size = new Size(0xad, 0x17); this.btnConfigChanges.TabIndex = 0x2b; this.btnConfigChanges.Tag = "btnH25WFlexi"; this.btnConfigChanges.Text = "Save Changes"; this.btnConfigChanges.UseVisualStyleBackColor = true; this.btnConfigChanges.Click += new EventHandler(this.btnConfigChanges_Click); this.txtSrvNm.Location = new Point(0x7d, 0x17); this.txtSrvNm.Name = "txtSrvNm"; this.txtSrvNm.Size = new Size(0x223, 20); this.txtSrvNm.TabIndex = 7; this.txtSrvNm.Tag = "txtTextBox"; this.btnConString.Location = new Point(0x111, 0xa4); this.btnConString.Name = "btnConString"; this.btnConString.Size = new Size(0xad, 0x17); this.btnConString.TabIndex = 0x29; this.btnConString.Tag = "btnH25WFlexi"; this.btnConString.Text = "Change Connection String"; this.btnConString.UseVisualStyleBackColor = true; this.btnConString.Click += new EventHandler(this.btnConString_Click); this.txtServicePath.Location = new Point(0x7d, 0x4b); this.txtServicePath.Name = "txtServicePath"; this.txtServicePath.Size = new Size(0x223, 20); this.txtServicePath.TabIndex = 10; this.txtServicePath.Tag = "txtTextBox"; this.grdServiceConfig.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridViewCellStyle1.Alignment = DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = SystemColors.Window; dataGridViewCellStyle1.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0); dataGridViewCellStyle1.ForeColor = SystemColors.ControlText; dataGridViewCellStyle1.SelectionBackColor = SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = DataGridViewTriState.False; this.grdServiceConfig.DefaultCellStyle = dataGridViewCellStyle1; this.grdServiceConfig.Location = new Point(0x1c, 0xc7); this.grdServiceConfig.Name = "grdServiceConfig"; this.grdServiceConfig.ReadOnly = true; this.grdServiceConfig.Size = new Size(0x2c9, 150); this.grdServiceConfig.TabIndex = 0x2a; this.label3.AutoSize = true; this.label3.Location = new Point(0x17, 0x4b); this.label3.Name = "label3"; this.label3.Size = new Size(0x44, 13); this.label3.TabIndex = 11; this.label3.Tag = "lblLabel"; this.label3.Text = "Service Path"; this.btnStop.Location = new Point(0x4c, 0xa4); this.btnStop.Name = "btnStop"; this.btnStop.Size = new Size(0xad, 0x17); this.btnStop.TabIndex = 40; this.btnStop.Tag = "btnH25WFlexi"; this.btnStop.Text = "Stop Service"; this.btnStop.UseVisualStyleBackColor = true; this.btnStop.Click += new EventHandler(this.btnStop_Click); this.btnStart.Location = new Point(0x1e5, 0xa4); this.btnStart.Name = "btnStart"; this.btnStart.Size = new Size(0xad, 0x17); this.btnStart.TabIndex = 0x27; this.btnStart.Tag = "btnH25WFlexi"; this.btnStart.Text = "Start Service"; this.btnStart.UseVisualStyleBackColor = true; this.btnStart.Click += new EventHandler(this.btnStart_Click); this.txtStatus.Location = new Point(0x7d, 0x31); this.txtStatus.Name = "txtStatus"; this.txtStatus.Size = new Size(0x223, 20); this.txtStatus.TabIndex = 6; this.txtStatus.Tag = "txtTextBox"; this.panel2.BorderStyle = BorderStyle.Fixed3D; this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.txtServicePath); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.txtSrvNm); this.panel2.Controls.Add(this.txtStatus); this.panel2.Location = new Point(0x1c, 0x16); this.panel2.Margin = new Padding(1); this.panel2.Name = "panel2"; this.panel2.Size = new Size(0x2c9, 0x81); this.panel2.TabIndex = 0x26; this.panel2.Tag = "pnlPanel"; // base.AutoScaleDimensions = new SizeF(6f, 13f); // base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x327, 0x192); base.Controls.Add(this.btnExit); base.Controls.Add(this.btnConfigChanges); base.Controls.Add(this.btnConString); base.Controls.Add(this.grdServiceConfig); base.Controls.Add(this.btnStop); base.Controls.Add(this.btnStart); base.Controls.Add(this.panel2); // base.FormBorderStyle = FormBorderStyle.Fixed3D; base.Icon = (Icon)resources.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "ServiceConfig"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.Manual; base.Tag = "ServiceConfigForm"; this.Text = "IQ Care Service Configuration"; base.Load += new EventHandler(this.ServiceConfig_Load); ((ISupportInitialize)this.grdServiceConfig).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); base.ResumeLayout(false); }
public MainForm () { ComponentResourceManager resources = new ComponentResourceManager (typeof (MainForm)); SuspendLayout (); // // imgToolMenus // imgToolMenus = new ImageList (); imgToolMenus.ImageStream = ((ImageListStreamer) (resources.GetObject ("imgToolMenus.ImageStream"))); imgToolMenus.TransparentColor = Color.Transparent; // // _toolBar // _toolBar = new ToolBar (); _toolBar.Appearance = ToolBarAppearance.Flat; _toolBar.DropDownArrows = true; _toolBar.ImageList = imgToolMenus; _toolBar.Location = new Point (0, 0); _toolBar.Name = "_toolBar"; _toolBar.ShowToolTips = true; _toolBar.Size = new Size (690, 28); _toolBar.TabIndex = 32; _toolBar.TextAlign = ToolBarTextAlign.Right; _toolBar.Wrappable = false; Controls.Add (_toolBar); // // _newButton // _newButton = new ToolBarButton (); _newButton.ImageIndex = 0; _newButton.ToolTipText = "Start a new chess game"; _toolBar.Buttons.Add (_newButton); // // _openButton // _openButton = new ToolBarButton (); _openButton.ImageIndex = 1; _openButton.ToolTipText = "Open a saved chess game"; _toolBar.Buttons.Add (_openButton); // // _moveNowButton // _moveNowButton = new ToolBarButton (); _moveNowButton.ImageIndex = 11; _moveNowButton.Text = "Move Now"; _moveNowButton.ToolTipText = "Make the computer immediately play the best move it has found so far"; _toolBar.Buttons.Add (_moveNowButton); // // MainForm // AutoScaleBaseSize = new Size (5, 13); ClientSize = new Size (200, 80); Location = new Point (300, 100); StartPosition = FormStartPosition.Manual; FormBorderStyle = FormBorderStyle.FixedDialog; SizeGripStyle = SizeGripStyle.Hide; Text = "bug #81733"; Load += new EventHandler (MainForm_Load); ResumeLayout (false); PerformLayout (); }
private void InitializeComponent() { components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof(MainForm)); _textBox1 = new TextBox(); _label1 = new Label(); button1 = new Button(); _label2 = new Label(); _label3 = new Label(); label4 = new Label(); button2 = new Button(); listBox1 = new ListBox(); _contextMenuStrip1 = new ContextMenuStrip(components); _toolStripMenuItem1 = new ToolStripMenuItem(); _открытьToolStripMenuItem = new ToolStripMenuItem(); timer1 = new System.Windows.Forms.Timer(components); _contextMenuStrip1.SuspendLayout(); SuspendLayout(); // // textBox1 // _textBox1.Location = new Point(120, 9); _textBox1.Name = "_textBox1"; _textBox1.Size = new Size(252, 20); _textBox1.TabIndex = 0; _textBox1.TextChanged += textBox1_TextChanged; // // label1 // _label1.AutoSize = true; _label1.Location = new Point(12, 9); _label1.Name = "_label1"; _label1.Size = new Size(102, 13); _label1.TabIndex = 1; _label1.Text = "Ссылка на альбом"; // // button1 // button1.Location = new Point(297, 35); button1.Name = "_button1"; button1.Size = new Size(75, 23); button1.TabIndex = 2; button1.Text = "Парсить"; button1.UseVisualStyleBackColor = true; button1.Click += button1_Click; // // label2 // _label2.AutoSize = true; _label2.Location = new Point(12, 68); _label2.Name = "_label2"; _label2.Size = new Size(130, 13); _label2.TabIndex = 4; _label2.Text = "Фотографии с сылками"; // // label3 // _label3.AutoSize = true; _label3.Location = new Point(12, 283); _label3.Name = "_label3"; _label3.Size = new Size(42, 13); _label3.TabIndex = 5; _label3.Text = "Ваш id:"; // // label4 // label4.AutoSize = true; label4.Location = new Point(54, 283); label4.Name = "_label4"; label4.Size = new Size(0, 13); label4.TabIndex = 6; // // button2 // button2.Location = new Point(257, 279); button2.Name = "_button2"; button2.Size = new Size(115, 20); button2.TabIndex = 7; button2.Text = "Найти ссылку"; button2.UseVisualStyleBackColor = true; button2.Visible = false; button2.Click += button2_Click; // // listBox1 // listBox1.FormattingEnabled = true; listBox1.Location = new Point(15, 84); listBox1.Name = "_listBox1"; listBox1.Size = new Size(357, 186); listBox1.TabIndex = 8; listBox1.SelectedIndexChanged += listBox1_SelectedIndexChanged; listBox1.SelectedValueChanged += listBox1_SelectedValueChanged; listBox1.KeyPress += listBox1_KeyPress; listBox1.MouseDown += listBox1_MouseDown; // // contextMenuStrip1 // _contextMenuStrip1.Items.AddRange(new ToolStripItem[] { _toolStripMenuItem1, _открытьToolStripMenuItem }); _contextMenuStrip1.Name = "_contextMenuStrip1"; _contextMenuStrip1.Size = new Size(140, 48); // // toolStripMenuItem1 // _toolStripMenuItem1.Name = "_toolStripMenuItem1"; _toolStripMenuItem1.Size = new Size(139, 22); _toolStripMenuItem1.Text = "Копировать"; _toolStripMenuItem1.Click += toolStripMenuItem1_Click; // // открытьToolStripMenuItem // _открытьToolStripMenuItem.Name = "_открытьToolStripMenuItem"; _открытьToolStripMenuItem.Size = new Size(139, 22); _открытьToolStripMenuItem.Text = "Открыть"; _открытьToolStripMenuItem.Click += открытьToolStripMenuItem_Click; // // timer1 // timer1.Interval = 10; timer1.Tick += timer1_Tick; // // Index // AutoScaleDimensions = new SizeF(6F, 13F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(384, 304); Controls.Add(listBox1); Controls.Add(button2); Controls.Add(label4); Controls.Add(_label3); Controls.Add(_label2); Controls.Add(button1); Controls.Add(_label1); Controls.Add(_textBox1); DoubleBuffered = true; FormBorderStyle = FormBorderStyle.FixedSingle; MaximizeBox = false; Name = "Index"; Text = "Поиск фото с сылками"; TopMost = true; FormClosed += Main_FormClosed; Load += MainForm_Load; _contextMenuStrip1.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { this.icontainer_0 = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(MainForm)); this.toolStrip1 = new ToolStrip(); this.btnOpenDirectory = new ToolStripButton(); this.toolStripSeparator1 = new ToolStripSeparator(); this.btnAddFile = new ToolStripButton(); this.btnDeleteFile = new ToolStripButton(); this.toolStripSeparator2 = new ToolStripSeparator(); this.btnAddCommand = new ToolStripButton(); this.btnEditCommand = new ToolStripButton(); this.btnDeleteCommnad = new ToolStripButton(); this.toolStripSeparator3 = new ToolStripSeparator(); this.btnSaveAll = new ToolStripButton(); this.toolStripSeparator4 = new ToolStripSeparator(); this.btnFindCommand = new ToolStripButton(); this.toolStripSeparator5 = new ToolStripSeparator(); this.btnHelp = new ToolStripButton(); this.statusStrip1 = new StatusStrip(); this.labCurrentPath = new ToolStripStatusLabel(); this.labMessage = new ToolStripStatusLabel(); this.treeView1 = new TreeView(); this.imageList_0 = new ImageList(this.icontainer_0); this.splitter1 = new Splitter(); this.panel1 = new Panel(); this.txtSQL = new SyntaxHighlighterControlFix(); this.splitter2 = new Splitter(); this.txtXML = new SyntaxHighlighterControlFix(); this.contextMenuStrip1 = new ContextMenuStrip(this.icontainer_0); this.menuAdd = new ToolStripMenuItem(); this.menuEdit = new ToolStripMenuItem(); this.menuDelete = new ToolStripMenuItem(); this.menuPaste = new ToolStripMenuItem(); this.toolStripMenuItem1 = new ToolStripSeparator(); this.menuCopyName = new ToolStripMenuItem(); this.menuCopyXml = new ToolStripMenuItem(); this.toolStripMenuItem2 = new ToolStripSeparator(); this.menuGenerateCallCode = new ToolStripMenuItem(); this.fileSystemWatcher_0 = new FileSystemWatcher(); this.timer_0 = new Timer(this.icontainer_0); this.toolStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.fileSystemWatcher_0.BeginInit(); base.SuspendLayout(); this.toolStrip1.Items.AddRange(new ToolStripItem[] { this.btnOpenDirectory, this.toolStripSeparator1, this.btnAddFile, this.btnDeleteFile, this.toolStripSeparator2, this.btnAddCommand, this.btnEditCommand, this.btnDeleteCommnad, this.toolStripSeparator3, this.btnSaveAll, this.toolStripSeparator4, this.btnFindCommand, this.toolStripSeparator5, this.btnHelp }); this.toolStrip1.Location = new Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new Size(0x39b, 0x19); this.toolStrip1.TabIndex = 0; this.toolStrip1.Text = "toolStrip1"; // this.btnOpenDirectory.Image = Resources.openfolderHS; this.btnOpenDirectory.ImageTransparentColor = Color.Magenta; this.btnOpenDirectory.Name = "btnOpenDirectory"; this.btnOpenDirectory.Size = new Size(0x5c, 0x16); this.btnOpenDirectory.Text = "打开目录(&D)"; this.btnOpenDirectory.Click += new EventHandler(this.btnOpenDirectory_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(6, 0x19); //this.btnAddFile.Image = Resources.NewFolderHS; this.btnAddFile.ImageTransparentColor = Color.Magenta; this.btnAddFile.Name = "btnAddFile"; this.btnAddFile.Size = new Size(0x5d, 0x16); this.btnAddFile.Text = "新增文件(&N)"; this.btnAddFile.Click += new EventHandler(this.btnAddFile_Click); //this.btnDeleteFile.Image = Resources.DeleteFolderHS; this.btnDeleteFile.ImageTransparentColor = Color.Magenta; this.btnDeleteFile.Name = "btnDeleteFile"; this.btnDeleteFile.Size = new Size(0x4b, 0x16); this.btnDeleteFile.Text = "删除文件"; this.btnDeleteFile.Click += new EventHandler(this.btnDeleteFile_Click); this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new Size(6, 0x19); // this.btnAddCommand.Image = Resources.NewDocumentHS; this.btnAddCommand.ImageTransparentColor = Color.Magenta; this.btnAddCommand.Name = "btnAddCommand"; this.btnAddCommand.Size = new Size(0x5b, 0x16); this.btnAddCommand.Text = "新增命令(&C)"; this.btnAddCommand.Click += new EventHandler(this.menuAdd_Click); //this.btnEditCommand.Image = (Image) manager.GetObject("btnEditCommand.Image"); this.btnEditCommand.ImageTransparentColor = Color.Magenta; this.btnEditCommand.Name = "btnEditCommand"; this.btnEditCommand.Size = new Size(90, 0x16); this.btnEditCommand.Text = "修改命令(&E)"; this.btnEditCommand.Click += new EventHandler(this.menuEdit_Click); // this.btnDeleteCommnad.Image = Resources.DeleteHS; this.btnDeleteCommnad.ImageTransparentColor = Color.Magenta; this.btnDeleteCommnad.Name = "btnDeleteCommnad"; this.btnDeleteCommnad.Size = new Size(0x4b, 0x16); this.btnDeleteCommnad.Text = "删除命令"; this.btnDeleteCommnad.Click += new EventHandler(this.menuDelete_Click); this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new Size(6, 0x19); // this.btnSaveAll.Image = Resources.SaveAllHS; this.btnSaveAll.ImageTransparentColor = Color.Magenta; this.btnSaveAll.Name = "btnSaveAll"; this.btnSaveAll.Size = new Size(0x72, 0x16); this.btnSaveAll.Text = "保存所有修改(&S)"; this.btnSaveAll.Click += new EventHandler(this.btnSaveAll_Click); this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new Size(6, 0x19); // this.btnFindCommand.Image = Resources.FindHS; this.btnFindCommand.ImageTransparentColor = Color.Magenta; this.btnFindCommand.Name = "btnFindCommand"; this.btnFindCommand.Size = new Size(0x59, 0x16); this.btnFindCommand.Text = "查找命令(&F)"; this.btnFindCommand.Click += new EventHandler(this.btnFindCommand_Click); this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new Size(6, 0x19); this.btnHelp.DisplayStyle = ToolStripItemDisplayStyle.Image; // this.btnHelp.Image = Resources.Help; this.btnHelp.ImageTransparentColor = Color.Magenta; this.btnHelp.Name = "btnHelp"; this.btnHelp.Size = new Size(0x17, 0x16); this.btnHelp.Text = "帮助页面"; this.btnHelp.ToolTipText = "查看帮助页面"; this.btnHelp.Click += new EventHandler(this.btnHelp_Click); this.statusStrip1.Items.AddRange(new ToolStripItem[] { this.labCurrentPath, this.labMessage }); this.statusStrip1.Location = new Point(0, 0x1dd); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new Size(0x39b, 0x18); this.statusStrip1.TabIndex = 1; this.statusStrip1.Text = "statusStrip1"; this.labCurrentPath.BorderSides = ToolStripStatusLabelBorderSides.All; this.labCurrentPath.BorderStyle = Border3DStyle.SunkenOuter; this.labCurrentPath.ForeColor = Color.Tomato; this.labCurrentPath.IsLink = true; this.labCurrentPath.LinkBehavior = LinkBehavior.NeverUnderline; this.labCurrentPath.LinkColor = Color.Tomato; this.labCurrentPath.Name = "labCurrentPath"; this.labCurrentPath.Size = new Size(0x61, 0x13); this.labCurrentPath.Text = "labCurrentPath"; this.labCurrentPath.TextAlign = ContentAlignment.MiddleLeft; this.labCurrentPath.Click += new EventHandler(this.labCurrentPath_Click); this.labMessage.Name = "labMessage"; this.labMessage.Size = new Size(0x32b, 0x13); this.labMessage.Spring = true; this.labMessage.Text = "Ready."; this.labMessage.TextAlign = ContentAlignment.MiddleLeft; this.treeView1.Dock = DockStyle.Left; this.treeView1.ImageIndex = 0; this.treeView1.ImageList = this.imageList_0; this.treeView1.Location = new Point(0, 0x19); this.treeView1.Name = "treeView1"; this.treeView1.SelectedImageIndex = 0; this.treeView1.Size = new Size(0xe3, 0x1c4); this.treeView1.TabIndex = 2; this.treeView1.NodeMouseDoubleClick += new TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseDoubleClick); this.treeView1.AfterSelect += new TreeViewEventHandler(this.treeView1_AfterSelect); this.treeView1.NodeMouseClick += new TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseClick); this.treeView1.KeyDown += new KeyEventHandler(this.treeView1_KeyDown); this.imageList_0.ColorDepth = ColorDepth.Depth8Bit; this.imageList_0.ImageSize = new Size(0x10, 0x10); this.imageList_0.TransparentColor = Color.Transparent; this.splitter1.Location = new Point(0xe3, 0x19); this.splitter1.Name = "splitter1"; this.splitter1.Size = new Size(7, 0x1c4); this.splitter1.TabIndex = 3; this.splitter1.TabStop = false; this.panel1.Controls.Add(this.txtSQL); this.panel1.Controls.Add(this.splitter2); this.panel1.Controls.Add(this.txtXML); this.panel1.Dock = DockStyle.Fill; this.panel1.Location = new Point(0xea, 0x19); this.panel1.Name = "panel1"; this.panel1.Size = new Size(0x2b1, 0x1c4); this.panel1.TabIndex = 4; this.txtSQL.Dock = DockStyle.Fill; this.txtSQL.Location = new Point(0, 0); this.txtSQL.Name = "txtSQL"; this.txtSQL.Size = new Size(0x2b1, 0xc0); this.txtSQL.TabIndex = 2; this.splitter2.Dock = DockStyle.Bottom; this.splitter2.Location = new Point(0, 0xc0); this.splitter2.Name = "splitter2"; this.splitter2.Size = new Size(0x2b1, 7); this.splitter2.TabIndex = 1; this.splitter2.TabStop = false; this.txtXML.Dock = DockStyle.Bottom; this.txtXML.SetLanguage("xml"); this.txtXML.Location = new Point(0, 0xc7); this.txtXML.Name = "txtXML"; this.txtXML.Size = new Size(0x2b1, 0xfd); this.txtXML.TabIndex = 0; this.contextMenuStrip1.Items.AddRange(new ToolStripItem[] { this.menuAdd, this.menuEdit, this.menuDelete, this.menuPaste, this.toolStripMenuItem1, this.menuCopyName, this.menuCopyXml, this.toolStripMenuItem2, this.menuGenerateCallCode }); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new Size(0xb3, 170); this.contextMenuStrip1.Opening += new CancelEventHandler(this.contextMenuStrip1_Opening); // this.menuAdd.Image = Resources.NewDocumentHS; this.menuAdd.Name = "menuAdd"; this.menuAdd.Size = new Size(0xb2, 0x16); this.menuAdd.Text = "新增命令"; this.menuAdd.Click += new EventHandler(this.menuAdd_Click); //this.menuEdit.Image = Resources.EditTableHS; this.menuEdit.Name = "menuEdit"; this.menuEdit.Size = new Size(0xb2, 0x16); this.menuEdit.Text = "修改命令"; this.menuEdit.Click += new EventHandler(this.menuEdit_Click); // this.menuDelete.Image = Resources.DeleteHS; this.menuDelete.Name = "menuDelete"; this.menuDelete.Size = new Size(0xb2, 0x16); this.menuDelete.Text = "删除命令"; this.menuDelete.Click += new EventHandler(this.menuDelete_Click); // this.menuPaste.Image = Resources.PasteHS; this.menuPaste.Name = "menuPaste"; this.menuPaste.Size = new Size(0xb2, 0x16); this.menuPaste.Text = "粘贴命令"; this.menuPaste.Click += new EventHandler(this.menuPaste_Click); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new Size(0xaf, 6); // this.menuCopyName.Image = Resources.CopyHS; this.menuCopyName.Name = "menuCopyName"; this.menuCopyName.Size = new Size(0xb2, 0x16); this.menuCopyName.Text = "复制名称 Ctrl-C"; this.menuCopyName.Click += new EventHandler(this.menuCopyName_Click); this.menuCopyXml.Name = "menuCopyXml"; this.menuCopyXml.Size = new Size(0xb2, 0x16); this.menuCopyXml.Text = "复制节点XML"; this.menuCopyXml.Click += new EventHandler(this.menuCopyXml_Click); this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new Size(0xaf, 6); // this.menuGenerateCallCode.Image = Resources.Bitmap_0; this.menuGenerateCallCode.Name = "menuGenerateCallCode"; this.menuGenerateCallCode.Size = new Size(0xb2, 0x16); this.menuGenerateCallCode.Text = "生成调用代码 F12"; this.menuGenerateCallCode.Click += new EventHandler(this.menuGenerateCallCode_Click); this.fileSystemWatcher_0.EnableRaisingEvents = true; this.fileSystemWatcher_0.SynchronizingObject = this; this.fileSystemWatcher_0.Deleted += new FileSystemEventHandler(this.fileSystemWatcher_0_Changed); this.fileSystemWatcher_0.Created += new FileSystemEventHandler(this.fileSystemWatcher_0_Changed); this.fileSystemWatcher_0.Changed += new FileSystemEventHandler(this.fileSystemWatcher_0_Changed); this.timer_0.Enabled = true; this.timer_0.Interval = 500; this.timer_0.Tick += new EventHandler(this.timer_0_Tick); base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x39b, 0x1f5); base.Controls.Add(this.panel1); base.Controls.Add(this.splitter1); base.Controls.Add(this.treeView1); base.Controls.Add(this.statusStrip1); base.Controls.Add(this.toolStrip1); this.MinimumSize = new Size(700, 400); base.Name = "MainForm"; this.Text = "FastDBEngine XmlCommandTool"; base.WindowState = FormWindowState.Maximized; base.Load += new EventHandler(this.MainForm_Load); base.FormClosing += new FormClosingEventHandler(this.MainForm_FormClosing); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.panel1.ResumeLayout(false); this.contextMenuStrip1.ResumeLayout(false); this.fileSystemWatcher_0.EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(OverviewForm)); this.Toolbar = new ToolStrip(); this.EncounterBtn = new ToolStripButton(); this.TrapBtn = new ToolStripButton(); this.ChallengeBtn = new ToolStripButton(); this.TreasureBtn = new ToolStripButton(); this.ItemList = new ListView(); this.PointHdr = new ColumnHeader(); this.InfoHdr = new ColumnHeader(); this.MainPanel = new Panel(); this.CloseBtn = new Button(); this.Toolbar.SuspendLayout(); this.MainPanel.SuspendLayout(); base.SuspendLayout(); ToolStripItemCollection items = this.Toolbar.Items; ToolStripItem[] encounterBtn = new ToolStripItem[] { this.EncounterBtn, this.TrapBtn, this.ChallengeBtn, this.TreasureBtn }; items.AddRange(encounterBtn); this.Toolbar.Location = new Point(0, 0); this.Toolbar.Name = "Toolbar"; this.Toolbar.Size = new System.Drawing.Size(513, 25); this.Toolbar.TabIndex = 0; this.Toolbar.Text = "toolStrip1"; this.EncounterBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.EncounterBtn.Image = (Image)componentResourceManager.GetObject("EncounterBtn.Image"); this.EncounterBtn.ImageTransparentColor = Color.Magenta; this.EncounterBtn.Name = "EncounterBtn"; this.EncounterBtn.Size = new System.Drawing.Size(70, 22); this.EncounterBtn.Text = "Encounters"; this.EncounterBtn.Click += new EventHandler(this.EncounterBtn_Click); this.TrapBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.TrapBtn.Image = (Image)componentResourceManager.GetObject("TrapBtn.Image"); this.TrapBtn.ImageTransparentColor = Color.Magenta; this.TrapBtn.Name = "TrapBtn"; this.TrapBtn.Size = new System.Drawing.Size(40, 22); this.TrapBtn.Text = "Traps"; this.TrapBtn.Click += new EventHandler(this.TrapBtn_Click); this.ChallengeBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.ChallengeBtn.Image = (Image)componentResourceManager.GetObject("ChallengeBtn.Image"); this.ChallengeBtn.ImageTransparentColor = Color.Magenta; this.ChallengeBtn.Name = "ChallengeBtn"; this.ChallengeBtn.Size = new System.Drawing.Size(93, 22); this.ChallengeBtn.Text = "Skill Challenges"; this.ChallengeBtn.Click += new EventHandler(this.ChallengeBtn_Click); this.TreasureBtn.DisplayStyle = ToolStripItemDisplayStyle.Text; this.TreasureBtn.Image = (Image)componentResourceManager.GetObject("TreasureBtn.Image"); this.TreasureBtn.ImageTransparentColor = Color.Magenta; this.TreasureBtn.Name = "TreasureBtn"; this.TreasureBtn.Size = new System.Drawing.Size(56, 22); this.TreasureBtn.Text = "Treasure"; this.TreasureBtn.Click += new EventHandler(this.TreasureBtn_Click); ListView.ColumnHeaderCollection columns = this.ItemList.Columns; ColumnHeader[] pointHdr = new ColumnHeader[] { this.PointHdr, this.InfoHdr }; columns.AddRange(pointHdr); this.ItemList.Dock = DockStyle.Fill; this.ItemList.FullRowSelect = true; this.ItemList.HeaderStyle = ColumnHeaderStyle.Nonclickable; this.ItemList.HideSelection = false; this.ItemList.Location = new Point(0, 25); this.ItemList.MultiSelect = false; this.ItemList.Name = "ItemList"; this.ItemList.Size = new System.Drawing.Size(513, 203); this.ItemList.TabIndex = 1; this.ItemList.UseCompatibleStateImageBehavior = false; this.ItemList.View = View.Details; this.ItemList.DoubleClick += new EventHandler(this.ItemList_DoubleClick); this.PointHdr.Text = "Point"; this.PointHdr.Width = 100; this.InfoHdr.Text = "Information"; this.InfoHdr.Width = 384; this.MainPanel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; this.MainPanel.Controls.Add(this.ItemList); this.MainPanel.Controls.Add(this.Toolbar); this.MainPanel.Location = new Point(12, 12); this.MainPanel.Name = "MainPanel"; this.MainPanel.Size = new System.Drawing.Size(513, 228); this.MainPanel.TabIndex = 2; this.CloseBtn.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; this.CloseBtn.DialogResult = System.Windows.Forms.DialogResult.OK; this.CloseBtn.Location = new Point(450, 246); this.CloseBtn.Name = "CloseBtn"; this.CloseBtn.Size = new System.Drawing.Size(75, 23); this.CloseBtn.TabIndex = 3; this.CloseBtn.Text = "Close"; this.CloseBtn.UseVisualStyleBackColor = true; base.AcceptButton = this.CloseBtn; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(537, 281); base.Controls.Add(this.CloseBtn); base.Controls.Add(this.MainPanel); base.MinimizeBox = false; base.Name = "OverviewForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Project Overview"; this.Toolbar.ResumeLayout(false); this.Toolbar.PerformLayout(); this.MainPanel.ResumeLayout(false); this.MainPanel.PerformLayout(); base.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(PatternCollectionControl)); this.lbxItems = new ListBox(); this.panel1 = new Panel(); this.btnDown = new Button(); this.btnUp = new Button(); this.btnRemove = new Button(); this.btnAdd = new Button(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // lbxItems // this.lbxItems.AccessibleDescription = null; this.lbxItems.AccessibleName = null; resources.ApplyResources(this.lbxItems, "lbxItems"); this.lbxItems.BackgroundImage = null; this.lbxItems.DrawMode = DrawMode.OwnerDrawFixed; this.lbxItems.Font = null; this.lbxItems.FormattingEnabled = true; this.lbxItems.Name = "lbxItems"; this.lbxItems.SelectedIndexChanged += new EventHandler(this.lbxItems_SelectedIndexChanged); // // panel1 // this.panel1.AccessibleDescription = null; this.panel1.AccessibleName = null; resources.ApplyResources(this.panel1, "panel1"); this.panel1.BackgroundImage = null; this.panel1.Controls.Add(this.btnDown); this.panel1.Controls.Add(this.btnUp); this.panel1.Controls.Add(this.btnRemove); this.panel1.Controls.Add(this.btnAdd); this.panel1.Font = null; this.panel1.Name = "panel1"; // // btnDown // this.btnDown.AccessibleDescription = null; this.btnDown.AccessibleName = null; resources.ApplyResources(this.btnDown, "btnDown"); this.btnDown.BackgroundImage = null; this.btnDown.Font = null; this.btnDown.Image = SymbologyFormsImages.down as Image; this.btnDown.Name = "btnDown"; this.btnDown.UseVisualStyleBackColor = true; this.btnDown.Click += new EventHandler(this.btnDown_Click); // // btnUp // this.btnUp.AccessibleDescription = null; this.btnUp.AccessibleName = null; resources.ApplyResources(this.btnUp, "btnUp"); this.btnUp.BackgroundImage = null; this.btnUp.Font = null; this.btnUp.Image = SymbologyFormsImages.up as Image; this.btnUp.Name = "btnUp"; this.btnUp.UseVisualStyleBackColor = true; this.btnUp.Click += new EventHandler(this.btnUp_Click); // // btnRemove // this.btnRemove.AccessibleDescription = null; this.btnRemove.AccessibleName = null; resources.ApplyResources(this.btnRemove, "btnRemove"); this.btnRemove.BackgroundImage = null; this.btnRemove.Font = null; this.btnRemove.Image = SymbologyFormsImages.mnuLayerClear as Image; this.btnRemove.Name = "btnRemove"; this.btnRemove.UseVisualStyleBackColor = true; this.btnRemove.Click += new EventHandler(this.btnRemove_Click); // // btnAdd // this.btnAdd.AccessibleDescription = null; this.btnAdd.AccessibleName = null; resources.ApplyResources(this.btnAdd, "btnAdd"); this.btnAdd.BackgroundImage = null; this.btnAdd.Font = null; this.btnAdd.Image = SymbologyFormsImages.mnuLayerAdd as Image; this.btnAdd.Name = "btnAdd"; this.btnAdd.UseVisualStyleBackColor = true; this.btnAdd.Click += new EventHandler(this.btnAdd_Click); // // PatternCollectionControl // this.AccessibleDescription = null; this.AccessibleName = null; resources.ApplyResources(this, "$this"); this.BackgroundImage = null; this.Controls.Add(this.lbxItems); this.Controls.Add(this.panel1); this.Font = null; this.Name = "PatternCollectionControl"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
public frmReg(LoginForm fLogin) { // TODO: Complete member initialization this.fLogin = fLogin; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 262); this.Name = "frmReg"; this.Text = "Regester"; ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmReg)); this.label1 = new Label(); this.txt_phone = new TextBox(); this.label2 = new Label(); this.txt_userName = new TextBox(); this.label3 = new Label(); this.txt_pwd1 = new TextBox(); this.label4 = new Label(); this.txt_pwd2 = new TextBox(); this.label5 = new Label(); this.txt_QQ = new TextBox(); this.label6 = new Label(); this.txt_WW = new TextBox(); this.label7 = new Label(); this.txt_tjr = new TextBox(); this.button1 = new Button(); this.label8 = new Label(); this.txt_Msg = new TextBox(); this.label9 = new Label(); this.label10 = new Label(); this.label12 = new Label(); this.label11 = new Label(); this.label13 = new Label(); this.label14 = new Label(); this.lab_phone = new Label(); this.lab_userName = new Label(); this.lab_pwd1 = new Label(); this.lab_pwd2 = new Label(); this.lab_QQ = new Label(); this.lab_WW = new Label(); this.lab_tjr = new Label(); this.SuspendLayout(); this.label1.AutoSize = true; this.label1.Location = new Point(6, 39); this.label1.Name = "label1"; this.label1.Size = new Size(59, 12); this.label1.TabIndex = 0; this.label1.Text = "用 户 名:"; this.txt_phone.Location = new Point(71, 6); this.txt_phone.MaxLength = 11; this.txt_phone.Name = "txt_phone"; this.txt_phone.Size = new Size(148, 21); this.txt_phone.TabIndex = 1; // ISSUE: method pointer // ISSUE: method pointer this.txt_phone.Leave += new EventHandler(txt_phone_Leave); // ISSUE: method pointer this.txt_phone.KeyPress += new KeyPressEventHandler(txt_phone_KeyPress); this.label2.AutoSize = true; this.label2.Location = new Point(6, 9); this.label2.Name = "label2"; this.label2.Size = new Size(59, 12); this.label2.TabIndex = 0; this.label2.Text = "手机号码:"; this.txt_userName.Location = new Point(71, 36); this.txt_userName.MaxLength = 20; this.txt_userName.Name = "txt_userName"; this.txt_userName.Size = new Size(148, 21); this.txt_userName.TabIndex = 2; // ISSUE: method pointer this.txt_userName.Leave += new EventHandler(txt_userName_Leave); // ISSUE: method pointer this.txt_userName.KeyPress += new KeyPressEventHandler(txt_userName_KeyPress); this.label3.AutoSize = true; this.label3.Location = new Point(6, 69); this.label3.Name = "label3"; this.label3.Size = new Size(59, 12); this.label3.TabIndex = 0; this.label3.Text = "密 码:"; this.txt_pwd1.Location = new Point(71, 66); this.txt_pwd1.MaxLength = 15; this.txt_pwd1.Name = "txt_pwd1"; this.txt_pwd1.PasswordChar = '*'; this.txt_pwd1.Size = new Size(148, 21); this.txt_pwd1.TabIndex = 3; // ISSUE: method pointer this.txt_pwd1.Leave += new EventHandler(txt_pwd1_Leave); this.label4.AutoSize = true; this.label4.Location = new Point(6, 129); this.label4.Name = "label4"; this.label4.Size = new Size(59, 12); this.label4.TabIndex = 0; this.label4.Text = "Q Q 号码:"; this.txt_pwd2.Location = new Point(71, 96); this.txt_pwd2.MaxLength = 15; this.txt_pwd2.Name = "txt_pwd2"; this.txt_pwd2.PasswordChar = '*'; this.txt_pwd2.Size = new Size(148, 21); this.txt_pwd2.TabIndex = 4; // ISSUE: method pointer this.txt_pwd2.Leave += new EventHandler(txt_pwd2_Leave); this.label5.AutoSize = true; this.label5.Location = new Point(6, 159); this.label5.Name = "label5"; this.label5.Size = new Size(59, 12); this.label5.TabIndex = 0; this.label5.Text = "店铺旺旺:"; this.txt_QQ.Location = new Point(71, 126); this.txt_QQ.MaxLength = 15; this.txt_QQ.Name = "txt_QQ"; this.txt_QQ.Size = new Size(148, 21); this.txt_QQ.TabIndex = 5; // ISSUE: method pointer this.txt_QQ.Leave += new EventHandler(txt_QQ_Leave); // ISSUE: method pointer this.txt_QQ.KeyPress += new KeyPressEventHandler(txt_QQ_KeyPress); this.label6.AutoSize = true; this.label6.Location = new Point(6, 189); this.label6.Name = "label6"; this.label6.Size = new Size(59, 12); this.label6.TabIndex = 0; this.label6.Text = "推荐人QQ:"; this.txt_WW.Location = new Point(71, 156); this.txt_WW.MaxLength = 30; this.txt_WW.Name = "txt_WW"; this.txt_WW.Size = new Size(148, 21); this.txt_WW.TabIndex = 6; // ISSUE: method pointer this.txt_WW.Leave += new EventHandler(txt_WW_Leave); // ISSUE: method pointer this.txt_WW.KeyPress += new KeyPressEventHandler(txt_WW_KeyPress); this.label7.AutoSize = true; this.label7.Location = new Point(6, 99); this.label7.Name = "label7"; this.label7.Size = new Size(59, 12); this.label7.TabIndex = 0; this.label7.Text = "确认密码:"; this.txt_tjr.Location = new Point(71, 186); this.txt_tjr.MaxLength = 20; this.txt_tjr.Name = "txt_tjr"; this.txt_tjr.Size = new Size(148, 21); this.txt_tjr.TabIndex = 7; // ISSUE: method pointer this.txt_tjr.Leave += new EventHandler(txt_tjr_Leave); // ISSUE: method pointer this.txt_tjr.KeyPress += new KeyPressEventHandler(txt_tjr_KeyPress); this.button1.Location = new Point(121, 213); this.button1.Name = "button1"; this.button1.Size = new Size(85, 32); this.button1.TabIndex = 8; this.button1.Text = "提交注册"; this.button1.UseVisualStyleBackColor = true; // ISSUE: method pointer this.button1.Click += new EventHandler(button1_Click); this.label8.AutoSize = true; this.label8.ForeColor = Color.Red; this.label8.Location = new Point(221, 227); this.label8.Name = "label8"; this.label8.Size = new Size(47, 12); this.label8.TabIndex = 3; this.label8.Text = "*为必填"; this.txt_Msg.Location = new Point(8, 251); this.txt_Msg.Multiline = true; this.txt_Msg.Name = "txt_Msg"; this.txt_Msg.Size = new Size(359, 69); this.txt_Msg.TabIndex = 10; // ISSUE: method pointer this.txt_Msg.KeyPress += new KeyPressEventHandler(txt_Msg_KeyPress); // ISSUE: method pointer this.txt_Msg.Enter += new EventHandler(txt_Msg_Enter); this.label9.AutoSize = true; this.label9.Font = new Font("新宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte)134); this.label9.ForeColor = Color.Red; this.label9.Location = new Point(221, 9); this.label9.Name = "label9"; this.label9.Size = new Size(11, 12); this.label9.TabIndex = 3; this.label9.Text = "*"; this.label10.AutoSize = true; this.label10.Font = new Font("新宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte)134); this.label10.ForeColor = Color.Red; this.label10.Location = new Point(221, 39); this.label10.Name = "label10"; this.label10.Size = new Size(11, 12); this.label10.TabIndex = 3; this.label10.Text = "*"; this.label12.AutoSize = true; this.label12.Font = new Font("新宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte)134); this.label12.ForeColor = Color.Red; this.label12.Location = new Point(221, 69); this.label12.Name = "label12"; this.label12.Size = new Size(11, 12); this.label12.TabIndex = 3; this.label12.Text = "*"; this.label11.AutoSize = true; this.label11.Font = new Font("新宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte)134); this.label11.ForeColor = Color.Red; this.label11.Location = new Point(221, 99); this.label11.Name = "label11"; this.label11.Size = new Size(11, 12); this.label11.TabIndex = 3; this.label11.Text = "*"; this.label13.AutoSize = true; this.label13.Font = new Font("新宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte)134); this.label13.ForeColor = Color.Red; this.label13.Location = new Point(221, 129); this.label13.Name = "label13"; this.label13.Size = new Size(11, 12); this.label13.TabIndex = 3; this.label13.Text = "*"; this.label14.AutoSize = true; this.label14.Font = new Font("新宋体", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte)134); this.label14.ForeColor = Color.Red; this.label14.Location = new Point(221, 159); this.label14.Name = "label14"; this.label14.Size = new Size(11, 12); this.label14.TabIndex = 3; this.label14.Text = "*"; this.lab_phone.AutoSize = true; this.lab_phone.ForeColor = Color.FromArgb(64, 64, 64); this.lab_phone.Location = new Point(236, 9); this.lab_phone.Name = "lab_phone"; this.lab_phone.Size = new Size(137, 12); this.lab_phone.TabIndex = 0; this.lab_phone.Text = "可以联系到您的手机号码"; this.lab_userName.AutoSize = true; this.lab_userName.ForeColor = Color.FromArgb(64, 64, 64); this.lab_userName.Location = new Point(236, 39); this.lab_userName.Name = "lab_userName"; this.lab_userName.Size = new Size(131, 12); this.lab_userName.TabIndex = 0; this.lab_userName.Text = "3位以上英文字母或数字"; this.lab_pwd1.AutoSize = true; this.lab_pwd1.ForeColor = Color.FromArgb(64, 64, 64); this.lab_pwd1.Location = new Point(236, 69); this.lab_pwd1.Name = "lab_pwd1"; this.lab_pwd1.Size = new Size(107, 12); this.lab_pwd1.TabIndex = 0; this.lab_pwd1.Text = "3-15位,区分大小写"; this.lab_pwd2.AutoSize = true; this.lab_pwd2.ForeColor = Color.FromArgb(64, 64, 64); this.lab_pwd2.Location = new Point(236, 99); this.lab_pwd2.Name = "lab_pwd2"; this.lab_pwd2.Size = new Size(77, 12); this.lab_pwd2.TabIndex = 0; this.lab_pwd2.Text = "再次输入密码"; this.lab_QQ.AutoSize = true; this.lab_QQ.ForeColor = Color.FromArgb(64, 64, 64); this.lab_QQ.Location = new Point(236, 129); this.lab_QQ.Name = "lab_QQ"; this.lab_QQ.Size = new Size(113, 12); this.lab_QQ.TabIndex = 0; this.lab_QQ.Text = "可以联系到您QQ号码"; this.lab_WW.AutoSize = true; this.lab_WW.ForeColor = Color.FromArgb(64, 64, 64); this.lab_WW.Location = new Point(236, 159); this.lab_WW.Name = "lab_WW"; this.lab_WW.Size = new Size(113, 12); this.lab_WW.TabIndex = 0; this.lab_WW.Text = "您的店铺的旺旺号码"; this.lab_tjr.AutoSize = true; this.lab_tjr.ForeColor = Color.Red; this.lab_tjr.Location = new Point(224, 189); this.lab_tjr.Name = "lab_tjr"; this.lab_tjr.Size = new Size(143, 12); this.lab_tjr.TabIndex = 0; this.lab_tjr.Text = "推荐人将可获得888流量币"; this.AutoScaleDimensions = new SizeF(6f, 12f); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(376, 324); this.Controls.Add((Control)this.label14); this.Controls.Add((Control)this.label13); this.Controls.Add((Control)this.label11); this.Controls.Add((Control)this.txt_Msg); this.Controls.Add((Control)this.label12); this.Controls.Add((Control)this.label10); this.Controls.Add((Control)this.label9); this.Controls.Add((Control)this.label8); this.Controls.Add((Control)this.button1); this.Controls.Add((Control)this.txt_tjr); this.Controls.Add((Control)this.label7); this.Controls.Add((Control)this.txt_WW); this.Controls.Add((Control)this.label6); this.Controls.Add((Control)this.txt_QQ); this.Controls.Add((Control)this.label5); this.Controls.Add((Control)this.txt_pwd2); this.Controls.Add((Control)this.label4); this.Controls.Add((Control)this.txt_pwd1); this.Controls.Add((Control)this.label3); this.Controls.Add((Control)this.txt_userName); this.Controls.Add((Control)this.lab_tjr); this.Controls.Add((Control)this.lab_WW); this.Controls.Add((Control)this.lab_QQ); this.Controls.Add((Control)this.lab_pwd2); this.Controls.Add((Control)this.lab_pwd1); this.Controls.Add((Control)this.lab_userName); this.Controls.Add((Control)this.lab_phone); this.Controls.Add((Control)this.label2); this.Controls.Add((Control)this.txt_phone); this.Controls.Add((Control)this.label1); this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); this.MaximizeBox = false; this.Name = "frmReg"; this.StartPosition = FormStartPosition.CenterParent; this.Text = "新用户注册"; // ISSUE: method pointer this.Load += new EventHandler(frmReg_Load); this.ResumeLayout(false); InitializeComponent(); }
private void InitializeComponent() { ComponentResourceManager manager = new ComponentResourceManager(typeof(frmSetReferenceLocation)); this.frmRxInitCmdRefLocationGrpBox = new GroupBox(); this.button_FixPCurrentLocation = new Button(); this.frmSetRefLocationSetAsDefaultBtn = new Button(); this.frmSetRefLocationRefLatitudeTxtBox = new TextBox(); this.frmSetLocationRefLatitudeLabel = new Label(); this.frmSetRefLocationRefLongitudeTxtBox = new TextBox(); this.frmSetRefLocationRefLongitudeLabel = new Label(); this.frmSetRefLocationRefAltitudeTxtBox = new TextBox(); this.frmSetRefLocationRefAltitudeLabel = new Label(); this.frmSetRefLocationRefLocationComboBox = new ComboBox(); this.frmSetRefLocationOkBtn = new Button(); this.frmSetRefLocationCancelBtn = new Button(); this.frmRxInitCmdRefLocationGrpBox.SuspendLayout(); base.SuspendLayout(); this.frmRxInitCmdRefLocationGrpBox.Controls.Add(this.button_FixPCurrentLocation); this.frmRxInitCmdRefLocationGrpBox.Controls.Add(this.frmSetRefLocationSetAsDefaultBtn); this.frmRxInitCmdRefLocationGrpBox.Controls.Add(this.frmSetRefLocationRefLatitudeTxtBox); this.frmRxInitCmdRefLocationGrpBox.Controls.Add(this.frmSetLocationRefLatitudeLabel); this.frmRxInitCmdRefLocationGrpBox.Controls.Add(this.frmSetRefLocationRefLongitudeTxtBox); this.frmRxInitCmdRefLocationGrpBox.Controls.Add(this.frmSetRefLocationRefLongitudeLabel); this.frmRxInitCmdRefLocationGrpBox.Controls.Add(this.frmSetRefLocationRefAltitudeTxtBox); this.frmRxInitCmdRefLocationGrpBox.Controls.Add(this.frmSetRefLocationRefAltitudeLabel); this.frmRxInitCmdRefLocationGrpBox.Controls.Add(this.frmSetRefLocationRefLocationComboBox); this.frmRxInitCmdRefLocationGrpBox.Location = new Point(20, 0x13); this.frmRxInitCmdRefLocationGrpBox.Name = "frmRxInitCmdRefLocationGrpBox"; this.frmRxInitCmdRefLocationGrpBox.Size = new Size(0x175, 0x6f); this.frmRxInitCmdRefLocationGrpBox.TabIndex = 1; this.frmRxInitCmdRefLocationGrpBox.TabStop = false; this.frmRxInitCmdRefLocationGrpBox.Text = "Reference Location"; this.button_FixPCurrentLocation.Location = new Point(0x137, 20); this.button_FixPCurrentLocation.Name = "button_FixPCurrentLocation"; this.button_FixPCurrentLocation.Size = new Size(0x37, 0x17); this.button_FixPCurrentLocation.TabIndex = 3; this.button_FixPCurrentLocation.Text = "Fix Pos"; this.button_FixPCurrentLocation.UseVisualStyleBackColor = true; this.button_FixPCurrentLocation.Click += new EventHandler(this.button_FixPCurrentLocation_Click); this.frmSetRefLocationSetAsDefaultBtn.Location = new Point(0x1b, 0x4c); this.frmSetRefLocationSetAsDefaultBtn.Name = "frmSetRefLocationSetAsDefaultBtn"; this.frmSetRefLocationSetAsDefaultBtn.Size = new Size(0x95, 0x17); this.frmSetRefLocationSetAsDefaultBtn.TabIndex = 2; this.frmSetRefLocationSetAsDefaultBtn.Text = "Set as Default"; this.frmSetRefLocationSetAsDefaultBtn.UseVisualStyleBackColor = true; this.frmSetRefLocationRefLatitudeTxtBox.Location = new Point(0xef, 0x15); this.frmSetRefLocationRefLatitudeTxtBox.Name = "frmSetRefLocationRefLatitudeTxtBox"; this.frmSetRefLocationRefLatitudeTxtBox.Size = new Size(0x44, 20); this.frmSetRefLocationRefLatitudeTxtBox.TabIndex = 3; this.frmSetRefLocationRefLatitudeTxtBox.Text = "-2682834"; this.frmSetLocationRefLatitudeLabel.AutoSize = true; this.frmSetLocationRefLatitudeLabel.Location = new Point(0xc0, 0x19); this.frmSetLocationRefLatitudeLabel.Name = "frmSetLocationRefLatitudeLabel"; this.frmSetLocationRefLatitudeLabel.Size = new Size(0x2d, 13); this.frmSetLocationRefLatitudeLabel.TabIndex = 11; this.frmSetLocationRefLatitudeLabel.Text = "Latitude"; this.frmSetRefLocationRefLongitudeTxtBox.Location = new Point(0xef, 0x31); this.frmSetRefLocationRefLongitudeTxtBox.Name = "frmSetRefLocationRefLongitudeTxtBox"; this.frmSetRefLocationRefLongitudeTxtBox.Size = new Size(0x44, 20); this.frmSetRefLocationRefLongitudeTxtBox.TabIndex = 4; this.frmSetRefLocationRefLongitudeTxtBox.Text = "-4307681"; this.frmSetRefLocationRefLongitudeLabel.AutoSize = true; this.frmSetRefLocationRefLongitudeLabel.Location = new Point(0xb7, 0x35); this.frmSetRefLocationRefLongitudeLabel.Name = "frmSetRefLocationRefLongitudeLabel"; this.frmSetRefLocationRefLongitudeLabel.Size = new Size(0x36, 13); this.frmSetRefLocationRefLongitudeLabel.TabIndex = 13; this.frmSetRefLocationRefLongitudeLabel.Text = "Longitude"; this.frmSetRefLocationRefAltitudeTxtBox.Location = new Point(0xef, 0x4d); this.frmSetRefLocationRefAltitudeTxtBox.Name = "frmSetRefLocationRefAltitudeTxtBox"; this.frmSetRefLocationRefAltitudeTxtBox.Size = new Size(0x44, 20); this.frmSetRefLocationRefAltitudeTxtBox.TabIndex = 5; this.frmSetRefLocationRefAltitudeTxtBox.Text = "3850571"; this.frmSetRefLocationRefAltitudeLabel.AutoSize = true; this.frmSetRefLocationRefAltitudeLabel.Location = new Point(0xc3, 0x51); this.frmSetRefLocationRefAltitudeLabel.Name = "frmSetRefLocationRefAltitudeLabel"; this.frmSetRefLocationRefAltitudeLabel.Size = new Size(0x2a, 13); this.frmSetRefLocationRefAltitudeLabel.TabIndex = 15; this.frmSetRefLocationRefAltitudeLabel.Text = "Altitude"; this.frmSetRefLocationRefLocationComboBox.FormattingEnabled = true; this.frmSetRefLocationRefLocationComboBox.Location = new Point(0x19, 20); this.frmSetRefLocationRefLocationComboBox.Name = "frmSetRefLocationRefLocationComboBox"; this.frmSetRefLocationRefLocationComboBox.Size = new Size(0x97, 0x15); this.frmSetRefLocationRefLocationComboBox.Sorted = true; this.frmSetRefLocationRefLocationComboBox.TabIndex = 0; this.frmSetRefLocationRefLocationComboBox.SelectedIndexChanged += new EventHandler(this.frmSetRefLocationRefLocationComboBox_SelectedIndexChanged); this.frmSetRefLocationOkBtn.Location = new Point(0x77, 0x93); this.frmSetRefLocationOkBtn.Name = "frmSetRefLocationOkBtn"; this.frmSetRefLocationOkBtn.Size = new Size(0x4b, 0x17); this.frmSetRefLocationOkBtn.TabIndex = 2; this.frmSetRefLocationOkBtn.Text = "&OK"; this.frmSetRefLocationOkBtn.UseVisualStyleBackColor = true; this.frmSetRefLocationOkBtn.Click += new EventHandler(this.frmSetRefLocationOkBtn_Click); this.frmSetRefLocationCancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.frmSetRefLocationCancelBtn.Location = new Point(0xd9, 0x93); this.frmSetRefLocationCancelBtn.Name = "frmSetRefLocationCancelBtn"; this.frmSetRefLocationCancelBtn.Size = new Size(0x4b, 0x17); this.frmSetRefLocationCancelBtn.TabIndex = 2; this.frmSetRefLocationCancelBtn.Text = "&Cancel"; this.frmSetRefLocationCancelBtn.UseVisualStyleBackColor = true; this.frmSetRefLocationCancelBtn.Click += new EventHandler(this.frmSetRefLocationCancelBtn_Click); base.AcceptButton = this.frmSetRefLocationOkBtn; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.CancelButton = this.frmSetRefLocationCancelBtn; base.ClientSize = new Size(0x19b, 0xb8); base.Controls.Add(this.frmSetRefLocationCancelBtn); base.Controls.Add(this.frmSetRefLocationOkBtn); base.Controls.Add(this.frmRxInitCmdRefLocationGrpBox); base.Icon = (Icon)manager.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "frmSetReferenceLocation"; base.ShowInTaskbar = false; base.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Set Reference Location"; base.Load += new EventHandler(this.frmSetReferenceLocation_Load); this.frmRxInitCmdRefLocationGrpBox.ResumeLayout(false); this.frmRxInitCmdRefLocationGrpBox.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(BorderSidesEditor)); tableLayoutPanel1 = new TableLayoutPanel(); noneCheckBox = new CheckBox(); allCheckBox = new CheckBox(); topCheckBox = new CheckBox(); bottomCheckBox = new CheckBox(); rightCheckBox = new CheckBox(); leftCheckBox = new CheckBox(); splitterLabel = new Label(); tableLayoutPanel1.SuspendLayout(); SuspendLayout(); // // tableLayoutPanel1 // resources.ApplyResources(tableLayoutPanel1, "tableLayoutPanel1"); tableLayoutPanel1.AutoSizeMode = AutoSizeMode.GrowAndShrink; tableLayoutPanel1.BackColor = SystemColors.Window; tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle()); tableLayoutPanel1.Controls.Add(noneCheckBox, 0, 0); tableLayoutPanel1.Controls.Add(allCheckBox, 0, 2); tableLayoutPanel1.Controls.Add(topCheckBox, 0, 3); tableLayoutPanel1.Controls.Add(bottomCheckBox, 0, 4); tableLayoutPanel1.Controls.Add(rightCheckBox, 0, 6); tableLayoutPanel1.Controls.Add(leftCheckBox, 0, 5); tableLayoutPanel1.Controls.Add(splitterLabel, 0, 1); tableLayoutPanel1.Name = "tableLayoutPanel1"; tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.RowStyles.Add(new RowStyle()); tableLayoutPanel1.Margin = new Padding(0); // // noneCheckBox // resources.ApplyResources(noneCheckBox, "noneCheckBox"); noneCheckBox.Name = "noneCheckBox"; noneCheckBox.Margin = new Padding(3, 3, 3, 1); // // allCheckBox // resources.ApplyResources(allCheckBox, "allCheckBox"); allCheckBox.Name = "allCheckBox"; allCheckBox.Margin = new Padding(3, 3, 3, 1); // // topCheckBox // resources.ApplyResources(topCheckBox, "topCheckBox"); topCheckBox.Margin = new Padding(20, 1, 3, 1); topCheckBox.Name = "topCheckBox"; // // bottomCheckBox // resources.ApplyResources(bottomCheckBox, "bottomCheckBox"); bottomCheckBox.Margin = new Padding(20, 1, 3, 1); bottomCheckBox.Name = "bottomCheckBox"; // // rightCheckBox // resources.ApplyResources(rightCheckBox, "rightCheckBox"); rightCheckBox.Margin = new Padding(20, 1, 3, 1); rightCheckBox.Name = "rightCheckBox"; // // leftCheckBox // resources.ApplyResources(leftCheckBox, "leftCheckBox"); leftCheckBox.Margin = new Padding(20, 1, 3, 1); leftCheckBox.Name = "leftCheckBox"; // // splitterLabel // resources.ApplyResources(splitterLabel, "splitterLabel"); splitterLabel.BackColor = SystemColors.ControlDark; splitterLabel.Name = "splitterLabel"; // // Control // resources.ApplyResources(this, "$this"); Controls.Add(tableLayoutPanel1); Padding = new Padding(1, 1, 1, 1); AutoSizeMode = AutoSizeMode.GrowAndShrink; AutoScaleMode = AutoScaleMode.Font; AutoScaleDimensions = new SizeF(6F, 13F); tableLayoutPanel1.ResumeLayout(false); tableLayoutPanel1.PerformLayout(); ResumeLayout(false); PerformLayout(); //Events rightCheckBox.CheckedChanged += rightCheckBox_CheckedChanged; leftCheckBox.CheckedChanged += leftCheckBox_CheckedChanged; bottomCheckBox.CheckedChanged += bottomCheckBox_CheckedChanged; topCheckBox.CheckedChanged += topCheckBox_CheckedChanged; noneCheckBox.CheckedChanged += noneCheckBox_CheckedChanged; allCheckBox.CheckedChanged += allCheckBox_CheckedChanged; noneCheckBox.Click += noneCheckBoxClicked; allCheckBox.Click += allCheckBoxClicked; }
public void InitializeComponent() { this.components = new Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(MainForm)); this.menuStrip = new MenuStrip(); this.fichierToolStripMenuItem = new ToolStripMenuItem(); this.ouvrirToolStripMenuItem = new ToolStripMenuItem(); this.exitToolStripMenuItem = new ToolStripMenuItem(); this.splitContainer = new SplitContainer(); this.treeView = new TreeView(); this.ContextMenuStrip = new ContextMenuStrip(this.components); this.Extractmenuitem = new ToolStripMenuItem(); this.extractFileAndOpenToolStripMenuItem = new ToolStripMenuItem(); this.extractFolderToolStripMenuItem = new ToolStripMenuItem(); this.LabelFileSize = new Label(); this.LabelFileChecksum = new Label(); this.LabelFileCount = new Label(); this.LabelCurrentVs = new Label(); this.LabelBaseVs = new Label(); this.statusStrip = new StatusStrip(); this.StatutLabel = new ToolStripStatusLabel(); this.VFSBaseLabel = new ToolStripStatusLabel(); this.OpenFileDialog = new OpenFileDialog(); this.saveFileDialog = new SaveFileDialog(); this.folderBrowserDialog = new FolderBrowserDialog(); this.menuStrip.SuspendLayout(); this.splitContainer.Panel1.SuspendLayout(); this.splitContainer.Panel2.SuspendLayout(); this.splitContainer.SuspendLayout(); this.ContextMenuStrip.SuspendLayout(); this.statusStrip.SuspendLayout(); base.SuspendLayout(); this.menuStrip.AllowMerge = false; this.menuStrip.Items.AddRange(new ToolStripItem[] { this.fichierToolStripMenuItem }); this.menuStrip.Location = new Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.Size = new Size(392, 24); this.menuStrip.TabIndex = 0; this.menuStrip.Text = "menuStrip1"; this.fichierToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.ouvrirToolStripMenuItem, this.exitToolStripMenuItem }); this.fichierToolStripMenuItem.Name = "fichierToolStripMenuItem"; this.fichierToolStripMenuItem.Size = new Size(35, 20); this.fichierToolStripMenuItem.Text = "File"; this.fichierToolStripMenuItem.Click += new EventHandler(this.fichierToolStripMenuItem_Click); this.ouvrirToolStripMenuItem.Name = "ouvrirToolStripMenuItem"; this.ouvrirToolStripMenuItem.Size = new Size(111, 22); this.ouvrirToolStripMenuItem.Text = "Open"; this.ouvrirToolStripMenuItem.Click += new EventHandler(this.ouvrirToolStripMenuItem_Click); this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new Size(111, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new EventHandler(this.exitToolStripMenuItem_Click); this.splitContainer.Dock = DockStyle.Fill; this.splitContainer.Location = new Point(0, 24); this.splitContainer.Name = "splitContainer"; this.splitContainer.Orientation = Orientation.Horizontal; this.splitContainer.Panel1.BackColor = SystemColors.Window; this.splitContainer.Panel1.Controls.Add(this.treeView); this.splitContainer.Panel2.Controls.Add(this.LabelFileSize); this.splitContainer.Panel2.Controls.Add(this.LabelFileChecksum); this.splitContainer.Panel2.Controls.Add(this.LabelFileCount); this.splitContainer.Panel2.Controls.Add(this.LabelCurrentVs); this.splitContainer.Panel2.Controls.Add(this.LabelBaseVs); this.splitContainer.Panel2.Controls.Add(this.statusStrip); this.splitContainer.Size = new Size(392, 442); this.splitContainer.SplitterDistance = 333; this.splitContainer.TabIndex = 1; this.treeView.ContextMenuStrip = this.ContextMenuStrip; this.treeView.Location = new Point(3, 5); this.treeView.Name = "treeView"; this.treeView.Size = new Size(386, 325); this.treeView.TabIndex = 0; this.treeView.MouseClick += new MouseEventHandler(this.treeView_MouseClick); this.treeView.AfterSelect += new TreeViewEventHandler(this.treeView_AfterSelect); this.ContextMenuStrip.Items.AddRange(new ToolStripItem[] { this.Extractmenuitem, this.extractFileAndOpenToolStripMenuItem, this.extractFolderToolStripMenuItem }); this.ContextMenuStrip.Name = "ContextMenuStrip"; this.ContextMenuStrip.Size = new Size(232, 92); this.Extractmenuitem.Enabled = false; this.Extractmenuitem.Name = "Extractmenuitem"; this.Extractmenuitem.Size = new Size(231, 22); this.Extractmenuitem.Text = "Extract File"; this.Extractmenuitem.Click += new EventHandler(this.toolStripMenuItem1_Click); this.extractFileAndOpenToolStripMenuItem.Enabled = false; this.extractFileAndOpenToolStripMenuItem.Name = "extractFileAndOpenToolStripMenuItem"; this.extractFileAndOpenToolStripMenuItem.Size = new Size(231, 22); this.extractFileAndOpenToolStripMenuItem.Text = "Extract File and Open (In dev)"; this.extractFileAndOpenToolStripMenuItem.Click += new EventHandler(this.extractFileAndOpenToolStripMenuItem_Click); this.extractFolderToolStripMenuItem.Enabled = false; this.extractFolderToolStripMenuItem.Name = "extractFolderToolStripMenuItem"; this.extractFolderToolStripMenuItem.Size = new Size(231, 22); this.extractFolderToolStripMenuItem.Text = "Extract Folder"; this.extractFolderToolStripMenuItem.Click += new EventHandler(this.extractFolderToolStripMenuItem_Click); this.LabelFileSize.AutoSize = true; this.LabelFileSize.Location = new Point(253, 15); this.LabelFileSize.Name = "LabelFileSize"; this.LabelFileSize.Size = new Size(50, 13); this.LabelFileSize.TabIndex = 5; this.LabelFileSize.Text = "File size :"; this.LabelFileChecksum.AutoSize = true; this.LabelFileChecksum.Location = new Point(128, 38); this.LabelFileChecksum.Name = "LabelFileChecksum"; this.LabelFileChecksum.Size = new Size(81, 13); this.LabelFileChecksum.TabIndex = 4; this.LabelFileChecksum.Text = "File checksum :"; this.LabelFileCount.AutoSize = true; this.LabelFileCount.Location = new Point(128, 14); this.LabelFileCount.Name = "LabelFileCount"; this.LabelFileCount.Size = new Size(59, 13); this.LabelFileCount.TabIndex = 3; this.LabelFileCount.Text = "File count :"; this.LabelCurrentVs.AutoSize = true; this.LabelCurrentVs.Location = new Point(12, 38); this.LabelCurrentVs.Name = "LabelCurrentVs"; this.LabelCurrentVs.Size = new Size(85, 13); this.LabelCurrentVs.TabIndex = 2; this.LabelCurrentVs.Text = "Current Version :"; this.LabelBaseVs.AutoSize = true; this.LabelBaseVs.Location = new Point(12, 14); this.LabelBaseVs.Name = "LabelBaseVs"; this.LabelBaseVs.Size = new Size(75, 13); this.LabelBaseVs.TabIndex = 1; this.LabelBaseVs.Text = "Base Version :"; this.statusStrip.Items.AddRange(new ToolStripItem[] { this.StatutLabel, this.VFSBaseLabel }); this.statusStrip.Location = new Point(0, 83); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new Size(392, 22); this.statusStrip.TabIndex = 0; this.statusStrip.Text = "statusStrip1"; this.StatutLabel.Name = "StatutLabel"; this.StatutLabel.Size = new Size(135, 17); this.StatutLabel.Text = "VFS Editor succeffuly open"; this.VFSBaseLabel.Name = "VFSBaseLabel"; this.VFSBaseLabel.Size = new Size(0, 17); this.OpenFileDialog.Filter = "Fichier idx|*.idx"; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(392, 466); base.Controls.Add(this.splitContainer); base.Controls.Add(this.menuStrip); base.FormBorderStyle = FormBorderStyle.FixedSingle; base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); base.MainMenuStrip = this.menuStrip; base.MaximizeBox = false; base.Name = "MainForm"; this.Text = "ShinVFS editor"; this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.splitContainer.Panel1.ResumeLayout(false); this.splitContainer.Panel2.ResumeLayout(false); this.splitContainer.Panel2.PerformLayout(); this.splitContainer.ResumeLayout(false); this.ContextMenuStrip.ResumeLayout(false); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmFail)); this.lblStatus = new Label(); this.lblMessage = new Label(); this.pictureBox1 = new PictureBox(); this.btnOK = new Button(); ((ISupportInitialize)this.pictureBox1).BeginInit(); this.SuspendLayout(); this.lblStatus.AutoSize = true; this.lblStatus.Font = new Font("Microsoft Sans Serif", 50.25f, FontStyle.Bold, GraphicsUnit.Point, (byte)0); this.lblStatus.ForeColor = Color.Red; this.lblStatus.Location = new Point(39, 20); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new Size(179, 76); this.lblStatus.TabIndex = 0; this.lblStatus.Text = "FAIL"; this.lblStatus.TextAlign = ContentAlignment.MiddleCenter; this.lblMessage.AutoSize = true; this.lblMessage.Font = new Font("Courier New", 10f, FontStyle.Bold, GraphicsUnit.Point, (byte)0); this.lblMessage.Location = new Point(50, 114); this.lblMessage.Name = "lblMessage"; this.lblMessage.Size = new Size(64, 16); this.lblMessage.TabIndex = 1; this.lblMessage.Text = "Message"; this.pictureBox1.Image = (Image)componentResourceManager.GetObject("pictureBox1.Image"); this.pictureBox1.Location = new Point(250, 20); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Size(72, 64); this.pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage; this.pictureBox1.TabIndex = 2; this.pictureBox1.TabStop = false; this.btnOK.BackColor = Color.Transparent; this.btnOK.DialogResult = DialogResult.Cancel; this.btnOK.Font = new Font("Microsoft Sans Serif", 27.75f, FontStyle.Regular, GraphicsUnit.Point, (byte)0); this.btnOK.ForeColor = Color.Red; this.btnOK.Location = new Point(365, 285); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(88, 53); this.btnOK.TabIndex = 3; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = false; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.AcceptButton = (IButtonControl)this.btnOK; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.White; this.CancelButton = (IButtonControl)this.btnOK; this.ClientSize = new Size(494, 376); this.ControlBox = false; this.Controls.Add((Control)this.btnOK); this.Controls.Add((Control)this.pictureBox1); this.Controls.Add((Control)this.lblMessage); this.Controls.Add((Control)this.lblStatus); this.FormBorderStyle = FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = nameof(frmFail); this.StartPosition = FormStartPosition.CenterParent; this.Text = "STATUS"; this.Load += new EventHandler(this.frmStatus_Load); ((ISupportInitialize)this.pictureBox1).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { DataGridViewCellStyle dataGridViewCellStyle = new DataGridViewCellStyle(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(UserManAllUsers)); DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle(); this.dgvUserAll = new DataGridView(); this.butUserDel = new Button(); this.butUserEdit = new Button(); this.butUserAdd = new Button(); this.dataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn(); this.dgvUserNm = new DataGridViewTextBoxColumn(); this.dgvRole = new DataGridViewTextBoxColumn(); this.dgvState = new DataGridViewTextBoxColumn(); ((ISupportInitialize)this.dgvUserAll).BeginInit(); base.SuspendLayout(); this.dgvUserAll.AllowUserToAddRows = false; this.dgvUserAll.AllowUserToDeleteRows = false; this.dgvUserAll.AllowUserToResizeColumns = false; this.dgvUserAll.AllowUserToResizeRows = false; this.dgvUserAll.BackgroundColor = Color.WhiteSmoke; this.dgvUserAll.CellBorderStyle = DataGridViewCellBorderStyle.Raised; dataGridViewCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle.BackColor = Color.Gainsboro; dataGridViewCellStyle.Font = new Font("Microsoft Sans Serif", 9f); dataGridViewCellStyle.ForeColor = Color.Black; dataGridViewCellStyle.SelectionBackColor = SystemColors.Highlight; dataGridViewCellStyle.SelectionForeColor = SystemColors.HighlightText; dataGridViewCellStyle.WrapMode = DataGridViewTriState.True; this.dgvUserAll.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle; componentResourceManager.ApplyResources(this.dgvUserAll, "dgvUserAll"); this.dgvUserAll.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dgvUserAll.Columns.AddRange(new DataGridViewColumn[] { this.dgvUserNm, this.dgvRole, this.dgvState }); this.dgvUserAll.GridColor = Color.White; this.dgvUserAll.MultiSelect = false; this.dgvUserAll.Name = "dgvUserAll"; dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = Color.FromArgb(206, 206, 206); dataGridViewCellStyle2.Font = new Font("Microsoft Sans Serif", 9f); dataGridViewCellStyle2.ForeColor = Color.Black; dataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = DataGridViewTriState.True; this.dgvUserAll.RowHeadersDefaultCellStyle = dataGridViewCellStyle2; this.dgvUserAll.RowHeadersVisible = false; this.dgvUserAll.RowHeadersWidthSizeMode = DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.dgvUserAll.RowTemplate.Height = 23; this.dgvUserAll.SelectionMode = DataGridViewSelectionMode.FullRowSelect; this.dgvUserAll.StandardTab = true; this.dgvUserAll.TabStop = false; this.dgvUserAll.CellDoubleClick += new DataGridViewCellEventHandler(this.dgvUserAll_CellDoubleClick); this.dgvUserAll.SelectionChanged += new System.EventHandler(this.dgvUserAll_SelectionChanged); this.butUserDel.BackColor = Color.Gainsboro; componentResourceManager.ApplyResources(this.butUserDel, "butUserDel"); this.butUserDel.Name = "butUserDel"; this.butUserDel.UseVisualStyleBackColor = false; this.butUserDel.Click += new System.EventHandler(this.butUserDel_Click); this.butUserEdit.BackColor = Color.Gainsboro; componentResourceManager.ApplyResources(this.butUserEdit, "butUserEdit"); this.butUserEdit.Name = "butUserEdit"; this.butUserEdit.UseVisualStyleBackColor = false; this.butUserEdit.Click += new System.EventHandler(this.butUserEdit_Click); this.butUserAdd.BackColor = Color.Gainsboro; componentResourceManager.ApplyResources(this.butUserAdd, "butUserAdd"); this.butUserAdd.Name = "butUserAdd"; this.butUserAdd.UseVisualStyleBackColor = false; this.butUserAdd.Click += new System.EventHandler(this.butUserAdd_Click); componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn1, "dataGridViewTextBoxColumn1"); this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; this.dataGridViewTextBoxColumn1.ReadOnly = true; componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn2, "dataGridViewTextBoxColumn2"); this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; this.dataGridViewTextBoxColumn2.ReadOnly = true; this.dataGridViewTextBoxColumn3.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; componentResourceManager.ApplyResources(this.dataGridViewTextBoxColumn3, "dataGridViewTextBoxColumn3"); this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; this.dataGridViewTextBoxColumn3.ReadOnly = true; componentResourceManager.ApplyResources(this.dgvUserNm, "dgvUserNm"); this.dgvUserNm.Name = "dgvUserNm"; this.dgvUserNm.ReadOnly = true; componentResourceManager.ApplyResources(this.dgvRole, "dgvRole"); this.dgvRole.Name = "dgvRole"; this.dgvRole.ReadOnly = true; this.dgvState.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; componentResourceManager.ApplyResources(this.dgvState, "dgvState"); this.dgvState.Name = "dgvState"; this.dgvState.ReadOnly = true; base.AutoScaleMode = AutoScaleMode.None; this.BackColor = Color.WhiteSmoke; base.Controls.Add(this.dgvUserAll); base.Controls.Add(this.butUserDel); base.Controls.Add(this.butUserEdit); base.Controls.Add(this.butUserAdd); componentResourceManager.ApplyResources(this, "$this"); base.Name = "UserManAllUsers"; ((ISupportInitialize)this.dgvUserAll).EndInit(); base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(ConfigurationForm)); this.lbl_ZoomFactor = new Label(); this.cb_Symmetry = new CheckBox(); this.btn_Close = new Button(); this.tb_ZoomFactor = new TrackBar(); this.groupBox1 = new GroupBox(); this.cb_CloseOnMouseUp = new CheckBox(); this.cb_DoubleBuffered = new CheckBox(); this.cb_RememberLastPoint = new CheckBox(); this.cb_ReturnToOrigin = new CheckBox(); this.cb_ShowInTaskbar = new CheckBox(); this.cb_HideMouseCursor = new CheckBox(); this.cb_TopMostWindow = new CheckBox(); this.lbl_ZF = new Label(); this.lbl_SF = new Label(); this.lbl_MW = new Label(); this.lbl_MH = new Label(); this.tb_SpeedFactor = new TrackBar(); this.tb_Width = new TrackBar(); this.tb_Height = new TrackBar(); this.lbl_SpeedFactor = new Label(); this.lbl_Width = new Label(); this.lbl_Height = new Label(); this.pb_About = new PictureBox(); ((ISupportInitialize)this.tb_ZoomFactor).BeginInit(); this.groupBox1.SuspendLayout(); ((ISupportInitialize)this.tb_SpeedFactor).BeginInit(); ((ISupportInitialize)this.tb_Width).BeginInit(); ((ISupportInitialize)this.tb_Height).BeginInit(); ((ISupportInitialize)this.pb_About).BeginInit(); base.SuspendLayout(); this.lbl_ZoomFactor.Location = new Point(323, 20); this.lbl_ZoomFactor.Name = "lbl_ZoomFactor"; this.lbl_ZoomFactor.Size = new Size(60, 16); this.lbl_ZoomFactor.TabIndex = 21; this.lbl_ZoomFactor.Text = "?"; this.cb_Symmetry.Checked = true; this.cb_Symmetry.CheckState = CheckState.Checked; this.cb_Symmetry.Location = new Point(99, 208); this.cb_Symmetry.Name = "cb_Symmetry"; this.cb_Symmetry.Size = new Size(104, 20); this.cb_Symmetry.TabIndex = 18; this.cb_Symmetry.Text = "Keep symmetry"; this.cb_Symmetry.CheckedChanged += new EventHandler(this.cb_Symmetry_CheckedChanged); this.btn_Close.Location = new Point(467, 236); this.btn_Close.Name = "btn_Close"; this.btn_Close.Size = new Size(104, 28); this.btn_Close.TabIndex = 16; this.btn_Close.Text = "Close"; this.btn_Close.Click += new EventHandler(this.btn_Close_Click); this.tb_ZoomFactor.Location = new Point(99, 12); this.tb_ZoomFactor.Name = "tb_ZoomFactor"; this.tb_ZoomFactor.Size = new Size(220, 42); this.tb_ZoomFactor.TabIndex = 15; this.tb_ZoomFactor.Scroll += new EventHandler(this.tb_ZoomFactor_Scroll); this.groupBox1.Controls.Add(this.cb_CloseOnMouseUp); this.groupBox1.Controls.Add(this.cb_DoubleBuffered); this.groupBox1.Controls.Add(this.cb_RememberLastPoint); this.groupBox1.Controls.Add(this.cb_ReturnToOrigin); this.groupBox1.Controls.Add(this.cb_ShowInTaskbar); this.groupBox1.Controls.Add(this.cb_HideMouseCursor); this.groupBox1.Controls.Add(this.cb_TopMostWindow); this.groupBox1.Location = new Point(391, 16); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new Size(180, 188); this.groupBox1.TabIndex = 11; this.groupBox1.TabStop = false; this.groupBox1.Text = " Boolean Settings "; this.cb_CloseOnMouseUp.Location = new Point(12, 24); this.cb_CloseOnMouseUp.Name = "cb_CloseOnMouseUp"; this.cb_CloseOnMouseUp.Size = new Size(148, 16); this.cb_CloseOnMouseUp.TabIndex = 1; this.cb_CloseOnMouseUp.Text = "Close On Mouse Up"; this.cb_CloseOnMouseUp.CheckedChanged += new EventHandler(this.cb_CloseOnMouseUp_CheckedChanged); this.cb_DoubleBuffered.Location = new Point(12, 44); this.cb_DoubleBuffered.Name = "cb_DoubleBuffered"; this.cb_DoubleBuffered.Size = new Size(148, 16); this.cb_DoubleBuffered.TabIndex = 1; this.cb_DoubleBuffered.Text = "Double Buffered"; this.cb_DoubleBuffered.CheckedChanged += new EventHandler(this.cb_DoubleBuffered_CheckedChanged); this.cb_RememberLastPoint.Location = new Point(12, 84); this.cb_RememberLastPoint.Name = "cb_RememberLastPoint"; this.cb_RememberLastPoint.Size = new Size(148, 16); this.cb_RememberLastPoint.TabIndex = 1; this.cb_RememberLastPoint.Text = "Remember Last Point"; this.cb_RememberLastPoint.CheckedChanged += new EventHandler(this.cb_RememberLastPoint_CheckedChanged); this.cb_ReturnToOrigin.Location = new Point(12, 104); this.cb_ReturnToOrigin.Name = "cb_ReturnToOrigin"; this.cb_ReturnToOrigin.Size = new Size(148, 16); this.cb_ReturnToOrigin.TabIndex = 1; this.cb_ReturnToOrigin.Text = "Return To Origin"; this.cb_ReturnToOrigin.CheckedChanged += new EventHandler(this.cb_ReturnToOrigin_CheckedChanged); this.cb_ShowInTaskbar.Location = new Point(12, 124); this.cb_ShowInTaskbar.Name = "cb_ShowInTaskbar"; this.cb_ShowInTaskbar.Size = new Size(148, 16); this.cb_ShowInTaskbar.TabIndex = 1; this.cb_ShowInTaskbar.Text = "Show In Taskbar"; this.cb_ShowInTaskbar.CheckedChanged += new EventHandler(this.cb_ShowInTaskbar_CheckedChanged); this.cb_HideMouseCursor.Location = new Point(12, 64); this.cb_HideMouseCursor.Name = "cb_HideMouseCursor"; this.cb_HideMouseCursor.Size = new Size(148, 16); this.cb_HideMouseCursor.TabIndex = 1; this.cb_HideMouseCursor.Text = "Hide Mouse Cursor"; this.cb_HideMouseCursor.CheckedChanged += new EventHandler(this.cb_HideMouseCursor_CheckedChanged); this.cb_TopMostWindow.Location = new Point(12, 144); this.cb_TopMostWindow.Name = "cb_TopMostWindow"; this.cb_TopMostWindow.Size = new Size(148, 16); this.cb_TopMostWindow.TabIndex = 1; this.cb_TopMostWindow.Text = "Top Most Window"; this.cb_TopMostWindow.CheckedChanged += new EventHandler(this.cb_TopMostWindow_CheckedChanged); this.lbl_ZF.Location = new Point(7, 20); this.lbl_ZF.Name = "lbl_ZF"; this.lbl_ZF.Size = new Size(88, 16); this.lbl_ZF.TabIndex = 8; this.lbl_ZF.Text = "Zoom Factor"; this.lbl_SF.Location = new Point(7, 64); this.lbl_SF.Name = "lbl_SF"; this.lbl_SF.Size = new Size(88, 16); this.lbl_SF.TabIndex = 9; this.lbl_SF.Text = "Speed Factor"; this.lbl_MW.Location = new Point(7, 112); this.lbl_MW.Name = "lbl_MW"; this.lbl_MW.Size = new Size(88, 16); this.lbl_MW.TabIndex = 7; this.lbl_MW.Text = "Magnifier Width"; this.lbl_MH.Location = new Point(7, 160); this.lbl_MH.Name = "lbl_MH"; this.lbl_MH.Size = new Size(88, 16); this.lbl_MH.TabIndex = 10; this.lbl_MH.Text = "Magnifier Height"; this.tb_SpeedFactor.Location = new Point(99, 60); this.tb_SpeedFactor.Name = "tb_SpeedFactor"; this.tb_SpeedFactor.Size = new Size(220, 42); this.tb_SpeedFactor.TabIndex = 14; this.tb_SpeedFactor.Scroll += new EventHandler(this.tb_SpeedFactor_Scroll); this.tb_Width.Location = new Point(99, 108); this.tb_Width.Name = "tb_Width"; this.tb_Width.Size = new Size(220, 42); this.tb_Width.TabIndex = 13; this.tb_Width.Scroll += new EventHandler(this.tb_Width_Scroll); this.tb_Height.Enabled = false; this.tb_Height.Location = new Point(99, 156); this.tb_Height.Name = "tb_Height"; this.tb_Height.Size = new Size(220, 42); this.tb_Height.TabIndex = 12; this.tb_Height.Scroll += new EventHandler(this.tb_Height_Scroll); this.lbl_SpeedFactor.Location = new Point(323, 64); this.lbl_SpeedFactor.Name = "lbl_SpeedFactor"; this.lbl_SpeedFactor.Size = new Size(60, 16); this.lbl_SpeedFactor.TabIndex = 22; this.lbl_SpeedFactor.Text = "?"; this.lbl_Width.Location = new Point(323, 112); this.lbl_Width.Name = "lbl_Width"; this.lbl_Width.Size = new Size(60, 16); this.lbl_Width.TabIndex = 19; this.lbl_Width.Text = "?"; this.lbl_Height.Location = new Point(323, 164); this.lbl_Height.Name = "lbl_Height"; this.lbl_Height.Size = new Size(60, 16); this.lbl_Height.TabIndex = 20; this.lbl_Height.Text = "?"; this.pb_About.Cursor = Cursors.Hand; this.pb_About.Image = (Image)componentResourceManager.GetObject("pb_About.Image"); this.pb_About.Location = new Point(267, 232); this.pb_About.Name = "pb_About"; this.pb_About.Size = new Size(35, 32); this.pb_About.TabIndex = 17; this.pb_About.TabStop = false; this.pb_About.MouseLeave += new EventHandler(this.pb_About_MouseLeave); this.pb_About.Click += new EventHandler(this.pb_About_Click); this.pb_About.MouseEnter += new EventHandler(this.pb_About_MouseEnter); base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(586, 275); base.Controls.Add(this.lbl_ZoomFactor); base.Controls.Add(this.cb_Symmetry); base.Controls.Add(this.pb_About); base.Controls.Add(this.btn_Close); base.Controls.Add(this.tb_ZoomFactor); base.Controls.Add(this.groupBox1); base.Controls.Add(this.lbl_ZF); base.Controls.Add(this.lbl_SF); base.Controls.Add(this.lbl_MW); base.Controls.Add(this.lbl_MH); base.Controls.Add(this.tb_SpeedFactor); base.Controls.Add(this.tb_Width); base.Controls.Add(this.tb_Height); base.Controls.Add(this.lbl_SpeedFactor); base.Controls.Add(this.lbl_Width); base.Controls.Add(this.lbl_Height); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Name = "ConfigurationForm"; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Configuration"; ((ISupportInitialize)this.tb_ZoomFactor).EndInit(); this.groupBox1.ResumeLayout(false); ((ISupportInitialize)this.tb_SpeedFactor).EndInit(); ((ISupportInitialize)this.tb_Width).EndInit(); ((ISupportInitialize)this.tb_Height).EndInit(); ((ISupportInitialize)this.pb_About).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Error3)); this.panel1 = new Panel(); this.panel7 = new Panel(); this.panel6 = new Panel(); this.panel5 = new Panel(); this.panel4 = new Panel(); this.label1 = new Label(); this.label2 = new Label(); this.pictureBox2 = new PictureBox(); this.button6 = new Button(); this.panel1.SuspendLayout(); ((ISupportInitialize)this.pictureBox2).BeginInit(); this.SuspendLayout(); this.panel1.BackColor = Color.FromArgb(20, 20, 20); this.panel1.BackgroundImage = (Image)Resources.errr2016222; this.panel1.Controls.Add((Control)this.panel7); this.panel1.Controls.Add((Control)this.panel6); this.panel1.Controls.Add((Control)this.panel5); this.panel1.Controls.Add((Control)this.panel4); this.panel1.Controls.Add((Control)this.label1); this.panel1.Controls.Add((Control)this.label2); this.panel1.Controls.Add((Control)this.pictureBox2); this.panel1.Controls.Add((Control)this.button6); this.panel1.Location = new Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new Size(362, 229); this.panel1.TabIndex = 17; this.panel1.MouseDown += new MouseEventHandler(this.panel1_MouseDown); this.panel1.MouseMove += new MouseEventHandler(this.panel1_MouseMove); this.panel7.BackColor = Color.Gold; this.panel7.BackgroundImage = (Image)Resources._22; this.panel7.BackgroundImageLayout = ImageLayout.Stretch; this.panel7.Location = new Point(-19, 228); this.panel7.Name = "panel7"; this.panel7.Size = new Size(391, 10); this.panel7.TabIndex = 25; this.panel6.BackColor = Color.Gold; this.panel6.BackgroundImage = (Image)Resources._22; this.panel6.BackgroundImageLayout = ImageLayout.Stretch; this.panel6.Location = new Point(-13, -9); this.panel6.Name = "panel6"; this.panel6.Size = new Size(391, 10); this.panel6.TabIndex = 24; this.panel5.BackColor = Color.Gold; this.panel5.BackgroundImage = (Image)Resources.aa; this.panel5.BackgroundImageLayout = ImageLayout.Stretch; this.panel5.Location = new Point(-30, -8); this.panel5.Name = "panel5"; this.panel5.Size = new Size(31, 241); this.panel5.TabIndex = 27; this.panel4.BackColor = Color.Gold; this.panel4.BackgroundImage = (Image)Resources.aa; this.panel4.BackgroundImageLayout = ImageLayout.Stretch; this.panel4.Location = new Point(361, -4); this.panel4.Name = "panel4"; this.panel4.Size = new Size(31, 241); this.panel4.TabIndex = 26; this.label1.AutoSize = true; this.label1.BackColor = Color.Transparent; this.label1.Font = new Font("Arial", 12.75f, FontStyle.Bold, GraphicsUnit.Point, (byte)204); this.label1.ForeColor = Color.White; this.label1.Location = new Point(75, 114); this.label1.Name = "label1"; this.label1.Size = new Size(212, 19); this.label1.TabIndex = 23; this.label1.Text = "Request has been sended"; this.label2.AutoSize = true; this.label2.BackColor = Color.Transparent; this.label2.Font = new Font("Arial", 9.75f); this.label2.ForeColor = Color.FromArgb(251, 143, 0); this.label2.Location = new Point(37, 5); this.label2.Name = "label2"; this.label2.Size = new Size(61, 16); this.label2.TabIndex = 12; this.label2.Text = "Message"; this.pictureBox2.BackColor = Color.Transparent; this.pictureBox2.BackgroundImage = (Image)Resources.User_blue3; this.pictureBox2.Location = new Point(1, 1); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new Size(31, 31); this.pictureBox2.TabIndex = 11; this.pictureBox2.TabStop = false; this.button6.BackColor = Color.Transparent; this.button6.BackgroundImage = (Image)Resources.zak1; this.button6.BackgroundImageLayout = ImageLayout.Center; this.button6.Cursor = Cursors.Hand; this.button6.FlatAppearance.BorderSize = 0; this.button6.FlatAppearance.MouseDownBackColor = Color.Transparent; this.button6.FlatAppearance.MouseOverBackColor = Color.Transparent; this.button6.FlatStyle = FlatStyle.Flat; this.button6.ForeColor = Color.Transparent; this.button6.Location = new Point(327, 0); this.button6.Name = "button6"; this.button6.Size = new Size(35, 35); this.button6.TabIndex = 10; this.button6.UseVisualStyleBackColor = false; this.button6.Click += new EventHandler(this.button6_Click_1); this.button6.MouseLeave += new EventHandler(this.button6_MouseLeave); this.button6.MouseMove += new MouseEventHandler(this.button6_MouseMove); this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.FromArgb(45, 45, 48); this.ClientSize = new Size(362, 229); this.Controls.Add((Control)this.panel1); this.ForeColor = SystemColors.ControlText; this.FormBorderStyle = FormBorderStyle.None; this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); this.Name = nameof(Error3); this.StartPosition = FormStartPosition.CenterScreen; this.Text = "Request has been sended"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((ISupportInitialize)this.pictureBox2).EndInit(); this.ResumeLayout(false); }
private void applyResources(ComponentResourceManager resources, Control.ControlCollection ctls) { foreach (Control ctl in ctls) { resources.ApplyResources(ctl, ctl.Name); applyResources(resources, ctl.Controls); } }
/// <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(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmAddLayer)); this.btnCancel = new Button(); this.btnOK = new Button(); this.label1 = new Label(); this.dataGridView1 = new DataGridView(); this.LayerName = new DataGridViewTextBoxColumn(); this.Privilege = new DataGridViewComboBoxColumn(); this.btnAll = new Button(); this.btnEditGrant = new Button(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.无ToolStripMenuItem = new ToolStripMenuItem(); this.浏览ToolStripMenuItem = new ToolStripMenuItem(); this.编辑ToolStripMenuItem = new ToolStripMenuItem(); ((ISupportInitialize)this.dataGridView1).BeginInit(); this.contextMenuStrip1.SuspendLayout(); base.SuspendLayout(); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new Point(209, 239); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 18; this.btnCancel.Text = "取消"; this.btnCancel.UseVisualStyleBackColor = true; this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new Point(128, 239); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 17; this.btnOK.Text = "确定"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.label1.AutoSize = true; this.label1.Location = new Point(8, 10); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(53, 12); this.label1.TabIndex = 12; this.label1.Text = "图层列表"; this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; DataGridViewColumn[] layerName = new DataGridViewColumn[] { this.LayerName, this.Privilege }; this.dataGridView1.Columns.AddRange(layerName); this.dataGridView1.Location = new Point(10, 25); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowHeadersVisible = false; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.Size = new System.Drawing.Size(240, 195); this.dataGridView1.TabIndex = 19; this.dataGridView1.SelectionChanged += new EventHandler(this.dataGridView1_SelectionChanged); this.LayerName.HeaderText = "图层名"; this.LayerName.Name = "LayerName"; this.LayerName.ReadOnly = true; this.Privilege.HeaderText = "权限"; this.Privilege.Items.AddRange(new object[] { "无", "可见", "可编辑" }); this.Privilege.Name = "Privilege"; this.btnAll.Location = new Point(256, 54); this.btnAll.Name = "btnAll"; this.btnAll.Size = new System.Drawing.Size(67, 23); this.btnAll.TabIndex = 43; this.btnAll.Text = "修改所有"; this.btnAll.UseVisualStyleBackColor = true; this.btnAll.Click += new EventHandler(this.btnAll_Click); this.btnEditGrant.Location = new Point(256, 25); this.btnEditGrant.Name = "btnEditGrant"; this.btnEditGrant.Size = new System.Drawing.Size(67, 23); this.btnEditGrant.TabIndex = 42; this.btnEditGrant.Text = "修改选择"; this.btnEditGrant.UseVisualStyleBackColor = true; this.btnEditGrant.Click += new EventHandler(this.btnEditGrant_Click); ToolStripItem[] toolStripItemArray = new ToolStripItem[] { this.无ToolStripMenuItem, this.浏览ToolStripMenuItem, this.编辑ToolStripMenuItem }; this.contextMenuStrip1.Items.AddRange(toolStripItemArray); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(101, 70); this.无ToolStripMenuItem.Name = "无ToolStripMenuItem"; this.无ToolStripMenuItem.Size = new System.Drawing.Size(100, 22); this.无ToolStripMenuItem.Text = "无"; this.无ToolStripMenuItem.Click += new EventHandler(this.无ToolStripMenuItem_Click); this.浏览ToolStripMenuItem.Name = "浏览ToolStripMenuItem"; this.浏览ToolStripMenuItem.Size = new System.Drawing.Size(100, 22); this.浏览ToolStripMenuItem.Text = "浏览"; this.浏览ToolStripMenuItem.Click += new EventHandler(this.浏览ToolStripMenuItem_Click); this.编辑ToolStripMenuItem.Name = "编辑ToolStripMenuItem"; this.编辑ToolStripMenuItem.Size = new System.Drawing.Size(100, 22); this.编辑ToolStripMenuItem.Text = "编辑"; this.编辑ToolStripMenuItem.Click += new EventHandler(this.编辑ToolStripMenuItem_Click); base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(335, 273); base.Controls.Add(this.btnAll); base.Controls.Add(this.btnEditGrant); base.Controls.Add(this.dataGridView1); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnOK); base.Controls.Add(this.label1); base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; // base.Icon = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "frmAddLayer"; this.Text = "图层"; base.Load += new EventHandler(this.frmAddLayer_Load); ((ISupportInitialize)this.dataGridView1).EndInit(); this.contextMenuStrip1.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }
static void Main () { ComponentResourceManager crm = new ComponentResourceManager ( typeof (MyComponent)); MyComponent comp = new MyComponent ("Welcome", "System"); crm.IgnoreCase = true; crm.ApplyResources (comp, "$this", new CultureInfo ("nl-BE")); Assert.IsNotNull (comp.BackgroundImage, "#A1"); #if NET_2_0 Assert.IsNull (comp.Company, "#A2"); #else Assert.IsNotNull (comp.Company, "#A2"); Assert.AreEqual ("Company (NL-NL)", comp.Company, "#A3"); #endif Assert.AreEqual (0, comp.Interval, "#A4"); Assert.IsTrue (comp.Localizable, "#A5"); Assert.IsNotNull (comp.Name, "#A6"); Assert.AreEqual ("Component (NL-NL)", comp.Name, "#A7"); Assert.IsNotNull (comp.Text, "#A8"); Assert.AreEqual ("Mono", comp.Text, "#A9"); Assert.IsNotNull (comp.Title, "#A10"); Assert.AreEqual ("Welcome", comp.Title, "#A11"); Assert.IsNotNull (comp.Zone, "#A12"); Assert.AreEqual ("Zone (NL-NL)", comp.Zone, "#A13"); comp = new OURComponent ("Welcome", "System"); crm = new ComponentResourceManager (typeof (OURComponent)); crm.ApplyResources (comp, "$this", new CultureInfo ("nl-BE")); Assert.IsNotNull (comp.BackgroundImage, "#B1"); #if NET_2_0 Assert.IsNull (comp.Company, "#B2"); #else Assert.IsNotNull (comp.Company, "#B2"); Assert.AreEqual ("Company (nl-BE)", comp.Company, "#B3"); #endif Assert.AreEqual (0, comp.Interval, "#B4"); Assert.IsTrue (comp.Localizable, "#B5"); Assert.IsNull (comp.Name, "#B6"); Assert.IsNotNull (comp.Text, "#B7"); Assert.AreEqual ("Mono", comp.Text, "#B8"); Assert.IsNotNull (comp.Title, "#B9"); Assert.AreEqual ("Welcome", comp.Title, "#B10"); Assert.IsNotNull (comp.Zone, "#B11"); Assert.AreEqual ("Zone (nl-BE)", comp.Zone, "#B12"); comp = new OURComponent ("Welcome", "System"); crm = new ComponentResourceManager (typeof (OURComponent)); crm.ApplyResources (comp, "$this", CultureInfo.InvariantCulture); Assert.IsNotNull (comp.BackgroundImage, "#C1"); Assert.IsNotNull (comp.Company, "#C2"); Assert.AreEqual ("OSF", comp.Company, "#C3"); Assert.AreEqual (0, comp.Interval, "#C4"); Assert.IsTrue (comp.Localizable, "#C5"); Assert.IsNull (comp.Name, "#C6"); Assert.IsNotNull (comp.Text, "#C7"); Assert.AreEqual ("Mono", comp.Text, "#C8"); Assert.IsNotNull (comp.Title, "#C9"); Assert.AreEqual ("Welcome", comp.Title, "#C10"); #if NET_2_0 Assert.IsNull (comp.Zone, "#C11"); #else Assert.IsNotNull (comp.Zone, "#C11"); Assert.AreEqual (string.Empty, comp.Zone, "#C12"); #endif ResourceManager rm = new ResourceManager ("MonO.TestS.MYcomPonenT", Assembly.GetExecutingAssembly ()); Assert.IsNotNull (rm.GetString ("$this.Company", new CultureInfo ("fr-FR")), "#D1"); #if NET_2_0 Assert.AreEqual ("OSF", rm.GetString ("$this.Company", new CultureInfo ("fr-FR")), "#D2"); #else Assert.AreEqual ("Company (fr-FR)", rm.GetString ("$this.Company", new CultureInfo ("fr-FR")), "#D2"); #endif rm = new ResourceManager ("MonO.TestS.MYcomPonenT", Assembly.GetExecutingAssembly ()); Assert.IsNotNull (rm.GetString ("$this.Company", CultureInfo.InvariantCulture), "#E1"); Assert.AreEqual ("OSF", rm.GetString ("$this.Company", CultureInfo.InvariantCulture), "#E2"); rm = new ResourceManager ("OurcomPonenT", Assembly.GetExecutingAssembly ()); Assert.IsNotNull (rm.GetString ("$this.Company", new CultureInfo ("nl-BE")), "#F1"); #if NET_2_0 Assert.AreEqual ("OSF", rm.GetString ("$this.Company", new CultureInfo ("nl-BE")), "#F2"); #else Assert.AreEqual ("Company (nl-BE)", rm.GetString ("$this.Company", new CultureInfo ("nl-BE")), "#F2"); #endif rm = new ResourceManager ("OurcomPonenT", Assembly.GetExecutingAssembly ()); Assert.IsNotNull (rm.GetString ("$this.Company", CultureInfo.InvariantCulture), "#G1"); Assert.AreEqual ("OSF", rm.GetString ("$this.Company", CultureInfo.InvariantCulture), "#G2"); }
public ChildForm () { ComponentResourceManager resources = new ComponentResourceManager (typeof (MainForm)); // // _showFunctionButton // _showFunctionButton = new ToolStripButton (); _showFunctionButton.DisplayStyle = ToolStripItemDisplayStyle.Image; _showFunctionButton.Image = ((Image) (resources.GetObject ("_showFunctionButton.Image"))); _showFunctionButton.ImageTransparentColor = Color.White; _showFunctionButton.Name = "ShowFunction"; _showFunctionButton.Size = new Size (23, 22); _showFunctionButton.Text = "Show Function"; _showFunctionButton.CheckOnClick = true; // // _showContextButton // _showContextButton = new ToolStripButton (); _showContextButton.DisplayStyle = ToolStripItemDisplayStyle.Image; _showContextButton.Image = ((Image) (resources.GetObject ("_showContextButton.Image"))); _showContextButton.ImageTransparentColor = Color.Cyan; _showContextButton.Name = "ShowContext"; _showContextButton.Size = new Size (23, 22); _showContextButton.Text = "Show Context"; _showContextButton.CheckOnClick = true; // // ChildForm // AutoScaleDimensions = new SizeF (6F, 13F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size (200, 150); ResumeLayout (false); PerformLayout (); Activated += new EventHandler (ChildForm_Activated); Deactivate += new EventHandler (ChildForm_Deactivate); }
public MainForm () { ComponentResourceManager resources = new ComponentResourceManager (typeof (MainForm)); SuspendLayout (); // // _toolStrip // _toolStrip = new ToolStrip (); _toolStrip.Location = new Point (0, 24); _toolStrip.Size = new Size (632, 25); _toolStrip.TabIndex = 1; _toolStrip.Text = "ToolStrip"; Controls.Add (_toolStrip); // // _separatorBar // _separatorBar = new ToolStripSeparator (); // // _newButton // _newButton = new ToolStripButton (); _newButton.DisplayStyle = ToolStripItemDisplayStyle.Image; _newButton.Image = ((Image) (resources.GetObject ("_newButton.Image"))); _newButton.ImageTransparentColor = Color.Black; _newButton.Text = "New"; _toolStrip.Items.Add (_newButton); // // _openButton // _openButton = new ToolStripButton (); _openButton.DisplayStyle = ToolStripItemDisplayStyle.Image; _openButton.Image = ((Image) (resources.GetObject ("_openButton.Image"))); _openButton.ImageTransparentColor = Color.Black; _openButton.Text = "Open"; _toolStrip.Items.Add (_openButton); _toolStrip.Items.Add (_separatorBar); // // _textBox // _textBox = new ToolStripTextBox (); _toolStrip.Items.Add (_textBox); _toolStrip.Items.Add (new ToolStripSeparator ()); // // _comboBox // _comboBox = new ToolStripComboBox (); _toolStrip.Items.Add (_comboBox); // // _toolStripEnabledCheckBox // _toolStripEnabledCheckBox = new CheckBox (); _toolStripEnabledCheckBox.Checked = true; _toolStripEnabledCheckBox.Location = new Point (8, 75); _toolStripEnabledCheckBox.Size = new Size (70, 20); _toolStripEnabledCheckBox.Text = "Enabled"; _toolStripEnabledCheckBox.CheckedChanged += new EventHandler (ToolStripEnabledCheckBox_CheckedChanged); Controls.Add (_toolStripEnabledCheckBox); // // MainForm // AutoScaleDimensions = new SizeF (6F, 13F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size (300, 100); Location = new Point (250, 100); StartPosition = FormStartPosition.Manual; Text = "bug #82651"; Load += new EventHandler (MainForm_Load); ResumeLayout (false); PerformLayout (); }
private void eval_a() { if (true) { } ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(eval_y)); this.eval_v = new TabControl(); base.SuspendLayout(); this.eval_v.Alignment = TabAlignment.Bottom; this.eval_v.Location = new Point(2, 85); this.eval_v.Name = "tabMain"; this.eval_v.SelectedIndex = 0; this.eval_v.Size = new Size(491, 337); this.eval_v.TabIndex = 57; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(494, 422); base.Controls.Add(this.eval_v); base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "Updater"; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterScreen; this.Text = "Updater"; base.ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmMessafeQIP)); this.PictureBox1 = new PictureBox(); this.lblMessage = new Label(); this.txtMessage = new TextBox(); this.Label1 = new Label(); this.txtCode = new TextBox(); this.btnOK = new Button(); ((ISupportInitialize)this.PictureBox1).BeginInit(); this.SuspendLayout(); this.PictureBox1.Image = (Image)componentResourceManager.GetObject("PictureBox1.Image"); PictureBox pictureBox1_1 = this.PictureBox1; Point point1 = new Point(2, 3); Point point2 = point1; pictureBox1_1.Location = point2; this.PictureBox1.Name = "PictureBox1"; PictureBox pictureBox1_2 = this.PictureBox1; Size size1 = new Size(48, 48); Size size2 = size1; pictureBox1_2.Size = size2; this.PictureBox1.SizeMode = PictureBoxSizeMode.AutoSize; this.PictureBox1.TabIndex = 0; this.PictureBox1.TabStop = false; this.lblMessage.AutoSize = true; this.lblMessage.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, (byte)204); this.lblMessage.ForeColor = Color.Red; Label lblMessage1 = this.lblMessage; point1 = new Point(56, 9); Point point3 = point1; lblMessage1.Location = point3; this.lblMessage.Name = "lblMessage"; Label lblMessage2 = this.lblMessage; size1 = new Size(278, 24); Size size3 = size1; lblMessage2.Size = size3; this.lblMessage.TabIndex = 1; this.lblMessage.Text = "Обязательно к прочтению!"; this.txtMessage.BackColor = Color.WhiteSmoke; this.txtMessage.BorderStyle = BorderStyle.None; this.txtMessage.Font = new Font("Tahoma", 9f, FontStyle.Bold, GraphicsUnit.Point, (byte)204); TextBox txtMessage1 = this.txtMessage; point1 = new Point(60, 36); Point point4 = point1; txtMessage1.Location = point4; this.txtMessage.Multiline = true; this.txtMessage.Name = "txtMessage"; TextBox txtMessage2 = this.txtMessage; size1 = new Size(641, 188); Size size4 = size1; txtMessage2.Size = size4; this.txtMessage.TabIndex = 2; this.txtMessage.TabStop = false; this.txtMessage.Text = componentResourceManager.GetString("txtMessage.Text"); this.Label1.AutoSize = true; Label label1_1 = this.Label1; point1 = new Point(80, 227); Point point5 = point1; label1_1.Location = point5; this.Label1.Name = "Label1"; Label label1_2 = this.Label1; size1 = new Size(463, 13); Size size5 = size1; label1_2.Size = size5; this.Label1.TabIndex = 3; this.Label1.Text = "Ввод кода означает, что Вы внимательно прочитали и до Вас дошел смысл написанного."; this.txtCode.BackColor = Color.FromArgb((int)byte.MaxValue, 192, 192); this.txtCode.BorderStyle = BorderStyle.FixedSingle; this.txtCode.Font = new Font("Tahoma", 12f, FontStyle.Bold, GraphicsUnit.Point, (byte)204); TextBox txtCode1 = this.txtCode; point1 = new Point(540, 220); Point point6 = point1; txtCode1.Location = point6; this.txtCode.Name = "txtCode"; TextBox txtCode2 = this.txtCode; size1 = new Size(100, 27); Size size6 = size1; txtCode2.Size = size6; this.txtCode.TabIndex = 4; this.txtCode.TextAlign = HorizontalAlignment.Center; this.btnOK.BackColor = Color.FromArgb(224, 224, 224); this.btnOK.Font = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, (byte)204); this.btnOK.ForeColor = Color.Black; this.btnOK.Image = (Image)componentResourceManager.GetObject("btnOK.Image"); Button btnOk1 = this.btnOK; point1 = new Point(646, 215); Point point7 = point1; btnOk1.Location = point7; this.btnOK.Name = "btnOK"; Button btnOk2 = this.btnOK; size1 = new Size(55, 36); Size size7 = size1; btnOk2.Size = size7; this.btnOK.TabIndex = 123; this.btnOK.TabStop = false; this.btnOK.UseVisualStyleBackColor = false; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.WhiteSmoke; size1 = new Size(706, 260); this.ClientSize = size1; this.Controls.Add((Control)this.txtCode); this.Controls.Add((Control)this.btnOK); this.Controls.Add((Control)this.Label1); this.Controls.Add((Control)this.txtMessage); this.Controls.Add((Control)this.lblMessage); this.Controls.Add((Control)this.PictureBox1); this.Font = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, (byte)204); this.FormBorderStyle = FormBorderStyle.FixedToolWindow; this.Name = nameof(frmMessafeQIP); this.StartPosition = FormStartPosition.CenterScreen; this.Text = "Сообщение!"; this.TopMost = true; ((ISupportInitialize)this.PictureBox1).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(GroupDialogMultiAdd)); this.btnCancel = new Button(); this.btnOK = new Button(); this.lblName = new Label(); this.tbName = new TextBox(); this.nudCount = new NumericUpDown(); this.label1 = new Label(); this.textBox2 = new TextBox(); ((ISupportInitialize)(this.nudCount)).BeginInit(); this.SuspendLayout(); // // btnCancel // this.btnCancel.DialogResult = DialogResult.Cancel; this.btnCancel.Location = new Point(197, 227); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(75, 23); this.btnCancel.TabIndex = 3; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; // // btnOK // this.btnOK.DialogResult = DialogResult.OK; this.btnOK.Location = new Point(116, 227); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(75, 23); this.btnOK.TabIndex = 2; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; // // lblName // this.lblName.AutoSize = true; this.lblName.Location = new Point(13, 13); this.lblName.Name = "lblName"; this.lblName.Size = new Size(38, 13); this.lblName.TabIndex = 4; this.lblName.Text = "Name:"; // // tbName // this.tbName.Location = new Point(57, 10); this.tbName.Name = "tbName"; this.tbName.Size = new Size(215, 20); this.tbName.TabIndex = 0; // // nudCount // this.nudCount.Location = new Point(197, 38); this.nudCount.Name = "nudCount"; this.nudCount.Size = new Size(75, 20); this.nudCount.TabIndex = 1; this.nudCount.Enter += new EventHandler(this.nudCount_Enter); // // label1 // this.label1.AutoSize = true; this.label1.Location = new Point(13, 40); this.label1.Name = "label1"; this.label1.Size = new Size(142, 13); this.label1.TabIndex = 5; this.label1.Text = "Number of Groups to Create:"; // // textBox2 // this.textBox2.Enabled = false; this.textBox2.Location = new Point(13, 64); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.Size = new Size(259, 157); this.textBox2.TabIndex = 6; this.textBox2.Text = resources.GetString("textBox2.Text"); // // GroupDialogMultiAdd // this.AutoScaleDimensions = new SizeF(6F, 13F); this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(284, 262); this.ControlBox = false; this.Controls.Add(this.textBox2); this.Controls.Add(this.label1); this.Controls.Add(this.nudCount); this.Controls.Add(this.tbName); this.Controls.Add(this.lblName); this.Controls.Add(this.btnOK); this.Controls.Add(this.btnCancel); this.FormBorderStyle = FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "GroupDialogMultiAdd"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = FormStartPosition.CenterParent; this.Text = "GroupDialogMultiAdd"; this.FormClosing += new FormClosingEventHandler(this.GroupDialogMultiAdd_FormClosing); ((ISupportInitialize)(this.nudCount)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(MdiForm)); DockPanelSkin dockPanelSkin = new DockPanelSkin(); AutoHideStripSkin autoHideStripSkin = new AutoHideStripSkin(); DockPanelGradient dockPanelGradient = new DockPanelGradient(); TabGradient tabGradient = new TabGradient(); DockPaneStripSkin dockPaneStripSkin = new DockPaneStripSkin(); DockPaneStripGradient dockPaneStripGradient = new DockPaneStripGradient(); TabGradient controlLightLight = new TabGradient(); DockPanelGradient control = new DockPanelGradient(); TabGradient controlLight = new TabGradient(); DockPaneStripToolWindowGradient dockPaneStripToolWindowGradient = new DockPaneStripToolWindowGradient(); TabGradient activeCaption = new TabGradient(); TabGradient controlText = new TabGradient(); DockPanelGradient dockPanelGradient1 = new DockPanelGradient(); TabGradient gradientInactiveCaption = new TabGradient(); TabGradient transparent = new TabGradient(); this.MainMenu = new MenuStrip(); this.MainMenu.Font = new System.Drawing.Font(Localization.Font, 9f, FontStyle.Bold, GraphicsUnit.Point, 134); this.toolStripMenuItem_0 = new ToolStripMenuItem(); this.toolStripMenuItem_1 = new ToolStripMenuItem(); this.toolStripMenuItem_2 = new ToolStripMenuItem(); this.toolStripMenuItem_3 = new ToolStripMenuItem(); this.toolStripMenuItem_4 = new ToolStripMenuItem(); this.toolStripMenuItem_23 = new ToolStripMenuItem(); this.toolStripMenuItem_8 = new ToolStripMenuItem(); this.toolStripMenuItem1 = new ToolStripMenuItem(); this.toolStripMenuItem_7 = new ToolStripMenuItem(); this.toolStripMenuItem_9 = new ToolStripMenuItem(); this.toolStripMenuItem_25 = new ToolStripMenuItem(); this.toolStripMenuItem_26 = new ToolStripMenuItem(); this.toolStripMenuItem_27 = new ToolStripMenuItem(); this.toolStripMenuItem_5 = new ToolStripMenuItem(); this.toolStripMenuItem_13 = new ToolStripMenuItem(); this.toolStripMenuItem_12 = new ToolStripMenuItem(); this.高级设置ToolStripMenuItem = new ToolStripMenuItem(); this.图转文设置ToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem_14 = new ToolStripMenuItem(); this.toolStripMenuItem_15 = new ToolStripMenuItem(); this.toolStripMenuItem_16 = new ToolStripMenuItem(); this.toolStripMenuItem_10 = new ToolStripMenuItem(); this.toolStripMenuItem_11 = new ToolStripMenuItem(); this.toolStripMenuItem_6 = new ToolStripMenuItem(); this.toolStripMenuItem_18 = new ToolStripMenuItem(); this.toolStripMenuItem_19 = new ToolStripMenuItem(); this.toolStripMenuItem_24 = new ToolStripMenuItem(); this.toolStripMenuItem_20 = new ToolStripMenuItem(); this.toolStripMenuItem_21 = new ToolStripMenuItem(); this.toolStripMenuItem_28 = new ToolStripMenuItem(); this.dockPanel = new DockPanel(); this.timer_0 = new System.Windows.Forms.Timer(this.components); this.MainMenu.SuspendLayout(); base.SuspendLayout(); ToolStripItemCollection items = this.MainMenu.Items; ToolStripItem[] toolStripMenuItem0 = new ToolStripItem[] { this.toolStripMenuItem_0, this.toolStripMenuItem_4, this.toolStripMenuItem_5, this.toolStripMenuItem_10, this.toolStripMenuItem_6, this.toolStripMenuItem_18 }; items.AddRange(toolStripMenuItem0); this.MainMenu.Location = new Point(0, 0); this.MainMenu.MdiWindowListItem = this.toolStripMenuItem_6; this.MainMenu.Name = "MainMenu"; this.MainMenu.RenderMode = ToolStripRenderMode.System; this.MainMenu.Size = new System.Drawing.Size(834, 25); this.MainMenu.TabIndex = 0; this.MainMenu.Text = Localization.Get("主菜单"); ToolStripItemCollection dropDownItems = this.toolStripMenuItem_0.DropDownItems; toolStripMenuItem0 = new ToolStripItem[] { this.toolStripMenuItem_1, this.toolStripMenuItem_2, this.toolStripMenuItem_3 }; dropDownItems.AddRange(toolStripMenuItem0); this.toolStripMenuItem_0.Name = "toolStripMenuItem_0"; this.toolStripMenuItem_0.Size = new System.Drawing.Size(60, 21); this.toolStripMenuItem_0.Text = Localization.Get("采集(&C)"); this.toolStripMenuItem_1.Image = (Image)componentResourceManager.GetObject("toolStripMenuItem_1.Image"); this.toolStripMenuItem_1.Name = "toolStripMenuItem_1"; this.toolStripMenuItem_1.Size = new System.Drawing.Size(152, 22); this.toolStripMenuItem_1.Text = Localization.Get("标准采集模式"); this.toolStripMenuItem_1.Click += new EventHandler(this.toolStripMenuItem_1_Click); this.toolStripMenuItem_2.ForeColor = Color.Maroon; this.toolStripMenuItem_2.Image = (Image)componentResourceManager.GetObject("toolStripMenuItem_2.Image"); this.toolStripMenuItem_2.Name = "toolStripMenuItem_2"; this.toolStripMenuItem_2.Size = new System.Drawing.Size(152, 22); this.toolStripMenuItem_2.Text = Localization.Get("超级修复模式"); this.toolStripMenuItem_2.Click += new EventHandler(this.toolStripMenuItem_2_Click); this.toolStripMenuItem_3.Image = (Image)componentResourceManager.GetObject("toolStripMenuItem_3.Image"); this.toolStripMenuItem_3.Name = "toolStripMenuItem_3"; this.toolStripMenuItem_3.Size = new System.Drawing.Size(152, 22); this.toolStripMenuItem_3.Text = Localization.Get("手动控制模式"); this.toolStripMenuItem_3.Click += new EventHandler(this.toolStripMenuItem_3_Click); ToolStripItemCollection toolStripItemCollections = this.toolStripMenuItem_4.DropDownItems; toolStripMenuItem0 = new ToolStripItem[] { this.toolStripMenuItem_23, this.toolStripMenuItem_8, this.toolStripMenuItem1, this.toolStripMenuItem_7, this.toolStripMenuItem_9, this.toolStripMenuItem_25, this.toolStripMenuItem_26, this.toolStripMenuItem_27 }; toolStripItemCollections.AddRange(toolStripMenuItem0); this.toolStripMenuItem_4.Name = "toolStripMenuItem_4"; this.toolStripMenuItem_4.Size = new System.Drawing.Size(60, 21); this.toolStripMenuItem_4.Text = Localization.Get("辅助(&A)"); this.toolStripMenuItem_23.Name = "toolStripMenuItem_23"; this.toolStripMenuItem_23.Size = new System.Drawing.Size(166, 22); this.toolStripMenuItem_23.Text = Localization.Get("子窗口冲突监控"); this.toolStripMenuItem_23.Click += new EventHandler(this.toolStripMenuItem_23_Click); this.toolStripMenuItem_8.Name = "toolStripMenuItem_8"; this.toolStripMenuItem_8.Size = new System.Drawing.Size(166, 22); this.toolStripMenuItem_8.Text = Localization.Get("错误生成器"); this.toolStripMenuItem_8.Click += new EventHandler(this.toolStripMenuItem_8_Click); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(166, 22); this.toolStripMenuItem1.Text = ("数据库维护"); this.toolStripMenuItem1.Visible = false; this.toolStripMenuItem1.Click += new EventHandler(this.toolStripMenuItem1_Click); this.toolStripMenuItem_7.Name = "toolStripMenuItem_7"; this.toolStripMenuItem_7.Size = new System.Drawing.Size(166, 22); this.toolStripMenuItem_7.Text = Localization.Get("批量生成"); this.toolStripMenuItem_7.Click += new EventHandler(this.toolStripMenuItem_7_Click); this.toolStripMenuItem_9.Name = "toolStripMenuItem_9"; this.toolStripMenuItem_9.Size = new System.Drawing.Size(166, 22); this.toolStripMenuItem_9.Text = Localization.Get("批量删除小说"); this.toolStripMenuItem_9.Click += new EventHandler(this.toolStripMenuItem_9_Click); this.toolStripMenuItem_25.Enabled = false; this.toolStripMenuItem_25.Name = "toolStripMenuItem_25"; this.toolStripMenuItem_25.Size = new System.Drawing.Size(166, 22); this.toolStripMenuItem_25.Text = Localization.Get("批量删除章节"); this.toolStripMenuItem_25.Visible = false; this.toolStripMenuItem_26.Name = "toolStripMenuItem_26"; this.toolStripMenuItem_26.Size = new System.Drawing.Size(166, 22); this.toolStripMenuItem_26.Text = Localization.Get("更新小说信息"); this.toolStripMenuItem_26.Click += new EventHandler(this.toolStripMenuItem_26_Click); this.toolStripMenuItem_27.Name = "toolStripMenuItem_27"; this.toolStripMenuItem_27.Size = new System.Drawing.Size(166, 22); this.toolStripMenuItem_27.Text = Localization.Get("MYSQL时间换算"); this.toolStripMenuItem_27.Click += new EventHandler(this.toolStripMenuItem_27_Click); ToolStripItemCollection dropDownItems1 = this.toolStripMenuItem_5.DropDownItems; toolStripMenuItem0 = new ToolStripItem[] { this.toolStripMenuItem_13, this.toolStripMenuItem_12, this.高级设置ToolStripMenuItem, this.toolStripMenuItem_14, this.图转文设置ToolStripMenuItem, this.toolStripMenuItem_15, this.toolStripMenuItem_16 }; dropDownItems1.AddRange(toolStripMenuItem0); this.toolStripMenuItem_5.Name = "toolStripMenuItem_5"; this.toolStripMenuItem_5.Size = new System.Drawing.Size(59, 21); this.toolStripMenuItem_5.Text = Localization.Get("设置(&S)"); this.toolStripMenuItem_13.Name = "toolStripMenuItem_13"; this.toolStripMenuItem_13.Size = new System.Drawing.Size(136, 22); this.toolStripMenuItem_13.Text = Localization.Get("系统设置"); this.toolStripMenuItem_13.Click += new EventHandler(this.toolStripMenuItem_13_Click); this.toolStripMenuItem_12.Name = "toolStripMenuItem_12"; this.toolStripMenuItem_12.Size = new System.Drawing.Size(136, 22); this.toolStripMenuItem_12.Text = Localization.Get("分类对应"); this.toolStripMenuItem_12.Click += new EventHandler(this.toolStripMenuItem_12_Click); this.高级设置ToolStripMenuItem.Name = Localization.Get("高级设置ToolStripMenuItem"); this.高级设置ToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.高级设置ToolStripMenuItem.Text = Localization.Get("高级设置"); this.高级设置ToolStripMenuItem.Click += new EventHandler(this.高级设置ToolStripMenuItem_Click); this.图转文设置ToolStripMenuItem.Name = Localization.Get("图转文设置ToolStripMenuItem"); this.图转文设置ToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.图转文设置ToolStripMenuItem.Text = Localization.Get("附加设置"); this.图转文设置ToolStripMenuItem.Click += new EventHandler(this.图转文设置ToolStripMenuItem_Click); this.toolStripMenuItem_14.Name = Localization.Get("toolStripMenuItem_14"); this.toolStripMenuItem_14.Size = new System.Drawing.Size(136, 22); this.toolStripMenuItem_14.Text = Localization.Get("生成设置"); this.toolStripMenuItem_14.Click += new EventHandler(this.toolStripMenuItem_14_Click); this.toolStripMenuItem_15.Name = "toolStripMenuItem_15"; this.toolStripMenuItem_15.Size = new System.Drawing.Size(136, 22); this.toolStripMenuItem_15.Text = Localization.Get("文字广告"); this.toolStripMenuItem_15.Click += new EventHandler(this.toolStripMenuItem_15_Click); this.toolStripMenuItem_16.Name = "toolStripMenuItem_16"; this.toolStripMenuItem_16.Size = new System.Drawing.Size(136, 22); this.toolStripMenuItem_16.Text = Localization.Get("过滤替换"); this.toolStripMenuItem_16.Click += new EventHandler(this.toolStripMenuItem_16_Click); ToolStripItemCollection toolStripItemCollections1 = this.toolStripMenuItem_10.DropDownItems; toolStripMenuItem0 = new ToolStripItem[] { this.toolStripMenuItem_11 }; toolStripItemCollections1.AddRange(toolStripMenuItem0); this.toolStripMenuItem_10.Name = "toolStripMenuItem_10"; this.toolStripMenuItem_10.Size = new System.Drawing.Size(60, 21); this.toolStripMenuItem_10.Text = Localization.Get("规则(&R)"); this.toolStripMenuItem_11.Name = "toolStripMenuItem_11"; this.toolStripMenuItem_11.Size = new System.Drawing.Size(148, 22); this.toolStripMenuItem_11.Text = Localization.Get("采集规则管理"); this.toolStripMenuItem_11.Click += new EventHandler(this.toolStripMenuItem_11_Click); this.toolStripMenuItem_6.Name = "toolStripMenuItem_6"; this.toolStripMenuItem_6.Size = new System.Drawing.Size(64, 21); this.toolStripMenuItem_6.Text = Localization.Get("窗口(&W)"); ToolStripItemCollection dropDownItems2 = this.toolStripMenuItem_18.DropDownItems; toolStripMenuItem0 = new ToolStripItem[] { this.toolStripMenuItem_19, this.toolStripMenuItem_24, this.toolStripMenuItem_20, this.toolStripMenuItem_21, this.toolStripMenuItem_28 }; dropDownItems2.AddRange(toolStripMenuItem0); this.toolStripMenuItem_18.Name = "toolStripMenuItem_18"; this.toolStripMenuItem_18.Size = new System.Drawing.Size(61, 21); this.toolStripMenuItem_18.Text = Localization.Get("帮助(&H)"); this.toolStripMenuItem_19.Name = "toolStripMenuItem_19"; this.toolStripMenuItem_19.Size = new System.Drawing.Size(124, 22); this.toolStripMenuItem_19.Text = Localization.Get("帮助内容"); this.toolStripMenuItem_19.Click += new EventHandler(this.toolStripMenuItem_19_Click); this.toolStripMenuItem_24.Name = "toolStripMenuItem_24"; this.toolStripMenuItem_24.Size = new System.Drawing.Size(124, 22); this.toolStripMenuItem_24.Text = Localization.Get("查看日志"); this.toolStripMenuItem_24.Click += new EventHandler(this.toolStripMenuItem_24_Click); this.toolStripMenuItem_20.Name = "toolStripMenuItem_20"; this.toolStripMenuItem_20.Size = new System.Drawing.Size(124, 22); this.toolStripMenuItem_20.Text = Localization.Get("检查更新"); this.toolStripMenuItem_20.Visible = false; this.toolStripMenuItem_20.Click += new EventHandler(this.toolStripMenuItem_20_Click); this.toolStripMenuItem_21.Name = "toolStripMenuItem_21"; this.toolStripMenuItem_21.Size = new System.Drawing.Size(124, 22); this.toolStripMenuItem_21.Text = Localization.Get("最新消息"); this.toolStripMenuItem_21.Click += new EventHandler(this.toolStripMenuItem_21_Click); this.toolStripMenuItem_28.Name = "toolStripMenuItem_28"; this.toolStripMenuItem_28.Size = new System.Drawing.Size(124, 22); this.toolStripMenuItem_28.Text = Localization.Get("高级功能"); this.toolStripMenuItem_28.Click += new EventHandler(this.toolStripMenuItem_28_Click); this.dockPanel.ActiveAutoHideContent = null; this.dockPanel.Dock = DockStyle.Fill; this.dockPanel.DockBackColor = SystemColors.AppWorkspace; this.dockPanel.Location = new Point(0, 0); this.dockPanel.Name = "dockPanel"; this.dockPanel.Size = new System.Drawing.Size(834, 452); dockPanelGradient.EndColor = SystemColors.ControlLight; dockPanelGradient.StartColor = SystemColors.ControlLight; autoHideStripSkin.DockStripGradient = dockPanelGradient; tabGradient.EndColor = SystemColors.Control; tabGradient.StartColor = SystemColors.Control; tabGradient.TextColor = SystemColors.ControlDarkDark; autoHideStripSkin.TabGradient = tabGradient; dockPanelSkin.AutoHideStripSkin = autoHideStripSkin; controlLightLight.EndColor = SystemColors.ControlLightLight; controlLightLight.StartColor = SystemColors.ControlLightLight; controlLightLight.TextColor = SystemColors.ControlText; dockPaneStripGradient.ActiveTabGradient = controlLightLight; control.EndColor = SystemColors.Control; control.StartColor = SystemColors.Control; dockPaneStripGradient.DockStripGradient = control; controlLight.EndColor = SystemColors.ControlLight; controlLight.StartColor = SystemColors.ControlLight; controlLight.TextColor = SystemColors.ControlText; dockPaneStripGradient.InactiveTabGradient = controlLight; dockPaneStripSkin.DocumentGradient = dockPaneStripGradient; activeCaption.EndColor = SystemColors.ActiveCaption; activeCaption.LinearGradientMode = LinearGradientMode.Vertical; activeCaption.StartColor = SystemColors.GradientActiveCaption; activeCaption.TextColor = SystemColors.ActiveCaptionText; dockPaneStripToolWindowGradient.ActiveCaptionGradient = activeCaption; controlText.EndColor = SystemColors.Control; controlText.StartColor = SystemColors.Control; controlText.TextColor = SystemColors.ControlText; dockPaneStripToolWindowGradient.ActiveTabGradient = controlText; dockPanelGradient1.EndColor = SystemColors.ControlLight; dockPanelGradient1.StartColor = SystemColors.ControlLight; dockPaneStripToolWindowGradient.DockStripGradient = dockPanelGradient1; gradientInactiveCaption.EndColor = SystemColors.GradientInactiveCaption; gradientInactiveCaption.LinearGradientMode = LinearGradientMode.Vertical; gradientInactiveCaption.StartColor = SystemColors.GradientInactiveCaption; gradientInactiveCaption.TextColor = SystemColors.ControlText; dockPaneStripToolWindowGradient.InactiveCaptionGradient = gradientInactiveCaption; transparent.EndColor = Color.Transparent; transparent.StartColor = Color.Transparent; transparent.TextColor = SystemColors.ControlDarkDark; dockPaneStripToolWindowGradient.InactiveTabGradient = transparent; dockPaneStripSkin.ToolWindowGradient = dockPaneStripToolWindowGradient; dockPanelSkin.DockPaneStripSkin = dockPaneStripSkin; this.dockPanel.Skin = dockPanelSkin; this.dockPanel.TabIndex = 2; this.timer_0.Interval = 1000; this.timer_0.Tick += new EventHandler(this.timer_0_Tick); this.BackColor = SystemColors.Control; base.ClientSize = new System.Drawing.Size(834, 452); base.Controls.Add(this.MainMenu); base.Controls.Add(this.dockPanel); base.Icon = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon"); base.IsMdiContainer = true; base.MainMenuStrip = this.MainMenu; base.Name = "MdiForm"; base.StartPosition = FormStartPosition.CenterScreen; this.Text = Localization.Get("超级小说采集器 V8.0"); base.Load += new EventHandler(this.MdiForm_Load); base.Shown += new EventHandler(this.MdiForm_Shown); this.MainMenu.ResumeLayout(false); this.MainMenu.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void cboLanguages_SelectedIndexChanged(object sender, EventArgs e) { if (cboLanguages.SelectedIndex != -1) { if (cboLanguages.SelectedItem.ToString() == "Ελληνικά") { //SaveLanguage("el-GR"); System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("el-GR"); } else { //SaveLanguage("en-US"); System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US"); } //MessageBox.Show("Yo need to restart the application for the changes to take effect"); } ComponentResourceManager resources = new ComponentResourceManager(typeof(GIMEDForm)); resources.ApplyResources(this, "$this"); applyResources(resources, this.Controls); ComponentResourceManager resources1 = new ComponentResourceManager(typeof(MDControl)); applyResources(resources1, mdControl1.Controls); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(MainForm)); this.textBox1 = new TextBox(); this.label1 = new Label(); this.label2 = new Label(); this.textBox2 = new TextBox(); this.button1 = new Button(); this.progressBar1 = new ProgressBar(); this.linkLabel1 = new LinkLabel(); this.linkLabel2 = new LinkLabel(); this.linkLabel3 = new LinkLabel(); this.SuspendLayout(); this.textBox1.Location = new Point(10, 60); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ScrollBars = ScrollBars.Horizontal; this.textBox1.Size = new Size(470, 600); this.textBox1.TabIndex = 0; this.label1.AutoSize = true; this.label1.Location = new Point(10, 10); this.label1.Name = "label1"; this.label1.Size = new Size(470, 25); this.label1.TabIndex = 1; this.label1.Text = "User Phone Numbers, separated with comma (,)"; this.label2.AutoSize = true; this.label2.Location = new Point(530, 10); this.label2.Name = "label2"; this.label2.Size = new Size(131, 25); this.label2.TabIndex = 2; this.label2.Text = "Text to send"; this.textBox2.Location = new Point(530, 60); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ScrollBars = ScrollBars.Horizontal; this.textBox2.Size = new Size(470, 600); this.textBox2.TabIndex = 3; this.button1.ImageAlign = ContentAlignment.MiddleLeft; this.button1.Location = new Point(400, 727); this.button1.Name = "button1"; this.button1.Size = new Size(208, 64); this.button1.TabIndex = 4; this.button1.Text = "Send"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new EventHandler(this.button1_Click); this.progressBar1.Enabled = false; this.progressBar1.Location = new Point(10, 678); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new Size(990, 36); this.progressBar1.TabIndex = 5; this.linkLabel1.AutoSize = true; this.linkLabel1.Location = new Point(5, 731); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new Size(214, 25); this.linkLabel1.TabIndex = 6; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "Have any questions?"; this.linkLabel1.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); this.linkLabel2.AutoSize = true; this.linkLabel2.Location = new Point(5, 762); this.linkLabel2.Name = "linkLabel2"; this.linkLabel2.Size = new Size(159, 25); this.linkLabel2.TabIndex = 7; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "Buy full version"; this.linkLabel2.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked); this.linkLabel3.AutoSize = true; this.linkLabel3.Location = new Point(696, 762); this.linkLabel3.Name = "linkLabel3"; this.linkLabel3.Size = new Size(304, 25); this.linkLabel3.TabIndex = 8; this.linkLabel3.TabStop = true; this.linkLabel3.Text = "Developed by Sochix (C) 2017"; this.linkLabel3.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel3_LinkClicked); this.AutoScaleDimensions = new SizeF(192f, 192f); this.AutoScaleMode = AutoScaleMode.Dpi; this.ClientSize = new Size(1009, 803); this.Controls.Add((Control)this.linkLabel3); this.Controls.Add((Control)this.linkLabel2); this.Controls.Add((Control)this.linkLabel1); this.Controls.Add((Control)this.progressBar1); this.Controls.Add((Control)this.button1); this.Controls.Add((Control)this.textBox2); this.Controls.Add((Control)this.label2); this.Controls.Add((Control)this.label1); this.Controls.Add((Control)this.textBox1); this.FormBorderStyle = FormBorderStyle.FixedSingle; this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon"); this.MaximizeBox = false; this.Name = "MainForm"; this.StartPosition = FormStartPosition.CenterParent; this.Text = "TelegramTools"; this.ResumeLayout(false); this.PerformLayout(); }
static void Main () { ComponentResourceManager crm = new ComponentResourceManager ( typeof (MyComponent)); Thread.CurrentThread.CurrentUICulture = new CultureInfo ("en-GB"); Thread.CurrentThread.CurrentCulture = new CultureInfo ("nl-BE"); MyComponent comp = new MyComponent ("Welcome", "System"); crm.ApplyResources (comp, "$this", CultureInfo.InvariantCulture); Assert.IsNotNull (comp.BackgroundImage, "#A1"); Assert.IsNotNull (comp.Company, "#A2"); Assert.AreEqual ("OSF", comp.Company, "#A3"); Assert.AreEqual (0, comp.Interval, "#A4"); Assert.IsTrue (comp.Localizable, "#A5"); Assert.IsNull (comp.Name, "#A6"); Assert.IsNotNull (comp.Text, "#A7"); Assert.AreEqual ("Mono", comp.Text, "#A8"); Assert.IsNotNull (comp.Title, "#A9"); Assert.AreEqual ("Welcome", comp.Title, "#A10"); #if NET_2_0 Assert.IsNull (comp.Zone, "#A11"); #else Assert.IsNotNull (comp.Zone, "#A11"); Assert.AreEqual (string.Empty, comp.Zone, "#A12"); #endif comp = new MyComponent ("Welcome", "System"); crm.IgnoreCase = true; crm.ApplyResources (comp, "$this", CultureInfo.InvariantCulture); Assert.IsNotNull (comp.BackgroundImage, "#B1"); Assert.IsNotNull (comp.Company, "#B2"); Assert.AreEqual ("OSF", comp.Company, "#B3"); Assert.AreEqual (0, comp.Interval, "#B4"); Assert.IsTrue (comp.Localizable, "#B5"); Assert.IsNotNull (comp.Name, "#B6"); Assert.AreEqual ("Mono Component", comp.Name, "#B7"); Assert.IsNotNull (comp.Text, "#B8"); Assert.AreEqual ("Mono", comp.Text, "#B9"); Assert.IsNotNull (comp.Title, "#B10"); Assert.AreEqual ("Welcome", comp.Title, "#B11"); #if NET_2_0 Assert.IsNull (comp.Zone, "#B12"); #else Assert.IsNotNull (comp.Zone, "#B12"); Assert.AreEqual (string.Empty, comp.Zone, "#B13"); #endif comp = new MyComponent ("Welcome", "System"); crm.ApplyResources (comp, string.Empty, CultureInfo.InvariantCulture); Assert.IsNull (comp.Name, "#C"); comp = new MyComponent ("Welcome", "System"); crm.IgnoreCase = false; crm.ApplyResources (comp, "$this", new CultureInfo ("nl-BE")); Assert.IsNotNull (comp.BackgroundImage, "#D1"); #if NET_2_0 Assert.IsNull (comp.Company, "#D2"); #else Assert.IsNotNull (comp.Company, "#D2"); Assert.AreEqual ("Company (NL-BE)", comp.Company, "#D3"); #endif Assert.AreEqual (0, comp.Interval, "#D4"); Assert.IsTrue (comp.Localizable, "#D5"); Assert.IsNull (comp.Name, "#D6"); Assert.IsNotNull (comp.Text, "#D7"); Assert.AreEqual ("Mono", comp.Text, "#D8"); Assert.IsNotNull (comp.Title, "#D9"); Assert.AreEqual ("Welcome", comp.Title, "#D10"); Assert.IsNotNull (comp.Zone, "#D11"); Assert.AreEqual ("Zone (NL-BE)", comp.Zone, "#D12"); comp = new MyComponent ("Welcome", "System"); crm.IgnoreCase = false; crm.ApplyResources (comp, "$this", new CultureInfo ("nl-NL")); Assert.IsNotNull (comp.BackgroundImage, "#E1"); Assert.IsNotNull (comp.Company, "#E2"); Assert.AreEqual ("OSF", comp.Company, "#E3"); Assert.AreEqual (0, comp.Interval, "#E4"); Assert.IsTrue (comp.Localizable, "#E5"); Assert.IsNull (comp.Name, "#E6"); Assert.IsNotNull (comp.Text, "#E7"); Assert.AreEqual ("Mono", comp.Text, "#E8"); Assert.IsNotNull (comp.Title, "#E9"); Assert.AreEqual ("Welcome", comp.Title, "#E10"); #if NET_2_0 Assert.IsNull (comp.Zone, "#E11"); #else Assert.IsNotNull (comp.Zone, "#E11"); Assert.AreEqual (string.Empty, comp.Zone, "#E12"); #endif comp = new MyComponent ("Welcome", "System"); crm.IgnoreCase = true; crm.ApplyResources (comp, "$this", new CultureInfo ("fr-FR")); Assert.IsNotNull (comp.BackgroundImage, "#F1"); #if NET_2_0 Assert.IsNull (comp.Company, "#F2"); #else Assert.IsNotNull (comp.Company, "#F2"); Assert.AreEqual ("Company (fr-FR)", comp.Company, "#F3"); #endif Assert.AreEqual (0, comp.Interval, "#F4"); Assert.IsTrue (comp.Localizable, "#F5"); Assert.IsNotNull (comp.Name, "#F6"); Assert.AreEqual ("Component (fr-FR)", comp.Name, "#F7"); Assert.IsNotNull (comp.Text, "#F8"); Assert.AreEqual ("Mono", comp.Text, "#F9"); Assert.IsNotNull (comp.Title, "#F10"); Assert.AreEqual ("Welcome", comp.Title, "#F11"); Assert.IsNotNull (comp.Zone, "#F12"); Assert.AreEqual ("Zone (fr)", comp.Zone, "#F13"); comp = new MyComponent ("Welcome", "System"); crm.ApplyResources (comp, "$this", null); Assert.IsNotNull (comp.BackgroundImage, "#G1"); Assert.IsNotNull (comp.Company, "#G2"); Assert.AreEqual ("Company (en-GB)", comp.Company, "#G3"); Assert.AreEqual (0, comp.Interval, "#G4"); Assert.IsTrue (comp.Localizable, "#G5"); Assert.IsNotNull (comp.Name, "#G6"); Assert.AreEqual ("Component (en-GB)", comp.Name, "#G7"); Assert.IsNotNull (comp.Text, "#G8"); Assert.AreEqual ("Mono", comp.Text, "#G9"); Assert.IsNotNull (comp.Title, "#G10"); Assert.AreEqual ("Welcome", comp.Title, "#G11"); Assert.IsNotNull (comp.Zone, "#G12"); Assert.AreEqual ("Zone (en-GB)", comp.Zone, "#G13"); comp = new MyComponent ("Welcome", "System"); crm.ApplyResources (comp, "$this"); Assert.IsNotNull (comp.BackgroundImage, "#H1"); Assert.IsNotNull (comp.Company, "#H2"); Assert.AreEqual ("Company (en-GB)", comp.Company, "#H3"); Assert.AreEqual (0, comp.Interval, "#H4"); Assert.IsTrue (comp.Localizable, "#H5"); Assert.IsNotNull (comp.Name, "#H6"); Assert.AreEqual ("Component (en-GB)", comp.Name, "#H7"); Assert.IsNotNull (comp.Text, "#H8"); Assert.AreEqual ("Mono", comp.Text, "#H9"); Assert.IsNotNull (comp.Title, "#H10"); Assert.AreEqual ("Welcome", comp.Title, "#H11"); Assert.IsNotNull (comp.Zone, "#H12"); Assert.AreEqual ("Zone (en-GB)", comp.Zone, "#H13"); }
private void InitializeComponent() { this.components = (IContainer) new Container(); Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance(); ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmMC601RegisterViewer)); this.grdView = new UltraGrid(); this.btnExportToExcel = new Button(); this.ultraGridExcelExporter1 = new UltraGridExcelExporter(this.components); this.saveFileDialog1 = new SaveFileDialog(); this.btnPrint = new Button(); this.ultraPrintPreviewDialog1 = new UltraPrintPreviewDialog(this.components); //this.grdView.BeginInit(); this.SuspendLayout(); this.grdView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; appearance1.BackColor = SystemColors.Window; appearance1.BorderColor = SystemColors.InactiveCaption; this.grdView.DisplayLayout.Appearance = (AppearanceBase)appearance1; this.grdView.DisplayLayout.BorderStyle = UIElementBorderStyle.Solid; this.grdView.DisplayLayout.CaptionVisible = DefaultableBoolean.False; appearance2.BackColor = SystemColors.ActiveBorder; appearance2.BackColor2 = SystemColors.ControlDark; appearance2.BackGradientStyle = GradientStyle.Vertical; appearance2.BorderColor = SystemColors.Window; this.grdView.DisplayLayout.GroupByBox.Appearance = (AppearanceBase)appearance2; appearance3.ForeColor = SystemColors.GrayText; this.grdView.DisplayLayout.GroupByBox.BandLabelAppearance = (AppearanceBase)appearance3; this.grdView.DisplayLayout.GroupByBox.BorderStyle = UIElementBorderStyle.Solid; appearance4.BackColor = SystemColors.ControlLightLight; appearance4.BackColor2 = SystemColors.Control; appearance4.BackGradientStyle = GradientStyle.Horizontal; appearance4.ForeColor = SystemColors.GrayText; this.grdView.DisplayLayout.GroupByBox.PromptAppearance = (AppearanceBase)appearance4; this.grdView.DisplayLayout.MaxColScrollRegions = 1; this.grdView.DisplayLayout.MaxRowScrollRegions = 1; appearance5.BackColor = SystemColors.Window; appearance5.ForeColor = SystemColors.ControlText; this.grdView.DisplayLayout.Override.ActiveCellAppearance = (AppearanceBase)appearance5; appearance6.BackColor = SystemColors.Highlight; appearance6.ForeColor = SystemColors.HighlightText; this.grdView.DisplayLayout.Override.ActiveRowAppearance = (AppearanceBase)appearance6; this.grdView.DisplayLayout.Override.AllowDelete = DefaultableBoolean.False; this.grdView.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.False; this.grdView.DisplayLayout.Override.BorderStyleCell = UIElementBorderStyle.Dotted; this.grdView.DisplayLayout.Override.BorderStyleRow = UIElementBorderStyle.Dotted; appearance7.BackColor = SystemColors.Window; this.grdView.DisplayLayout.Override.CardAreaAppearance = (AppearanceBase)appearance7; appearance8.BorderColor = Color.Silver; appearance8.TextTrimming = TextTrimming.EllipsisCharacter; this.grdView.DisplayLayout.Override.CellAppearance = (AppearanceBase)appearance8; this.grdView.DisplayLayout.Override.CellClickAction = CellClickAction.EditAndSelectText; this.grdView.DisplayLayout.Override.CellPadding = 0; appearance9.BackColor = SystemColors.Control; appearance9.BackColor2 = SystemColors.ControlDark; appearance9.BackGradientAlignment = GradientAlignment.Element; appearance9.BackGradientStyle = GradientStyle.Horizontal; appearance9.BorderColor = SystemColors.Window; this.grdView.DisplayLayout.Override.GroupByRowAppearance = (AppearanceBase)appearance9; appearance10.TextHAlignAsString = "Left"; this.grdView.DisplayLayout.Override.HeaderAppearance = (AppearanceBase)appearance10; this.grdView.DisplayLayout.Override.HeaderClickAction = HeaderClickAction.SortMulti; this.grdView.DisplayLayout.Override.HeaderStyle = HeaderStyle.WindowsXPCommand; appearance11.BackColor = SystemColors.Window; appearance11.BorderColor = Color.Silver; this.grdView.DisplayLayout.Override.RowAppearance = (AppearanceBase)appearance11; this.grdView.DisplayLayout.Override.RowSelectors = DefaultableBoolean.False; appearance12.BackColor = SystemColors.ControlLight; this.grdView.DisplayLayout.Override.TemplateAddRowAppearance = (AppearanceBase)appearance12; this.grdView.DisplayLayout.ScrollBounds = ScrollBounds.ScrollToFill; this.grdView.DisplayLayout.ScrollStyle = ScrollStyle.Immediate; this.grdView.Location = new Point(0, 36); this.grdView.Name = "grdView"; this.grdView.Size = new Size(819, 504); this.grdView.TabIndex = 0; this.grdView.Text = " "; this.btnExportToExcel.Location = new Point(12, 7); this.btnExportToExcel.Name = "btnExportToExcel"; this.btnExportToExcel.Size = new Size(97, 23); this.btnExportToExcel.TabIndex = 1; this.btnExportToExcel.Text = "Export to Excel"; this.btnExportToExcel.UseVisualStyleBackColor = true; this.btnExportToExcel.Click += new EventHandler(this.btnExportToExcel_Click); this.saveFileDialog1.DefaultExt = "xls"; this.saveFileDialog1.Filter = "Excel files|*.xls|All files|*.*"; this.saveFileDialog1.Title = "Enter Excel file to save to."; this.btnPrint.Location = new Point(115, 7); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new Size(97, 23); this.btnPrint.TabIndex = 2; this.btnPrint.Text = "Print"; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new EventHandler(this.btnPrint_Click); this.ultraPrintPreviewDialog1.Name = "ultraPrintPreviewDialog1"; this.AutoScaleDimensions = new SizeF(6f, 13f); //this.AutoScaleMode = AutoScaleMode.Font; this.ClientSize = new Size(819, 540); this.Controls.Add((Control)this.btnPrint); this.Controls.Add((Control)this.btnExportToExcel); this.Controls.Add((Control)this.grdView); // this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon"); this.Name = "FrmMC601RegisterViewer"; this.ShowIcon = false; this.ShowInTaskbar = false; this.Text = "MC601 Register Viewer"; this.Load += new EventHandler(this.frmMC601RegisterViewer_Load); //this.grdView.EndInit(); this.ResumeLayout(false); }