本文整理汇总了C#中System.Windows.Forms.ContextMenuStrip.ResumeLayout方法的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.ContextMenuStrip.ResumeLayout方法的具体用法?C# System.Windows.Forms.ContextMenuStrip.ResumeLayout怎么用?C# System.Windows.Forms.ContextMenuStrip.ResumeLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Forms.ContextMenuStrip
的用法示例。
在下文中一共展示了System.Windows.Forms.ContextMenuStrip.ResumeLayout方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
//.........这里部分代码省略.........
this.shiftMenuItem = new System.Windows.Forms.ToolStripMenuItem();
ctxMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
noneMenuItem = new System.Windows.Forms.ToolStripMenuItem();
sep1 = new System.Windows.Forms.ToolStripSeparator();
sep2 = new System.Windows.Forms.ToolStripSeparator();
ctxMenu.SuspendLayout();
this.SuspendLayout();
//
// ctxMenu
//
ctxMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
noneMenuItem,
sep1,
this.tabMenuItem,
this.returnMenuItem,
this.escMenuItem,
this.prtscMenuItem,
sep2,
this.ctrlMenuItem,
this.altMenuItem,
this.winMenuItem,
this.shiftMenuItem});
ctxMenu.Name = "ctxMenu";
ctxMenu.Size = new System.Drawing.Size(111, 214);
//
// noneMenuItem
//
noneMenuItem.Name = "noneMenuItem";
noneMenuItem.Size = new System.Drawing.Size(110, 22);
noneMenuItem.Text = "None";
noneMenuItem.Click += new System.EventHandler(this.noneMenuItem_Click);
//
// sep1
//
sep1.Name = "sep1";
sep1.Size = new System.Drawing.Size(107, 6);
//
// tabMenuItem
//
this.tabMenuItem.Name = "tabMenuItem";
this.tabMenuItem.Size = new System.Drawing.Size(110, 22);
this.tabMenuItem.Click += new System.EventHandler(this.tabMenuItem_Click);
//
// returnMenuItem
//
this.returnMenuItem.Name = "returnMenuItem";
this.returnMenuItem.Size = new System.Drawing.Size(110, 22);
this.returnMenuItem.Click += new System.EventHandler(this.returnMenuItem_Click);
//
// escMenuItem
//
this.escMenuItem.Name = "escMenuItem";
this.escMenuItem.Size = new System.Drawing.Size(110, 22);
this.escMenuItem.Click += new System.EventHandler(this.escMenuItem_Click);
//
// prtscMenuItem
//
this.prtscMenuItem.Name = "prtscMenuItem";
this.prtscMenuItem.Size = new System.Drawing.Size(110, 22);
this.prtscMenuItem.Click += new System.EventHandler(this.prtscMenuItem_Click);
//
// sep2
//
sep2.Name = "sep2";
sep2.Size = new System.Drawing.Size(107, 6);
//
// ctrlMenuItem
//
this.ctrlMenuItem.Name = "ctrlMenuItem";
this.ctrlMenuItem.Size = new System.Drawing.Size(110, 22);
this.ctrlMenuItem.Click += new System.EventHandler(this.ctrlMenuItem_Click);
//
// altMenuItem
//
this.altMenuItem.Name = "altMenuItem";
this.altMenuItem.Size = new System.Drawing.Size(110, 22);
this.altMenuItem.Click += new System.EventHandler(this.altMenuItem_Click);
//
// winMenuItem
//
this.winMenuItem.Name = "winMenuItem";
this.winMenuItem.Size = new System.Drawing.Size(110, 22);
this.winMenuItem.Click += new System.EventHandler(this.winMenuItem_Click);
//
// shiftMenuItem
//
this.shiftMenuItem.Name = "shiftMenuItem";
this.shiftMenuItem.Size = new System.Drawing.Size(110, 22);
this.shiftMenuItem.Click += new System.EventHandler(this.shiftMenuItem_Click);
//
// ShortcutBox
//
this.ContextMenuStrip = ctxMenu;
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ShortcutBox_KeyUp);
this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ShortcutBox_KeyPress);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ShortcutBox_KeyDown);
ctxMenu.ResumeLayout(false);
this.ResumeLayout(false);
}
示例2: InitializeComponent
//.........这里部分代码省略.........
columnHeaderPropertyValue});
this.listViewSysInfo.ContextMenuStrip = contextMenuForSysInfo;
this.listViewSysInfo.Dock = System.Windows.Forms.DockStyle.Fill;
this.listViewSysInfo.FullRowSelect = true;
this.listViewSysInfo.GridLines = true;
listViewGroup1.Header = "Класс System.Environment";
listViewGroup1.Name = "Environment";
listViewGroup2.Header = "Класс System.Windows.Forms.SystemInformation";
listViewGroup2.Name = "SysInfo";
this.listViewSysInfo.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {
listViewGroup1,
listViewGroup2});
this.listViewSysInfo.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.listViewSysInfo.Location = new System.Drawing.Point(3, 3);
this.listViewSysInfo.Name = "listViewSysInfo";
this.listViewSysInfo.Size = new System.Drawing.Size(609, 287);
this.listViewSysInfo.TabIndex = 0;
this.listViewSysInfo.UseCompatibleStateImageBehavior = false;
this.listViewSysInfo.View = System.Windows.Forms.View.Details;
//
// tabPageEnv
//
this.tabPageEnv.Controls.Add(this.listViewVars);
this.tabPageEnv.Location = new System.Drawing.Point(4, 22);
this.tabPageEnv.Name = "tabPageEnv";
this.tabPageEnv.Padding = new System.Windows.Forms.Padding(3);
this.tabPageEnv.Size = new System.Drawing.Size(615, 293);
this.tabPageEnv.TabIndex = 1;
this.tabPageEnv.Text = "Переменные окружения";
this.tabPageEnv.UseVisualStyleBackColor = true;
//
// listViewVars
//
this.listViewVars.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
columnHeaderVarName,
columnHeaderVarValue});
this.listViewVars.ContextMenuStrip = contextMenuForEnvVars;
this.listViewVars.Dock = System.Windows.Forms.DockStyle.Fill;
this.listViewVars.FullRowSelect = true;
this.listViewVars.GridLines = true;
this.listViewVars.Location = new System.Drawing.Point(3, 3);
this.listViewVars.Name = "listViewVars";
this.listViewVars.Size = new System.Drawing.Size(609, 287);
this.listViewVars.TabIndex = 0;
this.listViewVars.UseCompatibleStateImageBehavior = false;
this.listViewVars.View = System.Windows.Forms.View.Details;
//
// tabPagePaths
//
this.tabPagePaths.Controls.Add(this.listViewPaths);
this.tabPagePaths.Location = new System.Drawing.Point(4, 22);
this.tabPagePaths.Name = "tabPagePaths";
this.tabPagePaths.Padding = new System.Windows.Forms.Padding(3);
this.tabPagePaths.Size = new System.Drawing.Size(615, 293);
this.tabPagePaths.TabIndex = 2;
this.tabPagePaths.Text = "Пути";
this.tabPagePaths.UseVisualStyleBackColor = true;
//
// listViewPaths
//
this.listViewPaths.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
columnHeaderSpecialName,
columnHeaderSpecialPath});
this.listViewPaths.Dock = System.Windows.Forms.DockStyle.Fill;
this.listViewPaths.FullRowSelect = true;
this.listViewPaths.GridLines = true;
this.listViewPaths.Location = new System.Drawing.Point(3, 3);
this.listViewPaths.Name = "listViewPaths";
this.listViewPaths.Size = new System.Drawing.Size(609, 287);
this.listViewPaths.TabIndex = 0;
this.listViewPaths.UseCompatibleStateImageBehavior = false;
this.listViewPaths.View = System.Windows.Forms.View.Details;
//
// columnHeaderSpecialName
//
columnHeaderSpecialName.Text = "SpecialFolder";
//
// columnHeaderSpecialPath
//
columnHeaderSpecialPath.Text = "Путь";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(623, 319);
this.Controls.Add(this.tabControl);
this.Name = "MainForm";
this.Text = "Информация об окружении процесса";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.OnLoad);
contextMenuForSysInfo.ResumeLayout(false);
contextMenuForEnvVars.ResumeLayout(false);
this.tabControl.ResumeLayout(false);
this.tabPageSysInfo.ResumeLayout(false);
this.tabPageEnv.ResumeLayout(false);
this.tabPagePaths.ResumeLayout(false);
this.ResumeLayout(false);
}
示例3: InitializeComponent
//.........这里部分代码省略.........
resources.ApplyResources(this.itmOpen, "itmOpen");
this.itmOpen.Name = "itmOpen";
this.itmOpen.Click += new System.EventHandler(this.itmOpen_Click);
//
// itmDelete
//
resources.ApplyResources(this.itmDelete, "itmDelete");
this.itmDelete.Name = "itmDelete";
this.itmDelete.Click += new System.EventHandler(this.itmDelete_Click);
//
// sepImage1
//
this.sepImage1.Name = "sepImage1";
resources.ApplyResources(this.sepImage1, "sepImage1");
//
// itmExport
//
resources.ApplyResources(this.itmExport, "itmExport");
this.itmExport.Name = "itmExport";
//
// itmExtract
//
resources.ApplyResources(this.itmExtract, "itmExtract");
this.itmExtract.Name = "itmExtract";
//
// sepImage2
//
this.sepImage2.Name = "sepImage2";
resources.ApplyResources(this.sepImage2, "sepImage2");
//
// itmAddToBookmark
//
this.itmAddToBookmark.Name = "itmAddToBookmark";
resources.ApplyResources(this.itmAddToBookmark, "itmAddToBookmark");
//
// dgvImages
//
this.dgvImages.AllowDrop = true;
this.dgvImages.AllowUserToAddRows = false;
this.dgvImages.AllowUserToMoveRows = true;
this.dgvImages.AllowUserToResizeColumns = false;
this.dgvImages.AllowUserToResizeRows = false;
this.dgvImages.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvImages.BackgroundColor = System.Drawing.SystemColors.Control;
this.dgvImages.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.dgvImages.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.dgvImages.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvImages.ColumnHeadersVisible = false;
this.dgvImages.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.clmImage,
this.clmViewMode});
this.dgvImages.ContextMenuStrip = conImage;
resources.ApplyResources(this.dgvImages, "dgvImages");
this.dgvImages.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.dgvImages.GridColor = System.Drawing.SystemColors.Control;
this.dgvImages.MultiDrag = true;
this.dgvImages.Name = "dgvImages";
this.dgvImages.RowHeadersVisible = false;
this.dgvImages.RowTemplate.Height = 42;
this.dgvImages.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvImages.ShowCellToolTips = false;
this.dgvImages.VirtualMode = true;
this.dgvImages.RowMoving += new System.EventHandler<Comical.Controls.RowMovingEventArgs>(this.dgvImages_RowMoving);
this.dgvImages.QueryActualDestination += new System.EventHandler<Comical.Controls.QueryActualDestinationEventArgs>(this.dgvImages_QueryActualDestination);
this.dgvImages.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvImages_CellDoubleClick);
this.dgvImages.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.dgvImages_CellValueNeeded);
this.dgvImages.CellValuePushed += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.dgvImages_CellValuePushed);
this.dgvImages.SelectionChanged += new System.EventHandler(this.dgvImages_SelectionChanged);
this.dgvImages.UserDeletedRow += new System.Windows.Forms.DataGridViewRowEventHandler(this.dgvImages_UserDeletedRow);
this.dgvImages.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.dgvImages_UserDeletingRow);
this.dgvImages.DragDrop += new System.Windows.Forms.DragEventHandler(this.dgvImages_DragDrop);
this.dgvImages.DragEnter += new System.Windows.Forms.DragEventHandler(this.dgvImages_DragEnter);
//
// clmImage
//
this.clmImage.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
resources.ApplyResources(this.clmImage, "clmImage");
this.clmImage.Name = "clmImage";
this.clmImage.Resizable = System.Windows.Forms.DataGridViewTriState.False;
//
// clmViewMode
//
this.clmViewMode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.clmViewMode.FillWeight = 80F;
resources.ApplyResources(this.clmViewMode, "clmViewMode");
this.clmViewMode.Name = "clmViewMode";
//
// ContentsView
//
this.AllowDrop = true;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
resources.ApplyResources(this, "$this");
this.Controls.Add(this.dgvImages);
this.HideOnClose = true;
this.Name = "ContentsView";
conImage.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvImages)).EndInit();
this.ResumeLayout(false);
}
示例4: InitializeComponent
//.........这里部分代码省略.........
_ContextMenuStripFiles.Name = "_ContextMenuStripFiles";
_ContextMenuStripFiles.Size = new System.Drawing.Size(185, 52);
//
// _ToolStripMenuItemAddFile
//
_ToolStripMenuItemAddFile.Name = "_ToolStripMenuItemAddFile";
_ToolStripMenuItemAddFile.Size = new System.Drawing.Size(184, 24);
_ToolStripMenuItemAddFile.Text = "Добавить файл";
_ToolStripMenuItemAddFile.Click += new System.EventHandler(EventHandler_ToolStripMenuItemAddFile_Click);
//
// _ToolStripMenuItemRemoveFile
//
_ToolStripMenuItemRemoveFile.Name = "_ToolStripMenuItemRemoveFile";
_ToolStripMenuItemRemoveFile.Size = new System.Drawing.Size(184, 24);
_ToolStripMenuItemRemoveFile.Text = "Удалить файл";
_ToolStripMenuItemRemoveFile.Click += new System.EventHandler(EventHandler_ToolStripMenuItemRemoveFile_Click);
//
// _DataGridViewRecords
//
_DataGridViewRecords.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
_DataGridViewRecords.ContextMenuStrip = _ContextMenuStripRecords;
_DataGridViewRecords.Dock = System.Windows.Forms.DockStyle.Fill;
_DataGridViewRecords.Location = new System.Drawing.Point(0, 0);
_DataGridViewRecords.Name = "_DataGridViewRecords";
_DataGridViewRecords.RowTemplate.Height = 24;
_DataGridViewRecords.Size = new System.Drawing.Size(576, 183);
_DataGridViewRecords.TabIndex = 0;
//
// _ContextMenuStripRecords
//
_ContextMenuStripRecords.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
_ToolStripMenuItemAddRecord,
_ToolStripMenuItemRemoveRecord});
_ContextMenuStripRecords.Name = "_ContextMenuStripRecords";
_ContextMenuStripRecords.Size = new System.Drawing.Size(198, 52);
//
// _ToolStripMenuItemAddRecord
//
_ToolStripMenuItemAddRecord.Name = "_ToolStripMenuItemAddRecord";
_ToolStripMenuItemAddRecord.Size = new System.Drawing.Size(197, 24);
_ToolStripMenuItemAddRecord.Text = "Добавить запись";
_ToolStripMenuItemAddRecord.Click += new System.EventHandler(EventHandler_ToolStripMenuItemAddRecord_Click);
//
// _ToolStripMenuItemRemoveRecord
//
_ToolStripMenuItemRemoveRecord.Name = "_ToolStripMenuItemRemoveRecord";
_ToolStripMenuItemRemoveRecord.Size = new System.Drawing.Size(197, 24);
_ToolStripMenuItemRemoveRecord.Text = "Удалить запись";
_ToolStripMenuItemRemoveRecord.Click += new System.EventHandler(EventHandler_ToolStripMenuItemRemoveRecord_Click);
//
// FormEditNetworkController
//
AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
AutoSize = true;
ClientSize = new System.Drawing.Size(880, 456);
Controls.Add(_SplitContainerMain);
Controls.Add(_StatusStripMain);
Controls.Add(_MenuStripMain);
MainMenuStrip = _MenuStripMain;
MaximizeBox = false;
MinimizeBox = false;
Name = "FormEditNetworkController";
ShowIcon = false;
ShowInTaskbar = false;
StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
Text = "Редактор сети Modbus";
Load += new System.EventHandler(EventHandler_FormEditNetworkController_Load);
FormClosed += new System.Windows.Forms.FormClosedEventHandler(EventHandler_FormEditNetworkController_FormClosed);
FormClosing += new System.Windows.Forms.FormClosingEventHandler(EventHandler_FormEditNetworkController_FormClosing);
_SplitContainerMain.Panel1.ResumeLayout(false);
_SplitContainerMain.Panel2.ResumeLayout(false);
_SplitContainerMain.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(_DataGridViewDevicesList)).EndInit();
_ContextMenuStripDevicesList.ResumeLayout(false);
_TabControlDevice.ResumeLayout(false);
_TabPageHoldingRegisters.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(_DataGridViewHoldingRegisters)).EndInit();
_ContextMenuStripHoldingRegisters.ResumeLayout(false);
_TabPageInputRegisters.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(_DataGridViewInputRegisters)).EndInit();
_ContextMenuStripInputRegisters.ResumeLayout(false);
_TabPageCoils.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(_DataGridViewCoils)).EndInit();
_ContextMenuStripCoils.ResumeLayout(false);
_TabPageDiscretesInputs.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(_DataGridViewDiscretesInputs)).EndInit();
_ContextMenuStripDiscretesInputs.ResumeLayout(false);
_TabPageFiles.ResumeLayout(false);
_SplitContainerFiles.Panel1.ResumeLayout(false);
_SplitContainerFiles.Panel2.ResumeLayout(false);
_SplitContainerFiles.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(_DataGridViewFiles)).EndInit();
_ContextMenuStripFiles.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(_DataGridViewRecords)).EndInit();
_ContextMenuStripRecords.ResumeLayout(false);
ResumeLayout(false);
PerformLayout();
}
示例5: InitializeComponent
//.........这里部分代码省略.........
//
// m_ComputerLabel
//
this.m_ComputerLabel.AutoSize = true;
this.m_ComputerLabel.Location = new System.Drawing.Point(11, 91);
this.m_ComputerLabel.Name = "m_ComputerLabel";
this.m_ComputerLabel.Size = new System.Drawing.Size(55, 13);
this.m_ComputerLabel.TabIndex = 0;
this.m_ComputerLabel.Text = "&Computer:";
//
// m_LogoPictureBox
//
this.m_LogoPictureBox.Dock = System.Windows.Forms.DockStyle.Top;
this.m_LogoPictureBox.Location = new System.Drawing.Point(0, 0);
this.m_LogoPictureBox.Name = "m_LogoPictureBox";
this.m_LogoPictureBox.Size = new System.Drawing.Size(350, 72);
this.m_LogoPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.m_LogoPictureBox.TabIndex = 12;
this.m_LogoPictureBox.TabStop = false;
//
// m_ComputerComboBox
//
this.m_ComputerComboBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Append;
this.m_ComputerComboBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.m_ComputerComboBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.m_ComputerComboBox.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.m_ComputerComboBox.FormattingEnabled = true;
this.m_ComputerComboBox.IntegralHeight = false;
this.m_ComputerComboBox.Location = new System.Drawing.Point(81, 88);
this.m_ComputerComboBox.Name = "m_ComputerComboBox";
this.m_ComputerComboBox.Size = new System.Drawing.Size(229, 21);
this.m_ComputerComboBox.TabIndex = 1;
this.m_ComputerComboBox.ComputerChanged += new System.EventHandler<MillerX.RemoteDesktopPlus.DataEventArgs>(this.m_ComputerComboBox_ComputerChanged);
this.m_ComputerComboBox.SelectedIndexChanged += new System.EventHandler(this.m_ComputerComboBox_SelectedIndexChanged);
//
// m_AliasComboBox
//
this.m_AliasComboBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Append;
this.m_AliasComboBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
this.m_AliasComboBox.IntegralHeight = false;
this.m_AliasComboBox.Location = new System.Drawing.Point(81, 116);
this.m_AliasComboBox.Name = "m_AliasComboBox";
this.m_AliasComboBox.Size = new System.Drawing.Size(229, 21);
this.m_AliasComboBox.TabIndex = 3;
//
// m_DrivesButton
//
this.m_DrivesButton.Location = new System.Drawing.Point(71, 157);
this.m_DrivesButton.Name = "m_DrivesButton";
this.m_DrivesButton.Size = new System.Drawing.Size(52, 45);
this.m_DrivesButton.TabIndex = 13;
this.m_ToolTip.SetToolTip(this.m_DrivesButton, "Shared drives.");
this.m_DrivesButton.UseVisualStyleBackColor = true;
//
// m_AudioButton
//
this.m_AudioButton.Location = new System.Drawing.Point(12, 157);
this.m_AudioButton.Name = "m_AudioButton";
this.m_AudioButton.Size = new System.Drawing.Size(52, 45);
this.m_AudioButton.TabIndex = 4;
this.m_AudioButton.UseVisualStyleBackColor = true;
//
// m_ExpandAliasButton
//
this.m_ExpandAliasButton.Enabled = false;
this.m_ExpandAliasButton.Location = new System.Drawing.Point(316, 100);
this.m_ExpandAliasButton.Name = "m_ExpandAliasButton";
this.m_ExpandAliasButton.Size = new System.Drawing.Size(23, 23);
this.m_ExpandAliasButton.TabIndex = 14;
this.m_ExpandAliasButton.Text = "S";
this.m_ExpandAliasButton.UseVisualStyleBackColor = true;
this.m_ExpandAliasButton.Click += new System.EventHandler(this.m_ExpandAliasButton_Click);
//
// RemoteDesktopDialog
//
this.AcceptButton = this.m_ConnectButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(243)))), ((int)(((byte)(247)))));
this.ClientSize = new System.Drawing.Size(350, 210);
this.ContextMenuStrip = m_contextMenu;
this.Controls.Add(this.m_ExpandAliasButton);
this.Controls.Add(this.m_DrivesButton);
this.Controls.Add(this.m_AliasLabel);
this.Controls.Add(this.m_ComputerLabel);
this.Controls.Add(this.m_AudioButton);
this.Controls.Add(this.m_LogoPictureBox);
this.Controls.Add(this.m_ComputerComboBox);
this.Controls.Add(this.m_AliasComboBox);
this.Controls.Add(this.m_ConnectButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.Name = "RemoteDesktopDialog";
this.Text = "Remote Desktop Plus";
m_contextMenu.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.m_LogoPictureBox)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
示例6: InitializeComponent
//.........这里部分代码省略.........
// serverToolStripMenuItem
//
serverToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
getSymbolsAndQuotesToolStripMenuItem});
serverToolStripMenuItem.Name = "serverToolStripMenuItem";
serverToolStripMenuItem.Size = new System.Drawing.Size(51, 20);
serverToolStripMenuItem.Text = "Server";
//
// getSymbolsAndQuotesToolStripMenuItem
//
getSymbolsAndQuotesToolStripMenuItem.Name = "getSymbolsAndQuotesToolStripMenuItem";
getSymbolsAndQuotesToolStripMenuItem.Size = new System.Drawing.Size(204, 22);
getSymbolsAndQuotesToolStripMenuItem.Text = "Get Symbols and Quotes";
getSymbolsAndQuotesToolStripMenuItem.Click += new System.EventHandler(this.OnGetSymbolsAndQuotes);
//
// label1
//
label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(234, 423);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(84, 13);
label1.TabIndex = 5;
label1.Text = "Calculation time:";
//
// m_calculate
//
this.m_calculate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.m_calculate.Location = new System.Drawing.Point(24, 418);
this.m_calculate.Name = "m_calculate";
this.m_calculate.Size = new System.Drawing.Size(75, 23);
this.m_calculate.TabIndex = 2;
this.m_calculate.Text = "Calculate";
this.m_calculate.UseVisualStyleBackColor = true;
this.m_calculate.Click += new System.EventHandler(this.OnCalculate);
//
// m_clear
//
this.m_clear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.m_clear.Location = new System.Drawing.Point(129, 418);
this.m_clear.Name = "m_clear";
this.m_clear.Size = new System.Drawing.Size(75, 23);
this.m_clear.TabIndex = 3;
this.m_clear.Text = "Clear";
this.m_clear.UseVisualStyleBackColor = true;
this.m_clear.Click += new System.EventHandler(this.OnClear);
//
// m_openFileDialog
//
this.m_openFileDialog.Filter = "TXT files|*.txt|All files|*.*";
//
// m_saveFileDialog
//
this.m_saveFileDialog.Filter = "TXT files|*.txt|All files|*.*";
//
// m_calculationTime
//
this.m_calculationTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.m_calculationTime.Location = new System.Drawing.Point(340, 421);
this.m_calculationTime.Name = "m_calculationTime";
this.m_calculationTime.ReadOnly = true;
this.m_calculationTime.Size = new System.Drawing.Size(100, 20);
this.m_calculationTime.TabIndex = 6;
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(784, 461);
this.Controls.Add(this.m_calculationTime);
this.Controls.Add(label1);
this.Controls.Add(mainMenu);
this.Controls.Add(this.m_clear);
this.Controls.Add(this.m_calculate);
this.Controls.Add(m_tabs);
this.MainMenuStrip = mainMenu;
this.MinimumSize = new System.Drawing.Size(800, 200);
this.Name = "MainForm";
this.Text = "Financial Example";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnFormClosing);
m_tabs.ResumeLayout(false);
calculatorTab.ResumeLayout(false);
symbolsTab.ResumeLayout(false);
tableLayoutPanel2.ResumeLayout(false);
this.m_symbolsContextMenu.ResumeLayout(false);
this.currenciesTab.ResumeLayout(false);
m_currenciesContextMenu.ResumeLayout(false);
this.quotesTab.ResumeLayout(false);
this.tableLayoutPanel3.ResumeLayout(false);
this.m_quotesContextMenu.ResumeLayout(false);
accountsAndTradesTab.ResumeLayout(false);
tableLayoutPanel1.ResumeLayout(false);
this.m_acccountsContextMenu.ResumeLayout(false);
this.m_tradesContextMenu.ResumeLayout(false);
mainMenu.ResumeLayout(false);
mainMenu.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
示例7: MarkDownReader
public MarkDownReader()
{
System.AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionTrapper;
System.Windows.Forms.Application.ThreadException += ThreadExceptionEventHandlerTrapper;
this.m_TrayIcon = new System.Windows.Forms.NotifyIcon();
string resourceName = this.GetType().Namespace + ".MarkdownServer.ico";
using (System.IO.Stream stream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName))
{
this.m_TrayIcon.Icon = new System.Drawing.Icon(stream);
}
this.m_TrayIcon.BalloonTipTitle = "Markdown Server Running HERE";
this.m_TrayIcon.BalloonTipText = "If you exit the browser, you can close the Markdown-Server here.";
this.m_TrayIcon.Text = "MarkdownReader Server-Instance";
this.m_TrayIcon.DoubleClick += TrayIcon_DoubleClick;
//Optional - Add a context menu to the TrayIcon:
this.TrayIconContextMenu = new System.Windows.Forms.ContextMenuStrip();
this.CloseMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ReopenBrowserMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.TrayIconContextMenu.SuspendLayout();
// TrayIconContextMenu
this.TrayIconContextMenu.Items.AddRange(
new System.Windows.Forms.ToolStripItem[] { this.ReopenBrowserMenuItem, this.CloseMenuItem }
);
this.TrayIconContextMenu.Name = "TrayIconContextMenu";
this.TrayIconContextMenu.Size = new System.Drawing.Size(153, 70);
// CloseMenuItem
this.CloseMenuItem.Name = "CloseMenuItem";
this.CloseMenuItem.Size = new System.Drawing.Size(152, 22);
this.CloseMenuItem.Text = "Shutdown Markdown-Server";
this.CloseMenuItem.Click += new System.EventHandler(this.CloseMenuItem_Click);
this.ReopenBrowserMenuItem.Name = "CloseMenuItem";
this.ReopenBrowserMenuItem.Size = new System.Drawing.Size(152, 22);
this.ReopenBrowserMenuItem.Text = "Reopen the browser";
this.ReopenBrowserMenuItem.Click += new System.EventHandler(this.ReopenBrowserMenuItem_Click);
TrayIconContextMenu.ResumeLayout(false);
this.m_TrayIcon.ContextMenuStrip = TrayIconContextMenu;
InitializeComponent();
string curDir = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
curDir = System.IO.Path.Combine(curDir, "..");
curDir = System.IO.Path.Combine(curDir, "..");
curDir = System.IO.Path.Combine(curDir, "..");
curDir = System.IO.Path.Combine(curDir, "MarkDownReaderAndWriter");
curDir = System.IO.Path.GetFullPath(curDir);
this.m_ews = new EmbeddedWebServer.EmbeddedServer();
this.m_ews.AddApplication(curDir);
} // End Constructor
示例8: InitializeComponent
//.........这里部分代码省略.........
this.webBrowser1.TabIndex = 9;
this.webBrowser1.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.webBrowser1_Navigating);
this.webBrowser1.DocumentTitleChanged += new System.EventHandler(this.webBrowser1_DocumentTitleChanged);
this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted);
this.webBrowser1.StatusTextChanged += new System.EventHandler(this.webBrowser1_StatusTextChanged);
//
// address_textBox1
//
this.address_textBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this.address_textBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.AllUrl;
this.address_textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.address_textBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.address_textBox1.Font = new System.Drawing.Font("MS UI Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
this.address_textBox1.Location = new System.Drawing.Point(0, 0);
this.address_textBox1.Margin = new System.Windows.Forms.Padding(0);
this.address_textBox1.Name = "address_textBox1";
this.address_textBox1.Size = new System.Drawing.Size(753, 19);
this.address_textBox1.TabIndex = 10;
this.address_textBox1.Text = "http://www.nicovideo.jp/";
this.address_textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.address_textBox1_KeyDown);
//
// fontDialog1
//
this.fontDialog1.Font = new System.Drawing.Font("MS UI Gothic", 1F);
this.fontDialog1.ShowEffects = false;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.AutoSize = true;
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.Controls.Add(this.address_textBox1, 0, 0);
this.tableLayoutPanel1.Controls.Add(Go, 1, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 27);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(772, 19);
this.tableLayoutPanel1.TabIndex = 11;
//
// HTML_Icon
//
this.HTML_Icon.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("HTML_Icon.ImageStream")));
this.HTML_Icon.TransparentColor = System.Drawing.Color.Transparent;
this.HTML_Icon.Images.SetKeyName(0, "canvas.png");
//
// treeViewEx
//
this.treeViewEx.ContextMenuStrip = this.contextMenuStrip1;
this.treeViewEx.Dock = System.Windows.Forms.DockStyle.Left;
this.treeViewEx.ImageIndex = 0;
this.treeViewEx.ImageList = this.HTML_Icon;
this.treeViewEx.Location = new System.Drawing.Point(0, 49);
this.treeViewEx.Name = "treeViewEx";
this.treeViewEx.SelectedImageIndex = 0;
this.treeViewEx.Size = new System.Drawing.Size(201, 345);
this.treeViewEx.TabIndex = 7;
this.treeViewEx.webBrowser = this.webBrowser1;
this.treeViewEx.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView2_AfterSelect);
//
// StatusLabel1
//
this.StatusLabel1.Name = "StatusLabel1";
this.StatusLabel1.Size = new System.Drawing.Size(20, 18);
this.StatusLabel1.Text = "...";
//
// BrowserForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(772, 666);
this.Controls.Add(this.webBrowser1);
this.Controls.Add(vertical_splitter);
this.Controls.Add(this.treeViewEx);
this.Controls.Add(upper_splitter);
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(menuStrip1);
this.Controls.Add(bottom_splitter1);
this.Controls.Add(this.propertyGrid1);
this.Controls.Add(this.statusStrip1);
this.MainMenuStrip = menuStrip1;
this.Name = "BrowserForm";
this.Text = "MyBrowser";
///////////////////////this.Deactivate += new System.EventHandler(this.BrowserForm_Deactivate);
//////////////////////////////////// this.Activated += new System.EventHandler(this.BrowserForm_Activated);
contextMenuStrip2.ResumeLayout(false);
menuStrip1.ResumeLayout(false);
menuStrip1.PerformLayout();
this.contextMenuStrip1.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
示例9: InitializeComponent
/// <summary>
/// デザイナー サポートに必要なメソッドです。このメソッドの内容を
/// コード エディターで変更しないでください。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.ContextMenuStrip conOption;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Viewer));
Comical.Controls.ToolStripRadioMenuItem itmOriginalSize;
this.itmFitToWindow = new Comical.Controls.ToolStripRadioMenuItem();
this.preMain = new Comical.Controls.Previewer();
conOption = new System.Windows.Forms.ContextMenuStrip(this.components);
itmOriginalSize = new Comical.Controls.ToolStripRadioMenuItem();
conOption.SuspendLayout();
this.SuspendLayout();
//
// conOption
//
conOption.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.itmFitToWindow,
itmOriginalSize});
conOption.Name = "conOption";
resources.ApplyResources(conOption, "conOption");
//
// itmFitToWindow
//
this.itmFitToWindow.Checked = true;
this.itmFitToWindow.CheckOnClick = true;
this.itmFitToWindow.CheckState = System.Windows.Forms.CheckState.Checked;
this.itmFitToWindow.Group = 0;
this.itmFitToWindow.Name = "itmFitToWindow";
resources.ApplyResources(this.itmFitToWindow, "itmFitToWindow");
this.itmFitToWindow.CheckedChanged += new System.EventHandler(this.itmFitToWindow_CheckedChanged);
//
// itmOriginalSize
//
itmOriginalSize.CheckOnClick = true;
itmOriginalSize.Group = 0;
itmOriginalSize.Name = "itmOriginalSize";
resources.ApplyResources(itmOriginalSize, "itmOriginalSize");
itmOriginalSize.CheckedChanged += new System.EventHandler(this.itmFitToWindow_CheckedChanged);
//
// preMain
//
resources.ApplyResources(this.preMain, "preMain");
this.preMain.BackColor = System.Drawing.Color.Transparent;
this.preMain.Description = null;
this.preMain.Font = System.Drawing.SystemFonts.MessageBoxFont;
this.preMain.ForeColor = System.Drawing.Color.White;
this.preMain.Image = null;
this.preMain.Name = "preMain";
this.preMain.StretchMode = Comical.Controls.PreviewerStretchMode.Uniform;
//
// Viewer
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
resources.ApplyResources(this, "$this");
this.BackColor = System.Drawing.Color.Black;
this.ContextMenuStrip = conOption;
this.Controls.Add(this.preMain);
this.DockAreas = ((WeifenLuo.WinFormsUI.Docking.DockAreas)((WeifenLuo.WinFormsUI.Docking.DockAreas.Float | WeifenLuo.WinFormsUI.Docking.DockAreas.Document)));
this.MinimizeBox = false;
this.Name = "Viewer";
this.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.Document;
this.ShowInTaskbar = false;
this.TabPageContextMenuStrip = conOption;
conOption.ResumeLayout(false);
this.ResumeLayout(false);
}
示例10: InitializeComponent
//.........这里部分代码省略.........
this.tagBox.Location = new System.Drawing.Point(37, 630);
this.tagBox.Margin = new System.Windows.Forms.Padding(0);
this.tagBox.Name = "tagBox";
this.tagBox.Size = new System.Drawing.Size(646, 13);
this.tagBox.TabIndex = 1;
this.tagBox.TabStop = false;
this.tagBox.TextChanged += new System.EventHandler(this.tagBox_TextChanged);
this.tagBox.Enter += new System.EventHandler(this.tagBox_Enter);
this.tagBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tagBox_KeyDown);
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label1.BackColor = System.Drawing.SystemColors.Window;
this.label1.Location = new System.Drawing.Point(0, 624);
this.label1.Margin = new System.Windows.Forms.Padding(0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(683, 22);
this.label1.TabIndex = 2;
this.label1.Text = "Tags:";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// scEdit
//
this.scEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.scEdit.AutoCDropRestOfWord = true;
this.scEdit.AutoCIgnoreCase = true;
this.scEdit.AutoCMaxHeight = 10;
this.scEdit.AutomaticFold = ((ScintillaNET.AutomaticFold)(((ScintillaNET.AutomaticFold.Show | ScintillaNET.AutomaticFold.Click)
| ScintillaNET.AutomaticFold.Change)));
this.scEdit.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.scEdit.CaretLineBackColor = System.Drawing.Color.LightYellow;
this.scEdit.CaretLineVisible = true;
this.scEdit.CaretWidth = 2;
this.scEdit.IndentationGuides = ScintillaNET.IndentView.Real;
this.scEdit.Location = new System.Drawing.Point(0, 0);
this.scEdit.Margin = new System.Windows.Forms.Padding(0);
this.scEdit.MouseSelectionRectangularSwitch = true;
this.scEdit.Name = "scEdit";
this.scEdit.Size = new System.Drawing.Size(783, 624);
this.scEdit.TabIndex = 2;
this.scEdit.TabWidth = 2;
this.scEdit.UseTabs = false;
this.scEdit.WrapIndentMode = ScintillaNET.WrapIndentMode.Indent;
this.scEdit.WrapMode = ScintillaNET.WrapMode.Word;
this.scEdit.WrapVisualFlags = ScintillaNET.WrapVisualFlags.End;
this.scEdit.SavePointLeft += new System.EventHandler<System.EventArgs>(this.scEdit_SavePointLeft);
this.scEdit.UpdateUI += new System.EventHandler<ScintillaNET.UpdateUIEventArgs>(this.scEdit_UpdateUI);
//
// lexerMenu
//
this.lexerMenu.Name = "lexerMenu";
this.lexerMenu.ShowCheckMargin = true;
this.lexerMenu.ShowImageMargin = false;
this.lexerMenu.Size = new System.Drawing.Size(61, 4);
this.lexerMenu.Opening += new System.ComponentModel.CancelEventHandler(this.lexerMenu_Opening);
//
// notifyIcon1
//
this.notifyIcon1.ContextMenuStrip = trayMenu;
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
this.notifyIcon1.Text = "SynNotes";
this.notifyIcon1.Visible = true;
this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1014, 646);
this.Controls.Add(this.splitContainer1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.Name = "Form1";
this.Text = "SynNotes";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
this.Shown += new System.EventHandler(this.Form1_Shown);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
this.Move += new System.EventHandler(this.Form1_Move);
this.Resize += new System.EventHandler(this.Form1_Resize);
trayMenu.ResumeLayout(false);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel1.PerformLayout();
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tree)).EndInit();
this.statusBar.ResumeLayout(false);
this.statusBar.PerformLayout();
this.panelFind.ResumeLayout(false);
this.panelFind.PerformLayout();
this.ResumeLayout(false);
}
示例11: InitializeComponent
//.........这里部分代码省略.........
//
resources.ApplyResources(this.sepBookmark1, "sepBookmark1");
this.sepBookmark1.Name = "sepBookmark1";
//
// itmCreateNew
//
resources.ApplyResources(this.itmCreateNew, "itmCreateNew");
this.itmCreateNew.Name = "itmCreateNew";
this.itmCreateNew.Click += new System.EventHandler(this.itmAdd_Click);
//
// itmInsertAbove
//
resources.ApplyResources(this.itmInsertAbove, "itmInsertAbove");
this.itmInsertAbove.Name = "itmInsertAbove";
this.itmInsertAbove.Click += new System.EventHandler(this.itmInsertAbove_Click);
//
// itmInsertBelow
//
resources.ApplyResources(this.itmInsertBelow, "itmInsertBelow");
this.itmInsertBelow.Name = "itmInsertBelow";
this.itmInsertBelow.Click += new System.EventHandler(this.itmInsertBelow_Click);
//
// sepBookmark2
//
resources.ApplyResources(this.sepBookmark2, "sepBookmark2");
this.sepBookmark2.Name = "sepBookmark2";
//
// itmDelete
//
resources.ApplyResources(this.itmDelete, "itmDelete");
this.itmDelete.Name = "itmDelete";
this.itmDelete.Click += new System.EventHandler(this.itmRemove_Click);
//
// dgvBookmarks
//
resources.ApplyResources(this.dgvBookmarks, "dgvBookmarks");
this.dgvBookmarks.AllowDrop = true;
this.dgvBookmarks.AllowUserToAddRows = false;
this.dgvBookmarks.AllowUserToMoveRows = true;
this.dgvBookmarks.AllowUserToResizeColumns = false;
this.dgvBookmarks.AllowUserToResizeRows = false;
this.dgvBookmarks.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvBookmarks.BackgroundColor = System.Drawing.SystemColors.Control;
this.dgvBookmarks.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.dgvBookmarks.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.dgvBookmarks.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
this.dgvBookmarks.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dgvBookmarks.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.clmName,
this.clmTarget});
this.dgvBookmarks.ContextMenuStrip = conBookmark;
this.dgvBookmarks.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2;
this.dgvBookmarks.GridColor = System.Drawing.SystemColors.Control;
this.dgvBookmarks.Name = "dgvBookmarks";
this.dgvBookmarks.RowHeadersVisible = false;
this.dgvBookmarks.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
this.dgvBookmarks.RowTemplate.Height = 21;
this.dgvBookmarks.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvBookmarks.ShowCellToolTips = false;
this.dgvBookmarks.VirtualMode = true;
this.dgvBookmarks.RowMoving += new System.EventHandler<Comical.Controls.RowMovingEventArgs>(this.dgvBookmarks_RowMoving);
this.dgvBookmarks.QueryActualDestination += new System.EventHandler<Comical.Controls.QueryActualDestinationEventArgs>(this.dgvBookmarks_QueryActualDestination);
this.dgvBookmarks.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvBookmarks_CellDoubleClick);
this.dgvBookmarks.CellErrorTextNeeded += new System.Windows.Forms.DataGridViewCellErrorTextNeededEventHandler(this.dgvBookmarks_CellErrorTextNeeded);
this.dgvBookmarks.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.dgvBookmarks_CellValueNeeded);
this.dgvBookmarks.CellValuePushed += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.dgvBookmarks_CellValuePushed);
this.dgvBookmarks.SelectionChanged += new System.EventHandler(this.dgvBookmarks_SelectionChanged);
this.dgvBookmarks.UserDeletedRow += new System.Windows.Forms.DataGridViewRowEventHandler(this.dgvBookmarks_UserDeletedRow);
this.dgvBookmarks.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.dgvBookmarks_UserDeletingRow);
//
// clmName
//
this.clmName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.clmName.DataPropertyName = "Name";
resources.ApplyResources(this.clmName, "clmName");
this.clmName.Name = "clmName";
this.clmName.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.clmName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// clmTarget
//
this.clmTarget.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.clmTarget.DataPropertyName = "Target";
resources.ApplyResources(this.clmTarget, "clmTarget");
this.clmTarget.Name = "clmTarget";
this.clmTarget.Resizable = System.Windows.Forms.DataGridViewTriState.False;
this.clmTarget.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
//
// BookmarksView
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.Controls.Add(this.dgvBookmarks);
this.HideOnClose = true;
this.Name = "BookmarksView";
conBookmark.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvBookmarks)).EndInit();
this.ResumeLayout(false);
}
示例12: InitializeComponent
//.........这里部分代码省略.........
resources.ApplyResources(MainSplit, "MainSplit");
MainSplit.Name = "MainSplit";
//
// MainSplit.Panel1
//
MainSplit.Panel1.Controls.Add(TaskList);
//
// MainSplit.Panel2
//
MainSplit.Panel2.Controls.Add(Memo);
MainSplit.TabStop = false;
MainSplit.SplitterMoved += MainSplit_SplitterMoved;
//
// TaskList
//
TaskList.AllowColumnReorder = true;
TaskList.AllowDrop = true;
TaskList.BorderStyle = System.Windows.Forms.BorderStyle.None;
TaskList.Columns.AddRange(new [] {
colURL,
colName,
colSize,
colProgress,
colSpeed,
colETA});
TaskList.ContextMenuStrip = cmTaskList;
resources.ApplyResources(TaskList, "TaskList");
TaskList.FullRowSelect = true;
TaskList.Name = "TaskList";
TaskList.OwnerDraw = true;
TaskList.ShowItemToolTips = true;
TaskList.SmallImageList = ImageList;
TaskList.UseCompatibleStateImageBehavior = false;
TaskList.View = System.Windows.Forms.View.Details;
TaskList.ColumnClick += TaskList_ColumnClick;
TaskList.DragDrop += TaskList_DragDrop;
TaskList.DragEnter += TaskList_DragEnter;
TaskList.DoubleClick += TaskList_DoubleClick;
TaskList.KeyDown += TaskList_KeyDown;
TaskList.MouseEnter += MaxDownloaders_DropDownClosed;
//
// colURL
//
resources.ApplyResources(colURL, "colURL");
//
// colName
//
resources.ApplyResources(colName, "colName");
//
// colSize
//
resources.ApplyResources(colSize, "colSize");
//
// colProgress
//
resources.ApplyResources(colProgress, "colProgress");
//
// colSpeed
//
resources.ApplyResources(colSpeed, "colSpeed");
//
// colETA
//
resources.ApplyResources(colETA, "colETA");
//
// Memo
//
Memo.BorderStyle = System.Windows.Forms.BorderStyle.None;
resources.ApplyResources(Memo, "Memo");
Memo.Name = "Memo";
Memo.ReadOnly = true;
Memo.LinkClicked += Memo_LinkClicked;
Memo.DoubleClick += Memo_DoubleClick;
//
// miShutdown
//
miShutdown.CheckOnClick = true;
miShutdown.Name = "miShutdown";
resources.ApplyResources(miShutdown, "miShutdown");
//
// MainForm
//
resources.ApplyResources(this, "$this");
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
Controls.Add(MainSplit);
Controls.Add(Toolbar);
Name = "MainForm";
FormClosing += MainForm_FormClosing;
Shown += MainForm_Shown;
Toolbar.ResumeLayout(false);
Toolbar.PerformLayout();
cmTaskList.ResumeLayout(false);
MainSplit.Panel1.ResumeLayout(false);
MainSplit.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(MainSplit)).EndInit();
MainSplit.ResumeLayout(false);
ResumeLayout(false);
PerformLayout();
}
示例13: InitializeComponent
//.........这里部分代码省略.........
this.loadedThreadList.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple;
this.loadedThreadList.Size = new System.Drawing.Size(717, 158);
this.loadedThreadList.TabIndex = 4;
this.loadedThreadList.SelectedValueChanged += new System.EventHandler(this.loadedThreadList_SelectedValueChanged);
//
// lowDepthTextBox
//
this.lowDepthTextBox.Location = new System.Drawing.Point(528, 3);
this.lowDepthTextBox.Name = "lowDepthTextBox";
this.lowDepthTextBox.Size = new System.Drawing.Size(355, 20);
this.lowDepthTextBox.TabIndex = 5;
this.lowDepthTextBox.Text = "Lower Instruction Depth";
this.lowDepthTextBox.TextChanged += new System.EventHandler(this.depthFilterChanged);
//
// highDepthTextBox
//
this.highDepthTextBox.Location = new System.Drawing.Point(889, 3);
this.highDepthTextBox.Name = "highDepthTextBox";
this.highDepthTextBox.Size = new System.Drawing.Size(354, 20);
this.highDepthTextBox.TabIndex = 6;
this.highDepthTextBox.Text = "High Instruction Depth";
this.highDepthTextBox.TextChanged += new System.EventHandler(this.depthFilterChanged);
//
// tabPage4
//
this.tabPage4.Controls.Add(this.histogramDataView);
this.tabPage4.Location = new System.Drawing.Point(4, 22);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
this.tabPage4.Size = new System.Drawing.Size(1254, 366);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "Histogram";
this.tabPage4.UseVisualStyleBackColor = true;
this.tabPage4.Enter += new System.EventHandler(this.histogramData_Enter);
//
// histogramDataView
//
this.histogramDataView.AllowUserToAddRows = false;
this.histogramDataView.AllowUserToDeleteRows = false;
this.histogramDataView.AllowUserToOrderColumns = true;
this.histogramDataView.AutoGenerateColumns = false;
this.histogramDataView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.histogramDataView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.addressDataGridViewTextBoxColumn1,
this.countDataGridViewTextBoxColumn});
this.histogramDataView.DataSource = this.histogramEntryBindingSource1;
this.histogramDataView.Dock = System.Windows.Forms.DockStyle.Fill;
this.histogramDataView.Location = new System.Drawing.Point(3, 3);
this.histogramDataView.Name = "histogramDataView";
this.histogramDataView.ReadOnly = true;
this.histogramDataView.Size = new System.Drawing.Size(1248, 360);
this.histogramDataView.TabIndex = 0;
//
// addressDataGridViewTextBoxColumn1
//
this.addressDataGridViewTextBoxColumn1.DataPropertyName = "Address";
this.addressDataGridViewTextBoxColumn1.HeaderText = "Address";
this.addressDataGridViewTextBoxColumn1.Name = "addressDataGridViewTextBoxColumn1";
this.addressDataGridViewTextBoxColumn1.ReadOnly = true;
//
// countDataGridViewTextBoxColumn
//
this.countDataGridViewTextBoxColumn.DataPropertyName = "Count";
this.countDataGridViewTextBoxColumn.HeaderText = "Count";
this.countDataGridViewTextBoxColumn.Name = "countDataGridViewTextBoxColumn";
this.countDataGridViewTextBoxColumn.ReadOnly = true;
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1262, 392);
this.Controls.Add(this.tabContainer);
this.Name = "Form1";
this.Text = "Form1";
contextMenuStrip1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.histogramEntryBindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.histogramEntryBindingSource)).EndInit();
this.tabContainer.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.tabPage2.PerformLayout();
this.tabPage3.ResumeLayout(false);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.librariesBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.resultsGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.instructionBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.threadBindingSource)).EndInit();
this.tabPage4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.histogramDataView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.histogramBindingSource)).EndInit();
this.ResumeLayout(false);
}
示例14: InitializeComponent
/// <summary>
/// デザイナー サポートに必要なメソッドです。このメソッドの内容を
/// コード エディターで変更しないでください。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.ContextMenuStrip notifyMenu;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NotifyIconWrapper));
this.Add_new_memo = new System.Windows.Forms.ToolStripMenuItem();
this.change_transportmode = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.exit_app = new System.Windows.Forms.ToolStripMenuItem();
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
this.about_version = new System.Windows.Forms.ToolStripMenuItem();
notifyMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
notifyMenu.SuspendLayout();
//
// notifyMenu
//
notifyMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.Add_new_memo,
this.change_transportmode,
this.toolStripSeparator1,
this.about_version,
this.exit_app});
notifyMenu.Name = "notifyMenu";
notifyMenu.Size = new System.Drawing.Size(156, 98);
//
// Add_new_memo
//
this.Add_new_memo.AutoSize = false;
this.Add_new_memo.Name = "Add_new_memo";
this.Add_new_memo.Size = new System.Drawing.Size(155, 22);
this.Add_new_memo.Text = "新しいメモを追加";
//
// change_transportmode
//
this.change_transportmode.CheckOnClick = true;
this.change_transportmode.Name = "change_transportmode";
this.change_transportmode.Size = new System.Drawing.Size(155, 22);
this.change_transportmode.Text = "透過モード";
this.change_transportmode.Click += new System.EventHandler(this.change_transportmode_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(152, 6);
//
// exit_app
//
this.exit_app.Name = "exit_app";
this.exit_app.Size = new System.Drawing.Size(155, 22);
this.exit_app.Text = "終了";
//
// notifyIcon1
//
this.notifyIcon1.ContextMenuStrip = notifyMenu;
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
this.notifyIcon1.Text = "lentum";
this.notifyIcon1.Visible = true;
//
// about_version
//
this.about_version.Name = "about_version";
this.about_version.Size = new System.Drawing.Size(155, 22);
this.about_version.Text = "lentumについて";
this.about_version.Click += new System.EventHandler(this.about_version_Click);
notifyMenu.ResumeLayout(false);
}
示例15: InitializeComponent
/// <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();
System.Windows.Forms.ContextMenuStrip trayMenu;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainFormPaintDotNet));
this.configureToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.quitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.trayIcon = new System.Windows.Forms.NotifyIcon(this.components);
this.hideButton = new System.Windows.Forms.Button();
this.settings = new ScreenShooter.ScreenshotSettings();
trayMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
trayMenu.SuspendLayout();
this.SuspendLayout();
//
// trayMenu
//
trayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.configureToolStripMenuItem,
this.toolStripSeparator1,
this.quitToolStripMenuItem});
trayMenu.Name = "trayMenu";
trayMenu.Size = new System.Drawing.Size(140, 54);
//
// configureToolStripMenuItem
//
this.configureToolStripMenuItem.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
this.configureToolStripMenuItem.Name = "configureToolStripMenuItem";
this.configureToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.configureToolStripMenuItem.Text = "&Configure";
this.configureToolStripMenuItem.Click += new System.EventHandler(this.configureToolStripMenuItem_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(136, 6);
//
// quitToolStripMenuItem
//
this.quitToolStripMenuItem.Name = "quitToolStripMenuItem";
this.quitToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
this.quitToolStripMenuItem.Text = "&Quit";
this.quitToolStripMenuItem.Click += new System.EventHandler(this.quitToolStripMenuItem_Click);
//
// trayIcon
//
this.trayIcon.ContextMenuStrip = trayMenu;
this.trayIcon.Text = "ScreenShooter Paint.NET Edition";
this.trayIcon.Visible = true;
this.trayIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.trayIcon_MouseDoubleClick);
//
// hideButton
//
this.hideButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.hideButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.hideButton.Location = new System.Drawing.Point(301, 34);
this.hideButton.Name = "hideButton";
this.hideButton.Size = new System.Drawing.Size(75, 23);
this.hideButton.TabIndex = 0;
this.hideButton.Text = "Hide";
this.hideButton.UseVisualStyleBackColor = true;
this.hideButton.Click += new System.EventHandler(this.hideButton_Click);
//
// settings
//
this.settings.Location = new System.Drawing.Point(12, 12);
this.settings.Name = "settings";
this.settings.Size = new System.Drawing.Size(376, 304);
this.settings.TabIndex = 1;
this.settings.ScreenshotTaken += new ScreenShooter.ScreenshotSettings.ScreenshotHandler(this.settings_ScreenshotTaken);
//
// MainFormPaintDotNet
//
this.AcceptButton = this.hideButton;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.hideButton;
this.ClientSize = new System.Drawing.Size(400, 328);
this.Controls.Add(this.hideButton);
this.Controls.Add(this.settings);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "MainFormPaintDotNet";
this.Text = "ScreenShooter Paint.NET Edition";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormPaintDotNet_FormClosing);
trayMenu.ResumeLayout(false);
this.ResumeLayout(false);
}