本文整理汇总了C#中System.Windows.Forms.MenuStrip.SuspendLayout方法的典型用法代码示例。如果您正苦于以下问题:C# MenuStrip.SuspendLayout方法的具体用法?C# MenuStrip.SuspendLayout怎么用?C# MenuStrip.SuspendLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Forms.MenuStrip
的用法示例。
在下文中一共展示了MenuStrip.SuspendLayout方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Activate
public void Activate()
{
if (_isActivated) return;
var headerControls = App.CompositionContainer.GetExportedValues<IHeaderControl>().ToList();
// Activate only if there are no other IHeaderControl implementations and
// custom HeaderControl not yet set
if (App.HeaderControl == null &&
headerControls.Count == 1 && headerControls[0].GetType() == GetType())
{
_isActivated = true;
var container = new ToolStripPanel {Dock = DockStyle.Top};
Shell.Controls.Add(container);
var menuStrip = new MenuStrip { Name = DEFAULT_GROUP_NAME, Dock = DockStyle.Top };
Shell.Controls.Add(menuStrip);
Initialize(container, menuStrip);
// Add default buttons
container.SuspendLayout();
menuStrip.SuspendLayout();
new DefaultMenuBars(App).Initialize(this);
container.ResumeLayout();
menuStrip.ResumeLayout();
}
}
示例2: InitializeComponents
void InitializeComponents()
{
var menuStrip = new MenuStrip();
saveToolStripMenuItem = new ToolStripMenuItem { Visible = false };
closeToolStripMenuItem = new ToolStripMenuItem { Visible = false };
openToolStripMenuItem = new ToolStripMenuItem { Visible = false };
newToolStripMenuItem = new ToolStripMenuItem { Visible = false };
menuStrip.SuspendLayout();
SuspendLayout();
menuStrip.Items.Add(saveToolStripMenuItem);
menuStrip.Items.Add(closeToolStripMenuItem);
menuStrip.Items.Add(openToolStripMenuItem);
menuStrip.Items.Add(newToolStripMenuItem);
saveToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.S;
closeToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.W;
openToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.O;
newToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.N;
Controls.Add(menuStrip);
Size = new Size(800, 600);
Text = "DevPad";
WindowState = FormWindowState.Maximized;
menuStrip.ResumeLayout(false);
menuStrip.PerformLayout();
ResumeLayout(false);
PerformLayout();
MainMenuStrip = menuStrip;
}
示例3: add_to
public void add_to(MenuStrip strip)
{
strip.SuspendLayout();
var menu_item = new ToolStripMenuItem(name);
strip.Items.Add(menu_item);
all_menu_items().each(x => menu_item.DropDownItems.Add(x.build()));
strip.ResumeLayout();
}
示例4: InitializeGUI
/// <summary>
///
/// </summary>
protected void InitializeGUI()
{
EditingManager_cl.Instance.EditingEnabled = true;
mShowEditorGUI = true;
// Get the game window as a WinForm Form class
Form windowForm = Control.FromHandle(FNA.Game_cl.BaseInstance.WindowHandle) as Form;
windowForm.MouseUp += new MouseEventHandler(windowForm_MouseUp);
windowForm.MouseLeave += new EventHandler(windowForm_MouseLeave);
windowForm.MouseEnter += new EventHandler(windowForm_MouseEnter);
mEditorMenuStrip = new MenuStrip();
mEditorMenuStrip.Dock = DockStyle.Top;
mEditorMenuStrip.SuspendLayout();
mEditorStatusStrip = new StatusStrip();
mEditorStatusStrip.SuspendLayout();
mEditorStatusLabel = new ToolStripStatusLabel("Welcome to the World Editor!");
mMenuFile = new ToolStripMenuItem();
mMenuPanels = new ToolStripMenuItem();
mMenuView = new ToolStripMenuItem();
mMenuItemNewScene = new ToolStripMenuItem();
mMenuItemOpenScene = new ToolStripMenuItem();
mMenuItemSaveScene = new ToolStripMenuItem();
mMenuItemObjectPanel = new ToolStripMenuItem();
mMenuItemPrefabPanel = new ToolStripMenuItem();
mMenuItemDepthSnapping = new ToolStripMenuItem();
//mEditorMenuStrip.Dock = System.Windows.Forms.DockStyle.Top;
mEditorMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
mMenuFile,
mMenuPanels,
mMenuView});
mEditorMenuStrip.Location = new System.Drawing.Point(0, 0);
mEditorMenuStrip.Name = "mEditorMenuStrip";
mEditorMenuStrip.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2);
mEditorMenuStrip.Size = new System.Drawing.Size(windowForm.Width, 32);
mEditorMenuStrip.TabIndex = 1;
mEditorMenuStrip.Text = "mEditorMenuStrip";
mEditorStatusStrip.Dock = DockStyle.Bottom;
mEditorStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { mEditorStatusLabel });
mEditorStatusStrip.TabStop = false;
mEditorStatusLabel.Size = new Size(mEditorStatusStrip.Width, mEditorStatusStrip.Height);
mMenuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
mMenuItemNewScene, mMenuItemOpenScene, mMenuItemSaveScene});
mMenuFile.Name = "mMenuFile";
mMenuFile.Size = new System.Drawing.Size(40, 20);
mMenuFile.Text = "File";
mMenuPanels.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
mMenuItemObjectPanel, mMenuItemPrefabPanel});
mMenuPanels.Name = "mMenuPanels";
mMenuPanels.Size = new System.Drawing.Size(40, 20);
mMenuPanels.Text = "Panels";
mMenuView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
mMenuItemDepthSnapping});
mMenuView.Name = "mMenuView";
mMenuView.Size = new System.Drawing.Size(40, 20);
mMenuView.Text = "View";
mMenuItemNewScene.Name = "mMenuItemNewScene";
mMenuItemNewScene.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
mMenuItemNewScene.Size = new System.Drawing.Size(200, 22);
mMenuItemNewScene.Text = "New Scene";
mMenuItemNewScene.Click += new System.EventHandler(mMenuItemNewScene_Click);
mMenuItemOpenScene.Name = "mMenuItemOpenScene";
mMenuItemOpenScene.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
mMenuItemOpenScene.Size = new System.Drawing.Size(200, 22);
mMenuItemOpenScene.Text = "Open Scene";
mMenuItemOpenScene.Click += new System.EventHandler(mMenuItemOpenScene_Click);
mMenuItemSaveScene.Name = "mMenuItemSaveScene";
mMenuItemSaveScene.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
mMenuItemSaveScene.Size = new System.Drawing.Size(200, 22);
mMenuItemSaveScene.Text = "Save Scene";
mMenuItemSaveScene.Click += new System.EventHandler(mMenuItemSaveScene_Click);
mMenuItemObjectPanel.Size = new System.Drawing.Size(200, 22);
mMenuItemObjectPanel.Text = "Object Panel";
mMenuItemObjectPanel.Checked = true;
mMenuItemObjectPanel.CheckOnClick = true;
mMenuItemObjectPanel.Click += new System.EventHandler(mMenuItemObjectPanel_Click);
mMenuItemPrefabPanel.Size = new System.Drawing.Size(200, 22);
mMenuItemPrefabPanel.Text = "Prefab Panel";
mMenuItemPrefabPanel.Checked = true;
mMenuItemPrefabPanel.CheckOnClick = true;
mMenuItemPrefabPanel.Click += new System.EventHandler(mMenuItemPrefabPanel_Click);
mMenuItemDepthSnapping.Size = new System.Drawing.Size(200, 22);
mMenuItemDepthSnapping.Text = "Snap to Depth";
mMenuItemDepthSnapping.Checked = false;
mMenuItemDepthSnapping.CheckOnClick = true;
mMenuItemDepthSnapping.Click += new System.EventHandler(mMenuItemSnapping_Click);
mEditorContextMenu = new ContextMenuStrip(new System.ComponentModel.Container());
/************************************************************************
* TODO:
//.........这里部分代码省略.........
示例5: InitializeComponent
//.........这里部分代码省略.........
rolesForUserLabel = new System.Windows.Forms.Label();
usersToAssignHeader = new System.Windows.Forms.ColumnHeader();
rolesGroupBox = new System.Windows.Forms.GroupBox();
rolesHeader = new System.Windows.Forms.ColumnHeader();
usersInRoleLabel = new System.Windows.Forms.Label();
usersStatus = new System.Windows.Forms.GroupBox();
onlineTimeWindowLabel = new System.Windows.Forms.Label();
onlineUsersLabel = new System.Windows.Forms.Label();
usersGoupBox = new System.Windows.Forms.GroupBox();
usersHeader = new System.Windows.Forms.ColumnHeader();
applicationsGroupBox = new System.Windows.Forms.GroupBox();
applicationsHeader = new System.Windows.Forms.ColumnHeader();
columnApplications = new System.Windows.Forms.ColumnHeader();
addressGroupBox = new System.Windows.Forms.GroupBox();
mainMenu = new System.Windows.Forms.MenuStrip();
applicationMenuItem = new System.Windows.Forms.ToolStripMenuItem();
usersMenuItem = new System.Windows.Forms.ToolStripMenuItem();
usersSeparator1 = new System.Windows.Forms.ToolStripSeparator();
usersSeparator2 = new System.Windows.Forms.ToolStripSeparator();
rolesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
rolesSeparator1 = new System.Windows.Forms.ToolStripSeparator();
passwordsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
serviceMenuItem = new System.Windows.Forms.ToolStripMenuItem();
testMenuItem = new System.Windows.Forms.ToolStripMenuItem();
helpMenuItem = new System.Windows.Forms.ToolStripMenuItem();
aboutMenuItem = new System.Windows.Forms.ToolStripMenuItem();
passwordsPage = new System.Windows.Forms.TabPage();
rolesPage = new System.Windows.Forms.TabPage();
usersPage = new System.Windows.Forms.TabPage();
applicationsTab = new System.Windows.Forms.TabPage();
applicationPictureBox = new System.Windows.Forms.PictureBox();
tabControl = new System.Windows.Forms.TabControl();
servicePage = new System.Windows.Forms.TabPage();
passwordSetupGroupBox.SuspendLayout();
generatePassorgGroupBox.SuspendLayout();
usersGroupBox.SuspendLayout();
rolesGroupBox.SuspendLayout();
usersStatus.SuspendLayout();
usersGoupBox.SuspendLayout();
applicationsGroupBox.SuspendLayout();
addressGroupBox.SuspendLayout();
mainMenu.SuspendLayout();
passwordsPage.SuspendLayout();
rolesPage.SuspendLayout();
usersPage.SuspendLayout();
applicationsTab.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(applicationPictureBox)).BeginInit();
tabControl.SuspendLayout();
servicePage.SuspendLayout();
this.SuspendLayout();
//
// passwordSetupGroupBox
//
passwordSetupGroupBox.Controls.Add(passwordResetLabel);
passwordSetupGroupBox.Controls.Add(this.m_PasswordReset);
passwordSetupGroupBox.Controls.Add(this.m_RequiresQuestionAndAnswerLabel);
passwordSetupGroupBox.Controls.Add(passwordRetrievalLabel);
passwordSetupGroupBox.Controls.Add(requiresQuestionAndAnswerLabel);
passwordSetupGroupBox.Controls.Add(this.m_PasswordRetrieval);
passwordSetupGroupBox.Controls.Add(this.m_PasswordRegularExpression);
passwordSetupGroupBox.Controls.Add(maxInvalidLabel);
passwordSetupGroupBox.Controls.Add(passwordRegularExpressionLabel);
passwordSetupGroupBox.Controls.Add(this.m_MaxInvalidAttempts);
passwordSetupGroupBox.Controls.Add(this.m_AttemptWindow);
passwordSetupGroupBox.Controls.Add(minNonAlpha);
passwordSetupGroupBox.Controls.Add(attemptWindowLabel);
示例6: SuspendLayout
private void Diseño_Forma()
{
pic_Logo = new System.Windows.Forms.PictureBox();
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Venta));
menuStrip1 = new System.Windows.Forms.MenuStrip();
archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
documentoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
notaDeRemisiónToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
dataGridView_Productos = new System.Windows.Forms.DataGridView();
Id_ProductoTerminadoP = new System.Windows.Forms.DataGridViewTextBoxColumn();
DescripcionP = new System.Windows.Forms.DataGridViewTextBoxColumn();
NombreP = new System.Windows.Forms.DataGridViewTextBoxColumn();
Precio_VentaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
LoteP = new System.Windows.Forms.DataGridViewTextBoxColumn();
CantidadP = new System.Windows.Forms.DataGridViewTextBoxColumn();
DescuentoP = new System.Windows.Forms.DataGridViewTextBoxColumn();
comboBox_Cliente = new System.Windows.Forms.ComboBox();
comboBoxTipoPago = new System.Windows.Forms.ComboBox();
comboBoxAdquisicion = new System.Windows.Forms.ComboBox();
txt_Cantidad = new System.Windows.Forms.TextBox();
dateTimeVenta = new System.Windows.Forms.DateTimePicker();
dataGridView_Carrito = new System.Windows.Forms.DataGridView();
Id_ProductoTerminado = new System.Windows.Forms.DataGridViewTextBoxColumn();
Lote = new System.Windows.Forms.DataGridViewTextBoxColumn();
Nombre = new System.Windows.Forms.DataGridViewTextBoxColumn();
Descripcion = new System.Windows.Forms.DataGridViewTextBoxColumn();
Cantidad = new System.Windows.Forms.DataGridViewTextBoxColumn();
Precio = new System.Windows.Forms.DataGridViewTextBoxColumn();
lbl_Cantidad = new System.Windows.Forms.Label();
lbl_SubTotal = new System.Windows.Forms.Label();
txt_IVA = new System.Windows.Forms.TextBox();
txt_Descuento = new System.Windows.Forms.TextBox();
txt_SubTotal = new System.Windows.Forms.TextBox();
lbl_Descuento = new System.Windows.Forms.Label();
lbl_IVA = new System.Windows.Forms.Label();
lbl_Total = new System.Windows.Forms.Label();
txt_Total = new System.Windows.Forms.TextBox();
txt_Efectivo = new System.Windows.Forms.TextBox();
lbl_Efectivo = new System.Windows.Forms.Label();
txt_Cambio = new System.Windows.Forms.TextBox();
lbl_Cambio = new System.Windows.Forms.Label();
groupBox_Productos = new System.Windows.Forms.GroupBox();
bttn_Agregar = new System.Windows.Forms.Button();
bttn_Quitar = new System.Windows.Forms.Button();
btn_Pagar = new System.Windows.Forms.Button();
pic_Venta = new System.Windows.Forms.PictureBox();
groupBox_Informacion = new System.Windows.Forms.GroupBox();
lbl_Cliente = new System.Windows.Forms.Label();
lbl_TipoPago = new System.Windows.Forms.Label();
lbl_Adquisicion = new System.Windows.Forms.Label();
lbl_Fecha = new System.Windows.Forms.Label();
errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(dataGridView_Productos)).BeginInit();
((System.ComponentModel.ISupportInitialize)(dataGridView_Carrito)).BeginInit();
groupBox_Productos.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(pic_Venta)).BeginInit();
groupBox_Informacion.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
SuspendLayout();
//
// menuStrip1
//
menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
archivoToolStripMenuItem,
ayudaToolStripMenuItem,
documentoToolStripMenuItem});
menuStrip1.Location = new System.Drawing.Point(0, 0);
menuStrip1.Name = "menuStrip1";
menuStrip1.Size = new System.Drawing.Size(1019, 24);
menuStrip1.TabIndex = 4;
menuStrip1.Text = "menuStrip1";
//
// archivoToolStripMenuItem
//
archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
nuevoToolStripMenuItem,
abrirToolStripMenuItem,
toolStripSeparator2,
salirToolStripMenuItem});
archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
archivoToolStripMenuItem.Text = "&Archivo";
//
// nuevoToolStripMenuItem
//
nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
nuevoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Nuevo;
nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
nuevoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
//.........这里部分代码省略.........
示例7: InitializeComponent
/// <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(GUI));
inputGroupBox = new GroupBox();
pointDy = new TextBox();
pointDx = new TextBox();
pointCy = new TextBox();
pointCx = new TextBox();
pointBy = new TextBox();
pointBx = new TextBox();
pointAy = new TextBox();
pointAx = new TextBox();
labelD = new Label();
labelC = new Label();
labelB = new Label();
labelA = new Label();
pictureBox = new PictureBox();
clearButton = new Button();
startButton = new Button();
trackBar = new TrackBar();
fileToolStripMenuItem = new ToolStripMenuItem();
exitToolStripMenuItem = new ToolStripMenuItem();
menuStrip = new MenuStrip();
resultGroupBox = new GroupBox();
resultTextBox = new TextBox();
scaleGroupBox = new GroupBox();
inputGroupBox.SuspendLayout();
((ISupportInitialize)(pictureBox)).BeginInit();
((ISupportInitialize)(trackBar)).BeginInit();
menuStrip.SuspendLayout();
resultGroupBox.SuspendLayout();
scaleGroupBox.SuspendLayout();
SuspendLayout();
//
// inputGroupBox
//
inputGroupBox.Controls.Add(pointDy);
inputGroupBox.Controls.Add(pointDx);
inputGroupBox.Controls.Add(pointCy);
inputGroupBox.Controls.Add(pointCx);
inputGroupBox.Controls.Add(pointBy);
inputGroupBox.Controls.Add(pointBx);
inputGroupBox.Controls.Add(pointAy);
inputGroupBox.Controls.Add(pointAx);
inputGroupBox.Controls.Add(labelD);
inputGroupBox.Controls.Add(labelC);
inputGroupBox.Controls.Add(labelB);
inputGroupBox.Controls.Add(labelA);
inputGroupBox.Location = new Point(453, 53);
inputGroupBox.Name = "inputGroupBox";
inputGroupBox.Size = new Size(234, 231);
inputGroupBox.TabIndex = 0;
inputGroupBox.TabStop = false;
inputGroupBox.Text = "Input data";
//
// pointDy
//
pointDy.Location = new Point(155, 190);
pointDy.MaxLength = 5;
pointDy.Name = "pointDy";
pointDy.Size = new Size(62, 26);
pointDy.TabIndex = 13;
pointDy.Text = "0";
pointDy.TextAlign = HorizontalAlignment.Center;
//
// pointDx
//
pointDx.Location = new Point(74, 190);
pointDx.MaxLength = 5;
pointDx.Name = "pointDx";
pointDx.Size = new Size(62, 26);
pointDx.TabIndex = 12;
pointDx.Text = "0";
pointDx.TextAlign = HorizontalAlignment.Center;
//
// pointCy
//
pointCy.Location = new Point(155, 140);
pointCy.MaxLength = 5;
pointCy.Name = "pointCy";
pointCy.Size = new Size(62, 26);
pointCy.TabIndex = 11;
pointCy.Text = "0";
pointCy.TextAlign = HorizontalAlignment.Center;
//
// pointCx
//
pointCx.Location = new Point(74, 140);
pointCx.MaxLength = 5;
pointCx.Name = "pointCx";
pointCx.Size = new Size(62, 26);
pointCx.TabIndex = 10;
pointCx.Text = "0";
pointCx.TextAlign = HorizontalAlignment.Center;
//
// pointBy
//.........这里部分代码省略.........
示例8: SuspendLayout
private void Diseño_Forma()
{
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Cliente));
menuStrip1 = new System.Windows.Forms.MenuStrip();
archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
pic_Cliente = new System.Windows.Forms.PictureBox();
groupBoxdatos = new System.Windows.Forms.GroupBox();
groupBoxfoto = new System.Windows.Forms.GroupBox();
btn_BuscarI = new System.Windows.Forms.Button();
txt_Diascredito = new System.Windows.Forms.TextBox();
txt_LimiteCredito = new System.Windows.Forms.TextBox();
txt_Saldo = new System.Windows.Forms.TextBox();
txt_NombreContacto = new System.Windows.Forms.TextBox();
txt_Email = new System.Windows.Forms.TextBox();
txt_Telefono = new System.Windows.Forms.TextBox();
txt_CP = new System.Windows.Forms.TextBox();
txt_Estado = new System.Windows.Forms.TextBox();
txt_Ciudad = new System.Windows.Forms.TextBox();
txt_Direccion = new System.Windows.Forms.TextBox();
txt_ApellidoM = new System.Windows.Forms.TextBox();
txt_ApellidoP = new System.Windows.Forms.TextBox();
txt_Nombre = new System.Windows.Forms.TextBox();
txt_RazonSocial = new System.Windows.Forms.TextBox();
txt_RFC = new System.Windows.Forms.TextBox();
lbl_Dias = new System.Windows.Forms.Label();
lbl_LimiteCredito = new System.Windows.Forms.Label();
lbl_Saldo = new System.Windows.Forms.Label();
lbl_NombreContacto = new System.Windows.Forms.Label();
lbl_Email = new System.Windows.Forms.Label();
lbl_Telefono = new System.Windows.Forms.Label();
lbl_CP = new System.Windows.Forms.Label();
lbl_Estado = new System.Windows.Forms.Label();
lbl_Ciudad = new System.Windows.Forms.Label();
lbl_Direccion = new System.Windows.Forms.Label();
lbl_ApellidoM = new System.Windows.Forms.Label();
lbl_ApellidoP = new System.Windows.Forms.Label();
lbl_Nombre = new System.Windows.Forms.Label();
lbl_Razon_Social = new System.Windows.Forms.Label();
lbl_RFC = new System.Windows.Forms.Label();
pic_Logo = new System.Windows.Forms.PictureBox();
errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(pic_Cliente)).BeginInit();
groupBoxdatos.SuspendLayout();
groupBoxfoto.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
SuspendLayout();
//
// menuStrip1
//
menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
archivoToolStripMenuItem,
editarToolStripMenuItem,
ayudaToolStripMenuItem});
menuStrip1.Location = new System.Drawing.Point(0, 0);
menuStrip1.Name = "menuStrip1";
menuStrip1.Size = new System.Drawing.Size(604, 24);
menuStrip1.TabIndex = 0;
menuStrip1.Text = "menuStrip1";
//
// archivoToolStripMenuItem
//
archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
nuevoToolStripMenuItem,
abrirToolStripMenuItem,
toolStripSeparator,
guardarToolStripMenuItem,
toolStripSeparator2,
salirToolStripMenuItem});
archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
archivoToolStripMenuItem.Text = "&Archivo";
//
// nuevoToolStripMenuItem
//
nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
nuevoToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
nuevoToolStripMenuItem.Text = "&Nuevo";
nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
//
// abrirToolStripMenuItem
//
abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
//.........这里部分代码省略.........
示例9: Childform
public Childform ()
{
menuStrip1 = new MenuStrip ();
fileToolStripMenuItem = new ToolStripMenuItem ();
toolStripSeparator = new ToolStripSeparator ();
printToolStripMenuItem = new ToolStripMenuItem ();
editToolStripMenuItem = new ToolStripMenuItem ();
toolStripSeparator3 = new ToolStripSeparator ();
copyToolStripMenuItem = new ToolStripMenuItem ();
toolStripSeparator4 = new ToolStripSeparator ();
selectAllToolStripMenuItem = new ToolStripMenuItem ();
toolsToolStripMenuItem = new ToolStripMenuItem ();
addToolStripMenuItem = new ToolStripMenuItem ();
deleteToolStripMenuItem = new ToolStripMenuItem ();
filterToolStripMenuItem = new ToolStripMenuItem ();
helpToolStripMenuItem = new ToolStripMenuItem ();
searchToolStripMenuItem = new ToolStripMenuItem ();
menuStrip1.SuspendLayout ();
SuspendLayout ();
menuStrip1.Items.AddRange (new ToolStripItem[] {
fileToolStripMenuItem,
editToolStripMenuItem,
toolsToolStripMenuItem,
helpToolStripMenuItem});
menuStrip1.Location = new Point (0, 0);
menuStrip1.Name = "menuStrip1";
menuStrip1.RenderMode = ToolStripRenderMode.System;
menuStrip1.Size = new Size (337, 24);
menuStrip1.TabIndex = 2;
menuStrip1.Text = "menuStrip1";
menuStrip1.Visible = false;
fileToolStripMenuItem.DropDownItems.AddRange (new ToolStripItem[] {
toolStripSeparator,
printToolStripMenuItem});
fileToolStripMenuItem.MergeAction = MergeAction.MatchOnly;
fileToolStripMenuItem.Name = "fileToolStripMenuItem";
fileToolStripMenuItem.Size = new Size (35, 20);
fileToolStripMenuItem.Text = "&File";
toolStripSeparator.MergeAction = MergeAction.Insert;
toolStripSeparator.MergeIndex = 3;
toolStripSeparator.Name = "toolStripSeparator";
toolStripSeparator.Size = new Size (149, 6);
printToolStripMenuItem.MergeAction = MergeAction.Insert;
printToolStripMenuItem.MergeIndex = 2;
printToolStripMenuItem.Name = "printToolStripMenuItem";
printToolStripMenuItem.ShortcutKeys = ((Keys)((Keys.Control |
Keys.P)));
printToolStripMenuItem.Size = new Size (152, 22);
printToolStripMenuItem.Text = "&Print";
editToolStripMenuItem.DropDownItems.AddRange (new ToolStripItem[] {
toolStripSeparator3,
copyToolStripMenuItem,
toolStripSeparator4,
selectAllToolStripMenuItem});
editToolStripMenuItem.MergeAction = MergeAction.Insert;
editToolStripMenuItem.MergeIndex = 1;
editToolStripMenuItem.Name = "editToolStripMenuItem";
editToolStripMenuItem.Size = new Size (59, 20);
editToolStripMenuItem.Text = "&Paranda";
toolStripSeparator3.Name = "toolStripSeparator3";
toolStripSeparator3.Size = new Size (157, 6);
copyToolStripMenuItem.Name = "copyToolStripMenuItem";
copyToolStripMenuItem.ShortcutKeys = ((Keys)((Keys.Control | Keys.C)));
copyToolStripMenuItem.Size = new Size (160, 22);
copyToolStripMenuItem.Text = "Kopeeri";
toolStripSeparator4.Name = "toolStripSeparator4";
toolStripSeparator4.Size = new Size (157, 6);
selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
selectAllToolStripMenuItem.Size = new Size (160, 22);
selectAllToolStripMenuItem.Text = "selectAllToolStripMenuItem";
toolsToolStripMenuItem.DropDownItems.AddRange (new ToolStripItem[] {
addToolStripMenuItem,
deleteToolStripMenuItem,
filterToolStripMenuItem});
toolsToolStripMenuItem.MergeAction = MergeAction.Insert;
toolsToolStripMenuItem.MergeIndex = 2;
toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
toolsToolStripMenuItem.Size = new Size (60, 20);
toolsToolStripMenuItem.Text = "&Tegevus";
addToolStripMenuItem.Name = "addToolStripMenuItem";
addToolStripMenuItem.ShortcutKeys = ((Keys)((Keys.Control | Keys.N)));
addToolStripMenuItem.Size = new Size (160, 22);
addToolStripMenuItem.Text = "Lisa";
deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
deleteToolStripMenuItem.ShortcutKeys = ((Keys)((Keys.Control |
Keys.T)));
deleteToolStripMenuItem.Size = new Size (160, 22);
deleteToolStripMenuItem.Text = "Kustuta";
filterToolStripMenuItem.ImageTransparentColor =
Color.Silver;
filterToolStripMenuItem.Name = "filterToolStripMenuItem";
filterToolStripMenuItem.ShortcutKeys = Keys.F11;
filterToolStripMenuItem.Size = new Size (160, 22);
filterToolStripMenuItem.Text = "Tingimus";
helpToolStripMenuItem.DropDownItems.AddRange (new ToolStripItem[] {
searchToolStripMenuItem});
helpToolStripMenuItem.MergeAction = MergeAction.MatchOnly;
//.........这里部分代码省略.........
示例10: InitializeComponent
private void InitializeComponent()
{
//this.components = new System.ComponentModel.Container();
this.SuspendLayout();
#region Bars
// Component init for various toolbars
// Status Bar
// Bottom bar of application
statusBar = new StatusStrip();
statusBar.Name = "statusBar";
statusBar.Location = new Point(0, 590);
// Tool Bar
// Main toolbar
toolStrip = new ToolStrip();
toolStrip.Location = new Point(0, 24);
toolStrip.Name = "toolStrip";
toolStrip.Items.Add("Write Tag", null, click_write_tag);
toolStrip.Items.Add("Tag from File", null, click_tag_from_file);
toolStrip.Items.Add("Tag from Filename", null, click_tag_from_filename);
// Menu Bar
// Top bar of application
menuBar = new MenuStrip();
menuBar.SuspendLayout();
menuBar.Name = "menuBar";
menuBar.Location = new Point(0, 0);
#region Menu Bar Items
// File
mb_file = new ToolStripMenuItem();
mb_file.Name = "mb_file";
mb_file.Text = "File";
// Open
mb_file_open = new ToolStripMenuItem();
mb_file_open.Name = "mb_file_open";
mb_file_open.Text = "Open File(s)";
mb_file_open.Click += new EventHandler(mb_file_open_Click);
// Exit
mb_file_exit = new ToolStripMenuItem();
mb_file_exit.Name = "mb_file_exit";
mb_file_exit.Text = "Exit";
mb_file_exit.Click += new EventHandler(mb_file_exit_Click);
mb_file.DropDownItems.AddRange(new ToolStripItem[] {
mb_file_open,
mb_file_exit});
// View
mb_view = new ToolStripMenuItem();
mb_view.Name = "mb_view";
mb_view.Text = "View";
// Columns
mb_view_columns = new ToolStripMenuItem();
mb_view_columns.Name = "mb_view_columns";
mb_view_columns.Text = "Columns...";
mb_view_columns.Click += new EventHandler(mb_view_columns_Click);
mb_view.DropDownItems.AddRange(new ToolStripItem[] {
mb_view_columns});
// Help
mb_help = new ToolStripMenuItem();
mb_help.Name = "mb_help";
mb_help.Text = "Help";
// About
mb_help_about = new ToolStripMenuItem();
mb_help_about.Name = "mb_help";
mb_help_about.Text = "About";
mb_help.DropDownItems.AddRange(new ToolStripItem[] {
mb_help_about});
menuBar.Items.AddRange(new ToolStripItem[] {
mb_file,
mb_view,
mb_help});
#endregion
#endregion
#region Main Interface
// Main window components
// Main window splitter
mainSplit = new SplitContainer();
((System.ComponentModel.ISupportInitialize)(mainSplit)).BeginInit();
mainSplit.Panel1.SuspendLayout();
mainSplit.Panel2.SuspendLayout();
mainSplit.SuspendLayout();
mainSplit.BorderStyle = BorderStyle.Fixed3D;
//.........这里部分代码省略.........
示例11: SuspendLayout
private void Diseño_Forma()
{
pic_Logo = new System.Windows.Forms.PictureBox();
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Abono));
menuStrip1 = new System.Windows.Forms.MenuStrip();
archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
groupBox = new System.Windows.Forms.GroupBox();
bttn_Abono = new System.Windows.Forms.Button();
groupBox_listaAbonos = new System.Windows.Forms.GroupBox();
dataGridView_Abonos = new System.Windows.Forms.DataGridView();
lbl_Nombre = new System.Windows.Forms.Label();
lbl_ApellidoP = new System.Windows.Forms.Label();
lbl_ApellidoM = new System.Windows.Forms.Label();
lbl_Saldo = new System.Windows.Forms.Label();
lbl_LimiteCredito = new System.Windows.Forms.Label();
lbl_Dias = new System.Windows.Forms.Label();
lbl_Abono = new System.Windows.Forms.Label();
txt_Nombre = new System.Windows.Forms.TextBox();
txt_ApellidoP = new System.Windows.Forms.TextBox();
txt_ApellidoM = new System.Windows.Forms.TextBox();
txt_Saldo = new System.Windows.Forms.TextBox();
txt_LimiteCredito = new System.Windows.Forms.TextBox();
txt_Dias = new System.Windows.Forms.TextBox();
txt_Abono = new System.Windows.Forms.TextBox();
groupBoxLista_Clientes = new System.Windows.Forms.GroupBox();
dataGridView_Clientes = new System.Windows.Forms.DataGridView();
Id_Cliente = new System.Windows.Forms.DataGridViewTextBoxColumn();
Nombre = new System.Windows.Forms.DataGridViewTextBoxColumn();
Apellido_P = new System.Windows.Forms.DataGridViewTextBoxColumn();
Apellido_M = new System.Windows.Forms.DataGridViewTextBoxColumn();
Limite_Credito = new System.Windows.Forms.DataGridViewTextBoxColumn();
Dias_Credito = new System.Windows.Forms.DataGridViewTextBoxColumn();
Saldo = new System.Windows.Forms.DataGridViewTextBoxColumn();
pictureBox_Logo = new System.Windows.Forms.PictureBox();
dateTimePicker_FechaAbono = new System.Windows.Forms.DateTimePicker();
lbl_Fecha = new System.Windows.Forms.Label();
menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
groupBox.SuspendLayout();
groupBox_listaAbonos.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(dataGridView_Abonos)).BeginInit();
groupBoxLista_Clientes.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(dataGridView_Clientes)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pictureBox_Logo)).BeginInit();
SuspendLayout();
//
// menuStrip1
//
menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
archivoToolStripMenuItem,
ayudaToolStripMenuItem});
menuStrip1.Location = new System.Drawing.Point(0, 0);
menuStrip1.Name = "menuStrip1";
menuStrip1.Size = new System.Drawing.Size(867, 24);
menuStrip1.TabIndex = 5;
menuStrip1.Text = "menuStrip1";
//
// archivoToolStripMenuItem
//
archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
nuevoToolStripMenuItem,
abrirToolStripMenuItem,
toolStripSeparator2,
salirToolStripMenuItem});
archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
archivoToolStripMenuItem.Text = "&Archivo";
//
// nuevoToolStripMenuItem
//
nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
nuevoToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Nuevo;
nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
nuevoToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
nuevoToolStripMenuItem.Text = "&Nuevo";
nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
//
// abrirToolStripMenuItem
//
abrirToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("abrirToolStripMenuItem.Image")));
abrirToolStripMenuItem.Image = global::Shajobe.Properties.Resources.Abrir;
abrirToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
abrirToolStripMenuItem.Name = "abrirToolStripMenuItem";
abrirToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
abrirToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
abrirToolStripMenuItem.Text = "&Abrir";
abrirToolStripMenuItem.Click += new System.EventHandler(abrirToolStripMenuItem_Click);
//
// toolStripSeparator2
//.........这里部分代码省略.........
示例12: LoadMenuStrip
public void LoadMenuStrip(MenuStrip ms, String fileName)
{
ms.SuspendLayout();
if (fileName != null)
{
try
{
String tempStr;
tempStr = fileName.Split(new char[] { '.' })[fileName.Split(new char[] { '.' }).Length - 1];
if (tempStr.ToUpper() == "XML" && File.Exists(fileName))
{
XmlDocument doc = new XmlDocument();
doc.Load(fileName);
XmlNode root = doc.SelectSingleNode("/root/Menus");
for (int i = 0; i < root.ChildNodes.Count; i++)
{
XmlElement elem = (XmlElement)root.ChildNodes[i];
ToolStripMenuItem tempMenu;
AddToolStripMenu(out tempMenu, elem);
ms.Items.Add(tempMenu);
}
}
}
catch (System.Exception ex)
{
Trace.WriteLine("Error:加载菜单栏错误"+ex.Message);
}
}
ms.ResumeLayout(false);
ms.PerformLayout();
}
示例13: SuspendLayout
private void Diseño_Forma()
{
pic_Logo = new System.Windows.Forms.PictureBox();
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Caja));
menuStrip1 = new System.Windows.Forms.MenuStrip();
archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
movimientoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
retirarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
ingresarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
realizarCorteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
pic_Caja = new System.Windows.Forms.PictureBox();
groupBoxdatos = new System.Windows.Forms.GroupBox();
dateTime_Fecha = new System.Windows.Forms.DateTimePicker();
combo_Concepto = new System.Windows.Forms.ComboBox();
lbl_Unidad = new System.Windows.Forms.Label();
txt_DineroActual = new System.Windows.Forms.TextBox();
txt_Movimiento = new System.Windows.Forms.TextBox();
txt_DineroCaja = new System.Windows.Forms.TextBox();
lbl_Fecha = new System.Windows.Forms.Label();
lbl_Concepto = new System.Windows.Forms.Label();
lbl_Movimiento = new System.Windows.Forms.Label();
lbl_MontoInicial = new System.Windows.Forms.Label();
errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(pic_Caja)).BeginInit();
groupBoxdatos.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
SuspendLayout();
//
// menuStrip1
//
menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
archivoToolStripMenuItem,
movimientoToolStripMenuItem,
ayudaToolStripMenuItem});
menuStrip1.Location = new System.Drawing.Point(0, 0);
menuStrip1.Name = "menuStrip1";
menuStrip1.Size = new System.Drawing.Size(572, 24);
menuStrip1.TabIndex = 1;
menuStrip1.Text = "menuStrip1";
//
// archivoToolStripMenuItem
//
archivoToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
nuevoToolStripMenuItem,
toolStripSeparator,
guardarToolStripMenuItem,
toolStripSeparator2,
salirToolStripMenuItem});
archivoToolStripMenuItem.Name = "archivoToolStripMenuItem";
archivoToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
archivoToolStripMenuItem.Text = "&Archivo";
//
// nuevoToolStripMenuItem
//
nuevoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("nuevoToolStripMenuItem.Image")));
nuevoToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Nuevo;
nuevoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
nuevoToolStripMenuItem.Name = "nuevoToolStripMenuItem";
nuevoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
nuevoToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
nuevoToolStripMenuItem.Text = "&Nuevo";
nuevoToolStripMenuItem.Click += new System.EventHandler(nuevoToolStripMenuItem_Click);
//
// toolStripSeparator
//
toolStripSeparator.Name = "toolStripSeparator";
toolStripSeparator.Size = new System.Drawing.Size(153, 6);
//
// guardarToolStripMenuItem
//
guardarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("guardarToolStripMenuItem.Image")));
guardarToolStripMenuItem.Image = global::Sistema_Shajobe.Properties.Resources.Guardar;
guardarToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
guardarToolStripMenuItem.Name = "guardarToolStripMenuItem";
guardarToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
guardarToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
guardarToolStripMenuItem.Text = "&Guardar";
guardarToolStripMenuItem.Click += new System.EventHandler(guardarToolStripMenuItem_Click);
//
// toolStripSeparator2
//
toolStripSeparator2.Name = "toolStripSeparator2";
toolStripSeparator2.Size = new System.Drawing.Size(153, 6);
//
// salirToolStripMenuItem
//
salirToolStripMenuItem.Name = "salirToolStripMenuItem";
salirToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
salirToolStripMenuItem.Text = "&Salir";
salirToolStripMenuItem.Click += new System.EventHandler(salirToolStripMenuItem_Click);
//.........这里部分代码省略.........
示例14: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent() {
components = new System.ComponentModel.Container();
var resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
toolStripContainer1 = new ToolStripContainer();
panel1 = new Panel();
shapeContainer1 = new ShapeContainer();
menuStrip1 = new MenuStrip();
fileToolStripMenuItem = new ToolStripMenuItem();
newToolStripMenuItem = new ToolStripMenuItem();
openToolStripMenuItem = new ToolStripMenuItem();
toolStripSeparator = new ToolStripSeparator();
saveToolStripMenuItem = new ToolStripMenuItem();
saveAsToolStripMenuItem = new ToolStripMenuItem();
exportToolStripMenuItem = new ToolStripMenuItem();
exportImageToolStripMenuItem = new ToolStripMenuItem();
comeImmagineVettorialeToolStripMenuItem = new ToolStripMenuItem();
toolStripSeparator1 = new ToolStripSeparator();
printToolStripMenuItem = new ToolStripMenuItem();
printPreviewToolStripMenuItem = new ToolStripMenuItem();
toolStripSeparator2 = new ToolStripSeparator();
exitToolStripMenuItem = new ToolStripMenuItem();
editToolStripMenuItem = new ToolStripMenuItem();
undoToolStripMenuItem = new ToolStripMenuItem();
redoToolStripMenuItem = new ToolStripMenuItem();
toolStripSeparator3 = new ToolStripSeparator();
cutToolStripMenuItem = new ToolStripMenuItem();
copyToolStripMenuItem = new ToolStripMenuItem();
pasteToolStripMenuItem = new ToolStripMenuItem();
toolStripSeparator4 = new ToolStripSeparator();
selectAllToolStripMenuItem = new ToolStripMenuItem();
objectsTSMI = new ToolStripMenuItem();
lineKindTSMI = new ToolStripMenuItem();
toolsToolStripMenuItem = new ToolStripMenuItem();
customizeToolStripMenuItem = new ToolStripMenuItem();
optionsToolStripMenuItem = new ToolStripMenuItem();
showTSMI = new ToolStripMenuItem();
hideTSMI = new ToolStripMenuItem();
helpToolStripMenuItem = new ToolStripMenuItem();
contentsToolStripMenuItem = new ToolStripMenuItem();
indexToolStripMenuItem = new ToolStripMenuItem();
searchToolStripMenuItem = new ToolStripMenuItem();
toolStripSeparator5 = new ToolStripSeparator();
aboutToolStripMenuItem = new ToolStripMenuItem();
toolStrip1 = new ToolStrip();
newToolStripButton = new ToolStripButton();
saveToolStripButton = new ToolStripButton();
openToolStripButton = new ToolStripButton();
printToolStripButton = new ToolStripButton();
toolStripSeparator6 = new ToolStripSeparator();
cutToolStripButton = new ToolStripButton();
copyToolStripButton = new ToolStripButton();
pasteToolStripButton = new ToolStripButton();
toolStripSeparator7 = new ToolStripSeparator();
libraryTS = new ToolStripSplitButton();
linkModeTS = new CheckableToolStripSplitButton();
toolStripSeparator8 = new ToolStripSeparator();
fontTS = new CheckableToolStripSplitButton();
altriToolStripMenuItem = new ToolStripMenuItem();
fColorTS = new CheckableToolStripSplitButton();
altriToolStripMenuItem1 = new ToolStripMenuItem();
bColorTS = new CheckableToolStripSplitButton();
altriToolStripMenuItem2 = new ToolStripMenuItem();
borderColorTS = new CheckableToolStripSplitButton();
altriToolStripMenuItem3 = new ToolStripMenuItem();
toolStripSeparator9 = new ToolStripSeparator();
resizeTS = new ToolStripButton();
gridTS = new ToolStripButton();
toolStripSeparator10 = new ToolStripSeparator();
helpToolStripButton = new ToolStripButton();
imageList1 = new ImageList(components);
fColorDialog = new ColorDialog();
fontDialog1 = new FontDialog();
bColorDialog = new ColorDialog();
printDocument1 = new System.Drawing.Printing.PrintDocument();
printDialog1 = new PrintDialog();
printPreviewDialog1 = new PrintPreviewDialog();
openFileDialog1 = new OpenFileDialog();
saveFileDialog1 = new SaveFileDialog();
saveFileDialog2 = new SaveFileDialog();
borderColorDialog = new ColorDialog();
saveFileDialog3 = new SaveFileDialog();
toolStripContainer1.ContentPanel.SuspendLayout();
toolStripContainer1.TopToolStripPanel.SuspendLayout();
toolStripContainer1.SuspendLayout();
panel1.SuspendLayout();
menuStrip1.SuspendLayout();
toolStrip1.SuspendLayout();
SuspendLayout();
//
// toolStripContainer1
//
//
// toolStripContainer1.ContentPanel
//
toolStripContainer1.ContentPanel.Controls.Add(panel1);
toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(804, 529);
//.........这里部分代码省略.........
示例15: SuspendLayout
private void Diseño_Forma()
{
pic_Logo = new System.Windows.Forms.PictureBox();
components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Ingredientes_Empaques));
menuStrip1 = new System.Windows.Forms.MenuStrip();
archivoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
nuevoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
abrirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
guardarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
salirToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
editarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
modificarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
eliminarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
presentaciónToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
empaqueToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
ayudaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
acercadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
panel_Ingredientes = new System.Windows.Forms.Panel();
lbl_Cantidad_Mpp = new System.Windows.Forms.Label();
lbl_Cantidad_Mp = new System.Windows.Forms.Label();
lbl_Cantidad_PElaborado = new System.Windows.Forms.Label();
txt_SinRebaba = new System.Windows.Forms.TextBox();
button5 = new System.Windows.Forms.Button();
bttn_AgregarSinRebaba = new System.Windows.Forms.Button();
txt_ConRebaba = new System.Windows.Forms.TextBox();
bttn_QuitarConRebaba = new System.Windows.Forms.Button();
bttn_AgregarConRebaba = new System.Windows.Forms.Button();
txt_ProdElabCant = new System.Windows.Forms.TextBox();
bttn_QuitarProdElab = new System.Windows.Forms.Button();
bttn_AgregarProdElab = new System.Windows.Forms.Button();
groupBox4 = new System.Windows.Forms.GroupBox();
data_ListaSinRebaba = new System.Windows.Forms.DataGridView();
Id_MateriaPrimaPp = new System.Windows.Forms.DataGridViewTextBoxColumn();
Nombre_p = new System.Windows.Forms.DataGridViewTextBoxColumn();
Cantidadp = new System.Windows.Forms.DataGridViewTextBoxColumn();
groupBox3 = new System.Windows.Forms.GroupBox();
data_SinRebaba = new System.Windows.Forms.DataGridView();
groupBox5 = new System.Windows.Forms.GroupBox();
data_ListaConRebaba = new System.Windows.Forms.DataGridView();
Id_MateriaPrimam = new System.Windows.Forms.DataGridViewTextBoxColumn();
Id_TipoPiezam = new System.Windows.Forms.DataGridViewTextBoxColumn();
Lote = new System.Windows.Forms.DataGridViewTextBoxColumn();
Nombre_m = new System.Windows.Forms.DataGridViewTextBoxColumn();
Tipo_Pieza = new System.Windows.Forms.DataGridViewTextBoxColumn();
Cantidadm = new System.Windows.Forms.DataGridViewTextBoxColumn();
groupBox2 = new System.Windows.Forms.GroupBox();
data_ConRebaba = new System.Windows.Forms.DataGridView();
groupBox6 = new System.Windows.Forms.GroupBox();
data_ListaProdElab = new System.Windows.Forms.DataGridView();
Id_ProductoElaboradoe = new System.Windows.Forms.DataGridViewTextBoxColumn();
Nombree = new System.Windows.Forms.DataGridViewTextBoxColumn();
Cantidade = new System.Windows.Forms.DataGridViewTextBoxColumn();
groupBox1 = new System.Windows.Forms.GroupBox();
data_ProdElaborado = new System.Windows.Forms.DataGridView();
errorProvider1 = new System.Windows.Forms.ErrorProvider(components);
Id_MateriaPrimaP = new System.Windows.Forms.DataGridViewTextBoxColumn();
Nombrep = new System.Windows.Forms.DataGridViewTextBoxColumn();
Fotop = new System.Windows.Forms.DataGridViewImageColumn();
Id_MateriaPrima = new System.Windows.Forms.DataGridViewTextBoxColumn();
Id_TipoPieza = new System.Windows.Forms.DataGridViewTextBoxColumn();
Nombrem = new System.Windows.Forms.DataGridViewTextBoxColumn();
TipoPieza = new System.Windows.Forms.DataGridViewTextBoxColumn();
Lotem = new System.Windows.Forms.DataGridViewTextBoxColumn();
Fotom = new System.Windows.Forms.DataGridViewImageColumn();
Id_ProductoElaborado = new System.Windows.Forms.DataGridViewTextBoxColumn();
Foto = new System.Windows.Forms.DataGridViewImageColumn();
NombrePE = new System.Windows.Forms.DataGridViewTextBoxColumn();
menuStrip1.SuspendLayout();
panel_Ingredientes.SuspendLayout();
groupBox4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(data_ListaSinRebaba)).BeginInit();
groupBox3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(data_SinRebaba)).BeginInit();
groupBox5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(data_ListaConRebaba)).BeginInit();
groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(data_ConRebaba)).BeginInit();
groupBox6.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(data_ListaProdElab)).BeginInit();
groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(data_ProdElaborado)).BeginInit();
((System.ComponentModel.ISupportInitialize)(errorProvider1)).BeginInit();
SuspendLayout();
//
// menuStrip1
//
menuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(186)))), ((int)(((byte)(82)))));
menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
archivoToolStripMenuItem,
editarToolStripMenuItem,
presentaciónToolStripMenuItem,
ayudaToolStripMenuItem});
menuStrip1.Location = new System.Drawing.Point(0, 0);
menuStrip1.Name = "menuStrip1";
menuStrip1.Size = new System.Drawing.Size(788, 24);
//.........这里部分代码省略.........