本文整理汇总了C#中System.Windows.Forms.Panel.PerformLayout方法的典型用法代码示例。如果您正苦于以下问题:C# Panel.PerformLayout方法的具体用法?C# Panel.PerformLayout怎么用?C# Panel.PerformLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Forms.Panel
的用法示例。
在下文中一共展示了Panel.PerformLayout方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AutoCompleteTextbox
/// <summary>
/// Constructor
/// </summary>
public AutoCompleteTextbox()
: base()
{
entireList = new List<string>();
matchingList = new List<string>();
lboxSuggestions = new ListBox();
lboxSuggestions.Name = "SuggestionListBox";
lboxSuggestions.Font = this.Font;
lboxSuggestions.Visible = true;
lboxSuggestions.Dock = DockStyle.Fill;// make the listbox fill the panel
lboxSuggestions.SelectionMode = SelectionMode.One;
lboxSuggestions.KeyDown += new KeyEventHandler(listBox_KeyDown);
lboxSuggestions.MouseClick += new MouseEventHandler(listBox_MouseClick);
lboxSuggestions.DataSource = matchingList;// Bind matchingList as DataSource to the listbox
this.GotFocus += new EventHandler(AutoCompleteTextbox_GotFocus);
//Will hold listbox
panel = new Panel();
panel.Visible = false;
panel.Font = this.Font;
panel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
panel.ClientSize = new System.Drawing.Size(1, 1);
panel.Name = "SuggestionPanel";
panel.Padding = new System.Windows.Forms.Padding(0, 0, 0, 0);
panel.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0);
panel.Text = "";
panel.PerformLayout();
if (!panel.Controls.Contains(lboxSuggestions)) { this.panel.Controls.Add(lboxSuggestions); }
}
示例2: AutoCompleteTextbox
// the constructor
public AutoCompleteTextbox()
{
MinTypedCharacters = 2;
AutoCompleteList = new List<TextEntry>();
_listBox = new ListBox
{
Name = "SuggestionListBox",
Font = Font,
Visible = true
};
MaxDropDownItems = 16;
RowHeight = GetStringHeight("H");
_panel = new Panel
{
Visible = false,
AutoSizeMode = AutoSizeMode.GrowAndShrink,
ClientSize = new Size(1, 1),
Name = "SuggestionPanel",
Padding = new Padding(0, 0, 0, 0),
Margin = new Padding(0, 0, 0, 0),
BackColor = Color.Transparent,
ForeColor = Color.Transparent,
Text = ""
};
_panel.PerformLayout();
if (!_panel.Controls.Contains(_listBox))
{
_panel.Controls.Add(_listBox);
}
_listBox.Dock = DockStyle.Fill;
_listBox.SelectionMode = SelectionMode.One;
_listBox.KeyDown += ListBoxKeyDown;
_listBox.MouseClick += ListBoxMouseClick;
_listBox.MouseDoubleClick += ListBoxMouseDoubleClick;
CurrentAutoCompleteList = new List<string>();
_listBox.DataSource = CurrentAutoCompleteList;
_oldText = Text;
}
示例3: CreateResultTab_v2
private void CreateResultTab_v2()
{
//pan_tab_result1 = new Panel();
//pan_tab_result1.SuspendLayout();
//pan_tab_result1.Dock = DockStyle.Fill;
//pan_tab_result1.BackColor = Color.Aqua;
////pan_tab_result1.Visible = false;
//pan_tab_result1.ResumeLayout(false);
//pan_tab_result2 = new Panel();
//pan_tab_result2.SuspendLayout();
//pan_tab_result2.Dock = DockStyle.Fill;
//pan_tab_result2.BackColor = Color.Beige;
////pan_tab_result2.Visible = false;
//pan_tab_result2.ResumeLayout(false);
//SystemColors.Control
pan_tab_result1 = CreatePanel(DockStyle.Fill); // Color.Aqua
pan_tab_result2 = CreatePanel(DockStyle.Fill); // Color.Beige
pan_tab_result3 = CreatePanel(DockStyle.Fill); // Color.AliceBlue
pan_tab_result4 = CreatePanel(DockStyle.Fill); // Color.AntiqueWhite
pan_tab_result5 = CreatePanel(DockStyle.Fill); // Color.BlueViolet
pan_result_v2 = new Panel();
pan_result_v2.SuspendLayout();
pan_result_v2.Dock = DockStyle.Fill;
//pan_result_v2.BackColor = SystemColors.ControlDark;
pan_result_v2.BackColor = Color.Transparent;
pan_result_v2.Controls.Add(pan_tab_result1);
pan_result_v2.Controls.Add(pan_tab_result2);
pan_result_v2.Controls.Add(pan_tab_result3);
pan_result_v2.Controls.Add(pan_tab_result4);
pan_result_v2.Controls.Add(pan_tab_result5);
//this.Controls.Add(pan_result_v2);
pan_result_v2.ResumeLayout(false);
pan_result_v2.PerformLayout();
ActivePanResult(1);
}
示例4: Main
//.........这里部分代码省略.........
textBoxOutput.ReadOnly = true;
textBoxOutput.Size = new Size(363, 150);
textBoxOutput.TabIndex = 1;
//
// statusStrip1
//
statusStrip.Items.AddRange(new ToolStripItem[] {statusLabel});
statusStrip.Location = new Point(0, 238);
statusStrip.Name = "statusStrip1";
statusStrip.Size = new Size(363, 22);
statusStrip.TabIndex = 2;
statusStrip.Text = "statusStrip1";
//
// toolStripStatusLabel1
//
statusLabel.Name = "toolStripStatusLabel1";
statusLabel.Size = new Size(29, 17);
statusLabel.Spring = true;
statusLabel.TextAlign = ContentAlignment.MiddleLeft;
//
// Form1
//
form.AutoScaleDimensions = new SizeF(6F, 12F);
form.AutoScaleMode = AutoScaleMode.Font;
form.ClientSize = new Size(363, 260);
form.Controls.Add(statusStrip);
form.Controls.Add(panelFill);
form.Controls.Add(flowLayoutPanelTop);
form.Name = "Form1";
form.Text = "二进制打印";
form.StartPosition = FormStartPosition.CenterScreen;
form.ImeMode = ImeMode.On;
flowLayoutPanelTop.ResumeLayout(false);
flowLayoutPanelTop.PerformLayout();
panelFill.ResumeLayout(false);
panelFill.PerformLayout();
statusStrip.ResumeLayout(false);
statusStrip.PerformLayout();
form.ResumeLayout(false);
form.PerformLayout();
}
radioButtonText.Click += (o, e) =>
{
textBoxInput.Text = "";
textBoxOutput.Text = "";
var commonUse = new List<string>();
commonUse.Add(Encoding.Unicode.WebName);
commonUse.Add(Encoding.UTF8.WebName);
commonUse.Add(Encoding.Default.WebName);
commonUse.Add(Encoding.UTF7.WebName);
commonUse.Add(Encoding.UTF32.WebName);
var fullList = Encoding.GetEncodings().Select(i=>i.GetEncoding().WebName);
comboBox.DataSource = commonUse.Concat(fullList.Except(commonUse)).ToArray();
};
radioButtonNumber.Click += (o, e) =>
{
textBoxInput.Text = "";
textBoxOutput.Text = "";
comboBox.DataSource = new string[] { "unsigned oct", "signed oct", "hex", };
};
示例5: InitializeComponent
//.........这里部分代码省略.........
//
// ttpMainToolTip
//
ttpMainToolTip.AutoPopDelay = 5000;
ttpMainToolTip.InitialDelay = 0;
ttpMainToolTip.ReshowDelay = 0;
//
// tsrMainToolStrip
//
tsrMainToolStrip.AmmeteringEnabled = true;
tsrMainToolStrip.AmmeteringVisible = true;
tsrMainToolStrip.AutoSize = false;
tsrMainToolStrip.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
tsrMainToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
tsrMainToolStrip.IdentifyEnabled = true;
tsrMainToolStrip.IdentifyVisible = true;
tsrMainToolStrip.Location = new System.Drawing.Point(0, 0);
tsrMainToolStrip.Name = "tsrMainToolStrip";
tsrMainToolStrip.Nickname = "Nickname";
tsrMainToolStrip.OpenEnabled = true;
tsrMainToolStrip.OpenVisible = true;
tsrMainToolStrip.ResetEnabled = true;
tsrMainToolStrip.ResetVisible = true;
tsrMainToolStrip.SaveEnabled = true;
tsrMainToolStrip.SaveVisible = true;
tsrMainToolStrip.Size = new System.Drawing.Size(996, 31);
tsrMainToolStrip.SwitchEnabled = true;
tsrMainToolStrip.SwitchVisible = true;
tsrMainToolStrip.TabIndex = 30;
tsrMainToolStrip.Text = "applicationToolStrip1";
tsrMainToolStrip.VoltageEnabled = true;
tsrMainToolStrip.VoltageVisible = true;
tsrMainToolStrip.AmmeteringRequested += new System.EventHandler(tsrMainToolStrip_AmmeteringRequested);
tsrMainToolStrip.IdentifyRequested += new System.EventHandler(tsrMainToolStrip_IdentifyRequested);
tsrMainToolStrip.OpenRequested += new System.EventHandler(tsrMainToolStrip_OpenRequested);
tsrMainToolStrip.ResetRequested += new System.EventHandler(tsrMainToolStrip_ResetRequested);
tsrMainToolStrip.SaveRequested += new System.EventHandler(tsrMainToolStrip_SaveRequested);
tsrMainToolStrip.SetVoltageRequested += new NewWDS.Applications.App_Common.AppToolStrip.ApplicationToolStrip.SetVoltageEventHandler(tsrMainToolStrip_SetVoltageRequested);
tsrMainToolStrip.SwitchMouseEnterRequested += new System.EventHandler(tsrMainToolStrip_SwitchMouseEnterRequested);
tsrMainToolStrip.SwitchRequested += new System.EventHandler(tsrMainToolStrip_SwitchRequested);
//
// AppWin_SPITool_PRO
//
AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
ClientSize = new System.Drawing.Size(996, 682);
Controls.Add(tsrMainToolStrip);
Controls.Add(spiStatusBar);
Controls.Add(spcMainContainer);
Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
MaximizeBox = false;
Name = "AppWin_SPITool_PRO";
ShowIcon = false;
Text = "Si4XXX Register Setting Panel";
FormClosing += new System.Windows.Forms.FormClosingEventHandler(formClosingEventHandler);
Load += new System.EventHandler(SPI_Form_Load);
grbRegisterFilter.ResumeLayout(false);
grbRegisterFilter.PerformLayout();
((System.ComponentModel.ISupportInitialize)(dgvRegisterList)).EndInit();
groupBox1.ResumeLayout(false);
groupBox1.PerformLayout();
spcMainContainer.Panel1.ResumeLayout(false);
spcMainContainer.Panel2.ResumeLayout(false);
spcMainContainer.Panel2.PerformLayout();
spcMainContainer.ResumeLayout(false);
grbLog.ResumeLayout(false);
grbLog.PerformLayout();
tbcMain.ResumeLayout(false);
tabPage4.ResumeLayout(false);
grbBatch.ResumeLayout(false);
pnlBatchMain.ResumeLayout(false);
pnlBatch4.ResumeLayout(false);
pnlBatch4.PerformLayout();
pnlBatch3.ResumeLayout(false);
pnlBatch3.PerformLayout();
pnlBatch2.ResumeLayout(false);
pnlBatch2.PerformLayout();
pnlBatch1.ResumeLayout(false);
pnlBatch1.PerformLayout();
vrbViewBatch.ResumeLayout(false);
vrbViewBatch.PerformLayout();
grbSaveLoad.ResumeLayout(false);
grbSaveLoad.PerformLayout();
grbLoopControl.ResumeLayout(false);
grbLoopControl.PerformLayout();
((System.ComponentModel.ISupportInitialize)(nudLoopLimit)).EndInit();
tbpFIFO.ResumeLayout(false);
pnlBerPer.ResumeLayout(false);
pnlBerPer.PerformLayout();
pnlRXFIFO.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(dgvRX)).EndInit();
pnlTXFIFO.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(dgvTX)).EndInit();
tbpDescription.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(statusBarPanel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(sbChipRevPane)).EndInit();
((System.ComponentModel.ISupportInitialize)(sbDeviceStatePane)).EndInit();
((System.ComponentModel.ISupportInitialize)(statusBarPanel4)).EndInit();
ResumeLayout(false);
}
示例6: InitializeComponent
//.........这里部分代码省略.........
lblMeasuring.TabIndex = 1;
lblMeasuring.Text = "Measuring:";
lblMeasuring.TextAlign = ContentAlignment.MiddleLeft;
lblMeasuring.MouseLeave += new EventHandler(control_MouseLeave);
lblMeasuring.MouseEnter += new EventHandler(control_MouseEnter);
tmrTempMeasStart.Interval = 0x3e8;
pnlAdcLowPower.AutoSize = true;
pnlAdcLowPower.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
pnlAdcLowPower.Controls.Add(rBtnAdcLowPowerOff);
pnlAdcLowPower.Controls.Add(rBtnAdcLowPowerOn);
pnlAdcLowPower.Location = new Point(0x2b6, 0x1d3);
pnlAdcLowPower.Name = "pnlAdcLowPower";
pnlAdcLowPower.Size = new Size(0x66, 0x17);
pnlAdcLowPower.TabIndex = 3;
pnlAdcLowPower.Visible = false;
pnlAdcLowPower.MouseLeave += new EventHandler(control_MouseLeave);
pnlAdcLowPower.MouseEnter += new EventHandler(control_MouseEnter);
rBtnAdcLowPowerOff.AutoSize = true;
rBtnAdcLowPowerOff.Location = new Point(0x36, 3);
rBtnAdcLowPowerOff.Name = "rBtnAdcLowPowerOff";
rBtnAdcLowPowerOff.Size = new Size(0x2d, 0x11);
rBtnAdcLowPowerOff.TabIndex = 1;
rBtnAdcLowPowerOff.Text = "OFF";
rBtnAdcLowPowerOff.UseVisualStyleBackColor = true;
rBtnAdcLowPowerOff.MouseLeave += new EventHandler(control_MouseLeave);
rBtnAdcLowPowerOff.MouseEnter += new EventHandler(control_MouseEnter);
rBtnAdcLowPowerOff.CheckedChanged += new EventHandler(rBtnAdcLowPower_CheckedChanged);
rBtnAdcLowPowerOn.AutoSize = true;
rBtnAdcLowPowerOn.Checked = true;
rBtnAdcLowPowerOn.Location = new Point(3, 3);
rBtnAdcLowPowerOn.Name = "rBtnAdcLowPowerOn";
rBtnAdcLowPowerOn.Size = new Size(0x29, 0x11);
rBtnAdcLowPowerOn.TabIndex = 0;
rBtnAdcLowPowerOn.TabStop = true;
rBtnAdcLowPowerOn.Text = "ON";
rBtnAdcLowPowerOn.UseVisualStyleBackColor = true;
rBtnAdcLowPowerOn.MouseLeave += new EventHandler(control_MouseLeave);
rBtnAdcLowPowerOn.MouseEnter += new EventHandler(control_MouseEnter);
rBtnAdcLowPowerOn.CheckedChanged += new EventHandler(rBtnAdcLowPower_CheckedChanged);
label3.AutoSize = true;
label3.Location = new Point(0x25a, 0x1d8);
label3.Name = "label3";
label3.Size = new Size(0x53, 13);
label3.TabIndex = 2;
label3.Text = "ADC low power:";
label3.TextAlign = ContentAlignment.MiddleLeft;
label3.Visible = false;
label3.MouseLeave += new EventHandler(control_MouseLeave);
label3.MouseEnter += new EventHandler(control_MouseEnter);
panel1.Controls.Add(btnCalibrate);
panel1.Controls.Add(lblMeasuring);
panel1.Controls.Add(ledTempMeasRunning);
panel1.Location = new Point(0x145, 0x1bb);
panel1.Name = "panel1";
panel1.Size = new Size(0x94, 0x2f);
panel1.TabIndex = 1;
panel1.MouseLeave += new EventHandler(control_MouseLeave);
panel1.MouseEnter += new EventHandler(control_MouseEnter);
thermometerCtrl.BackColor = Color.Transparent;
thermometerCtrl.DrawTics = true;
thermometerCtrl.Enabled = false;
thermometerCtrl.ForeColor = Color.Red;
thermometerCtrl.LargeTicFreq = 10;
thermometerCtrl.Location = new Point(0x145, 3);
thermometerCtrl.Name = "thermometerCtrl";
thermometerCtrl.Range.Max = 90.0;
thermometerCtrl.Range.Min = -40.0;
thermometerCtrl.Size = new Size(0x94, 0x1b2);
thermometerCtrl.SmallTicFreq = 5;
thermometerCtrl.TabIndex = 0;
thermometerCtrl.Text = "Thermometer";
thermometerCtrl.Value = 25.0;
thermometerCtrl.MouseLeave += new EventHandler(control_MouseLeave);
thermometerCtrl.MouseEnter += new EventHandler(control_MouseEnter);
ledTempMeasRunning.BackColor = Color.Transparent;
ledTempMeasRunning.LedColor = Color.Green;
ledTempMeasRunning.LedSize = new Size(11, 11);
ledTempMeasRunning.Location = new Point(0x63, 0x1d);
ledTempMeasRunning.Name = "ledTempMeasRunning";
ledTempMeasRunning.Size = new Size(15, 15);
ledTempMeasRunning.TabIndex = 2;
ledTempMeasRunning.Text = "Measuring";
ledTempMeasRunning.MouseLeave += new EventHandler(control_MouseLeave);
ledTempMeasRunning.MouseEnter += new EventHandler(control_MouseEnter);
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
base.Controls.Add(thermometerCtrl);
base.Controls.Add(pnlAdcLowPower);
base.Controls.Add(panel1);
base.Controls.Add(label3);
base.Name = "TemperatureViewControl";
base.Size = new Size(0x31f, 0x1ed);
((ISupportInitialize)errorProvider).EndInit();
pnlAdcLowPower.ResumeLayout(false);
pnlAdcLowPower.PerformLayout();
panel1.ResumeLayout(false);
panel1.PerformLayout();
base.ResumeLayout(false);
base.PerformLayout();
}
示例7: InitializeComponent
//.........这里部分代码省略.........
panel11.Name = "panel11";
panel11.Size = new Size(0x5d, 0x11);
panel11.TabIndex = 4;
rBtnDagcOff.AutoSize = true;
rBtnDagcOff.Location = new Point(0x2d, 0);
rBtnDagcOff.Margin = new Padding(3, 0, 3, 0);
rBtnDagcOff.Name = "rBtnDagcOff";
rBtnDagcOff.Size = new Size(0x2d, 0x11);
rBtnDagcOff.TabIndex = 1;
rBtnDagcOff.Text = "OFF";
rBtnDagcOff.UseVisualStyleBackColor = true;
rBtnDagcOff.CheckedChanged += new EventHandler(rBtnDagc_CheckedChanged);
rBtnDagcOn.AutoSize = true;
rBtnDagcOn.Checked = true;
rBtnDagcOn.Location = new Point(3, 0);
rBtnDagcOn.Margin = new Padding(3, 0, 3, 0);
rBtnDagcOn.Name = "rBtnDagcOn";
rBtnDagcOn.Size = new Size(0x29, 0x11);
rBtnDagcOn.TabIndex = 0;
rBtnDagcOn.TabStop = true;
rBtnDagcOn.Text = "ON";
rBtnDagcOn.UseVisualStyleBackColor = true;
rBtnDagcOn.CheckedChanged += new EventHandler(rBtnDagc_CheckedChanged);
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
base.Controls.Add(gBoxDagc);
base.Controls.Add(gBoxLnaSensitivity);
base.Controls.Add(gBoxAgc);
base.Controls.Add(gBoxRssi);
base.Controls.Add(gBoxAfcFei);
base.Controls.Add(gBoxOok);
base.Controls.Add(gBoxAfcBw);
base.Controls.Add(gBoxRxBw);
base.Controls.Add(gBoxLna);
base.Name = "ReceiverViewControl";
base.Size = new Size(0x31f, 0x1ed);
((ISupportInitialize)errorProvider).EndInit();
panel3.ResumeLayout(false);
panel3.PerformLayout();
panel4.ResumeLayout(false);
panel4.PerformLayout();
pnlSensitivityBoost.ResumeLayout(false);
pnlSensitivityBoost.PerformLayout();
gBoxLnaSensitivity.ResumeLayout(false);
gBoxLnaSensitivity.PerformLayout();
gBoxAgc.ResumeLayout(false);
gBoxAgc.PerformLayout();
panel2.ResumeLayout(false);
panel2.PerformLayout();
nudAgcStep5.EndInit();
nudAgcSnrMargin.EndInit();
nudAgcStep4.EndInit();
nudAgcRefLevel.EndInit();
nudAgcStep3.EndInit();
nudAgcStep1.EndInit();
nudAgcStep2.EndInit();
gBoxRssi.ResumeLayout(false);
gBoxRssi.PerformLayout();
pnlRssiPhase.ResumeLayout(false);
pnlRssiPhase.PerformLayout();
panel7.ResumeLayout(false);
panel7.PerformLayout();
nudRssiThresh.EndInit();
panel1.ResumeLayout(false);
panel1.PerformLayout();
nudTimeoutRxStart.EndInit();
nudTimeoutRssiThresh.EndInit();
gBoxAfcFei.ResumeLayout(false);
gBoxAfcFei.PerformLayout();
nudLowBetaAfcOffset.EndInit();
pnlAfcLowBeta.ResumeLayout(false);
pnlAfcLowBeta.PerformLayout();
panel8.ResumeLayout(false);
panel8.PerformLayout();
panel9.ResumeLayout(false);
panel9.PerformLayout();
gBoxOok.ResumeLayout(false);
gBoxOok.PerformLayout();
nudOokPeakThreshStep.EndInit();
nudOokFixedThresh.EndInit();
gBoxAfcBw.ResumeLayout(false);
gBoxAfcBw.PerformLayout();
nudAfcDccFreq.EndInit();
nudRxFilterBwAfc.EndInit();
gBoxRxBw.ResumeLayout(false);
gBoxRxBw.PerformLayout();
nudDccFreq.EndInit();
nudRxFilterBw.EndInit();
gBoxLna.ResumeLayout(false);
gBoxLna.PerformLayout();
panel5.ResumeLayout(false);
panel5.PerformLayout();
panel6.ResumeLayout(false);
panel6.PerformLayout();
gBoxDagc.ResumeLayout(false);
gBoxDagc.PerformLayout();
panel11.ResumeLayout(false);
panel11.PerformLayout();
base.ResumeLayout(false);
}
示例8: SuspendLayout
//.........这里部分代码省略.........
Id_MateriaPrima.Name = "Id_MateriaPrima";
Id_MateriaPrima.Visible = false;
//
// Id_TipoPieza
//
Id_TipoPieza.HeaderText = "Id_TipoPieza";
Id_TipoPieza.Name = "Id_TipoPieza";
Id_TipoPieza.Visible = false;
//
// Nombrem
//
Nombrem.HeaderText = "Nombre";
Nombrem.Name = "Nombrem";
//
// TipoPieza
//
TipoPieza.HeaderText = "Tipo pieza";
TipoPieza.Name = "TipoPieza";
//
// Lotem
//
Lotem.HeaderText = "Lote";
Lotem.Name = "Lotem";
//
// Fotom
//
Fotom.HeaderText = "Foto";
Fotom.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Stretch;
Fotom.MinimumWidth = 50;
Fotom.Name = "Fotom";
Fotom.Resizable = System.Windows.Forms.DataGridViewTriState.True;
Fotom.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
Fotom.Visible = false;
//
// Id_ProductoElaborado
//
Id_ProductoElaborado.HeaderText = "Id_ProductoElaborado";
Id_ProductoElaborado.Name = "Id_ProductoElaborado";
Id_ProductoElaborado.Visible = false;
//
// Foto
//
Foto.HeaderText = "Foto";
Foto.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Stretch;
Foto.MinimumWidth = 50;
Foto.Name = "Foto";
Foto.Resizable = System.Windows.Forms.DataGridViewTriState.True;
Foto.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
Foto.Visible = false;
//
// NombrePE
//
NombrePE.HeaderText = "Nombre";
NombrePE.Name = "NombrePE";
//
// pic_Logo
//
pic_Logo.BackgroundImage = global::Shajobe.Properties.Resources.Logo_Shajobe;
pic_Logo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
pic_Logo.Location = new System.Drawing.Point(90, 250);
pic_Logo.Name = "pic_Logo";
pic_Logo.Size = new System.Drawing.Size(156, 74);
pic_Logo.TabIndex = 13;
pic_Logo.TabStop = false;
//
// Ingredientes_Empaques
//
AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196)))));
ClientSize = new System.Drawing.Size(788, 630);
Controls.Add(panel_Ingredientes);
Controls.Add(menuStrip1);
MaximizeBox = false;
Name = "Ingredientes_Empaques";
Text = "Ingredientes empaques";
Icon = global::Shajobe.Properties.Resources.Indirecto_ICO;
Load += new System.EventHandler(Ingredientes_Empaques_Load);
menuStrip1.ResumeLayout(false);
menuStrip1.PerformLayout();
panel_Ingredientes.ResumeLayout(false);
panel_Ingredientes.PerformLayout();
groupBox4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(data_ListaSinRebaba)).EndInit();
groupBox3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(data_SinRebaba)).EndInit();
groupBox5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(data_ListaConRebaba)).EndInit();
groupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(data_ConRebaba)).EndInit();
groupBox6.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(data_ListaProdElab)).EndInit();
groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(data_ProdElaborado)).EndInit();
((System.ComponentModel.ISupportInitialize)(errorProvider1)).EndInit();
AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER);
AnimateWindow(Handle, 350, AnimateWindowFlags.AW_CENTER | AnimateWindowFlags.AW_SLIDE);
ResumeLayout(false);
PerformLayout();
}
示例9: addGateMonitors
//.........这里部分代码省略.........
pictureBox10.Location = new System.Drawing.Point(2, 202);
pictureBox10.Name = "pictureBox" + (i + 1).ToString() + "0";
pictureBox10.Size = new System.Drawing.Size(32, 32);
pictureBox10.TabIndex = 300 + i;
pictureBox10.TabStop = false;
//
// pictureBox11
//
pictureBox11.BackColor = System.Drawing.Color.Transparent;
pictureBox11.Image = global::zhuhai.Properties.Resources.wuchatiaojie;
pictureBox11.Location = new System.Drawing.Point(35, 202);
pictureBox11.Name = "pictureBox" + (i + 1).ToString() + "1";
pictureBox11.Size = new System.Drawing.Size(32, 32);
pictureBox11.TabIndex = 400 + i;
pictureBox11.TabStop = false;
//
// label10
//
label10.AutoSize = true;
label10.BackColor = System.Drawing.Color.Transparent;
label10.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
label10.ForeColor = System.Drawing.Color.White;
label10.Location = new System.Drawing.Point(69, 213);
label10.Name = "label" + (i + 1).ToString() + "0";
label10.Size = new System.Drawing.Size(22, 14);
label10.TabIndex = 500 + i;
label10.Text = "核";
//
// label11
//
label11.AutoSize = true;
label11.BackColor = System.Drawing.Color.Transparent;
label11.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
label11.ForeColor = System.Drawing.Color.White;
label11.Location = new System.Drawing.Point(142, 213);
label11.Name = "label" + (i + 1).ToString() + "1";
label11.Size = new System.Drawing.Size(22, 14);
label11.TabIndex = 600 + i;
label11.Text = "温";
//
// label12
//
label12.BackColor = System.Drawing.Color.Transparent;
label12.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
label12.ForeColor = System.Drawing.Color.White;
label12.Location = new System.Drawing.Point(90, 212);
label12.Margin = new System.Windows.Forms.Padding(0);
label12.Name = "label" + (i + 1).ToString() + "2";
label12.Size = new System.Drawing.Size(52, 16);
label12.TabIndex = 700 + i;
label12.Text = "250.0";
label12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label13
//
label13.BackColor = System.Drawing.Color.Transparent;
label13.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
label13.ForeColor = System.Drawing.Color.White;
label13.Location = new System.Drawing.Point(165, 212);
label13.Margin = new System.Windows.Forms.Padding(0);
label13.Name = "label" + (i + 1).ToString() + "3";
label13.Size = new System.Drawing.Size(48, 16);
label13.TabIndex = 800 + i;
label13.Text = "38.0";
label13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label14
//
label14.BackColor = System.Drawing.Color.Transparent;
label14.Font = new System.Drawing.Font("宋体", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
label14.ForeColor = System.Drawing.Color.Blue;
label14.Location = new System.Drawing.Point(3, 20);
label14.Name = "label" + (i + 1).ToString() + "4";
label14.Size = new System.Drawing.Size(194, 105);
label14.TabIndex = 900 + i;
label14.Text = (i + 1).ToString(); ;
label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
label14.Click += new System.EventHandler(this.label14_click);
//
// pictureBox12
//
pictureBox12.BackColor = System.Drawing.Color.Transparent;
pictureBox12.Image = global::zhuhai.Properties.Resources.baojingdeng;
pictureBox12.Location = new System.Drawing.Point(125, 130);
pictureBox12.Name = "pictureBox" + (i + 1).ToString() + "2";
pictureBox12.Visible = false;
pictureBox12.Size = new System.Drawing.Size(72, 66);
pictureBox12.TabIndex = 1000 + i;
pictureBox12.TabStop = false;
panel1.ResumeLayout(false);
panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(pictureBox12)).EndInit();
((System.ComponentModel.ISupportInitialize)(pictureBox11)).EndInit();
((System.ComponentModel.ISupportInitialize)(pictureBox10)).EndInit();
monitorPanels.Add(panel1);
}
}
示例10: InitializeComponent
//.........这里部分代码省略.........
cmdLoadCustom.Anchor = (((AnchorStyles.Top | AnchorStyles.Right)));
cmdLoadCustom.Location = new Point(314, 196);
cmdLoadCustom.Name = "cmdLoadCustom";
cmdLoadCustom.Size = new Size(75, 23);
cmdLoadCustom.TabIndex = 549;
cmdLoadCustom.Text = "Custom";
cmdLoadCustom.UseVisualStyleBackColor = true;
cmdLoadCustom.Click += cmdLoadCustom_Click;
//
// cmdSave
//
cmdSave.Anchor = (((AnchorStyles.Bottom | AnchorStyles.Right)));
cmdSave.Enabled = false;
cmdSave.Location = new Point(233, 399);
cmdSave.Name = "cmdSave";
cmdSave.Size = new Size(75, 23);
cmdSave.TabIndex = 550;
cmdSave.Text = "Save";
cmdSave.UseVisualStyleBackColor = true;
cmdSave.Click += cmdSave_Click;
//
// cmdExit
//
cmdExit.Anchor = (((AnchorStyles.Bottom | AnchorStyles.Right)));
cmdExit.Location = new Point(314, 399);
cmdExit.Name = "cmdExit";
cmdExit.Size = new Size(75, 23);
cmdExit.TabIndex = 551;
cmdExit.Text = "Exit";
cmdExit.UseVisualStyleBackColor = true;
cmdExit.Click += cmdExit_Click;
//
// label21
//
label21.Anchor = (((AnchorStyles.Top | AnchorStyles.Right)));
label21.AutoSize = true;
label21.Location = new Point(311, 178);
label21.Name = "label21";
label21.Size = new Size(79, 13);
label21.TabIndex = 552;
label21.Text = "Load ICON Set";
label21.Visible = false;
//
// iMONLCDg_IconEdit
//
AutoScaleDimensions = new SizeF(6F, 13F);
ClientSize = new Size(392, 424);
Controls.Add(label21);
Controls.Add(cmdExit);
Controls.Add(cmdSave);
Controls.Add(cmdLoadCustom);
Controls.Add(cmdLoadInternal);
Controls.Add(panel1);
Controls.Add(label16);
Controls.Add(label17);
Controls.Add(label18);
Controls.Add(label19);
Controls.Add(label20);
Controls.Add(label11);
Controls.Add(label12);
Controls.Add(label13);
Controls.Add(label14);
Controls.Add(label15);
Controls.Add(label6);
Controls.Add(label7);
Controls.Add(label8);
Controls.Add(label9);
Controls.Add(label10);
Controls.Add(label5);
Controls.Add(label3);
Controls.Add(label4);
Controls.Add(label2);
Controls.Add(label1);
Controls.Add(Icon9);
Controls.Add(Icon8);
Controls.Add(Icon7);
Controls.Add(Icon6);
Controls.Add(Icon5);
Controls.Add(Icon4);
Controls.Add(Icon3);
Controls.Add(Icon2);
Controls.Add(Icon1);
Controls.Add(Icon0);
Name = "iMONLCDg_IconEdit";
Text = "iMONLCDg_IconEdit";
((ISupportInitialize)(Icon0)).EndInit();
((ISupportInitialize)(Icon1)).EndInit();
((ISupportInitialize)(Icon2)).EndInit();
((ISupportInitialize)(Icon3)).EndInit();
((ISupportInitialize)(Icon4)).EndInit();
((ISupportInitialize)(Icon9)).EndInit();
((ISupportInitialize)(Icon8)).EndInit();
((ISupportInitialize)(Icon7)).EndInit();
((ISupportInitialize)(Icon6)).EndInit();
((ISupportInitialize)(Icon5)).EndInit();
panel1.ResumeLayout(false);
panel1.PerformLayout();
ResumeLayout(false);
PerformLayout();
}
示例11: InitializeComponent
//.........这里部分代码省略.........
ledPacketCrc.TabIndex = 1;
ledPacketCrc.Text = "CRC";
ledPacketCrc.Visible = false;
lblPacketCrc.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
lblPacketCrc.Location = new Point(0, 0);
lblPacketCrc.Margin = new Padding(0);
lblPacketCrc.Name = "lblPacketCrc";
lblPacketCrc.Size = new Size(0x33, 20);
lblPacketCrc.TabIndex = 0;
lblPacketCrc.Text = "XX-XX";
lblPacketCrc.TextAlign = ContentAlignment.MiddleCenter;
pnlPacketAddr.Controls.Add(lblPacketAddr);
pnlPacketAddr.Location = new Point(0x141, 0x16);
pnlPacketAddr.Margin = new Padding(0);
pnlPacketAddr.Name = "pnlPacketAddr";
pnlPacketAddr.Size = new Size(0x57, 20);
pnlPacketAddr.TabIndex = 11;
lblPacketAddr.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
lblPacketAddr.Location = new Point(0, 0);
lblPacketAddr.Margin = new Padding(0);
lblPacketAddr.Name = "lblPacketAddr";
lblPacketAddr.Size = new Size(0x57, 20);
lblPacketAddr.TabIndex = 0;
lblPacketAddr.Text = "00";
lblPacketAddr.TextAlign = ContentAlignment.MiddleCenter;
lblPacketLength.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
lblPacketLength.Location = new Point(0x105, 0x16);
lblPacketLength.Margin = new Padding(0);
lblPacketLength.Name = "lblPacketLength";
lblPacketLength.Size = new Size(0x3b, 20);
lblPacketLength.TabIndex = 8;
lblPacketLength.Text = "00";
lblPacketLength.TextAlign = ContentAlignment.MiddleCenter;
lblPacketSyncValue.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
lblPacketSyncValue.Location = new Point(0x6c, 0x16);
lblPacketSyncValue.Margin = new Padding(0);
lblPacketSyncValue.Name = "lblPacketSyncValue";
lblPacketSyncValue.Size = new Size(0x98, 20);
lblPacketSyncValue.TabIndex = 7;
lblPacketSyncValue.Text = "AA-AA-AA-AA-AA-AA-AA-AA";
lblPacketSyncValue.TextAlign = ContentAlignment.MiddleCenter;
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
base.Controls.Add(gBoxDeviceStatus);
base.Controls.Add(tableLayoutPanel2);
base.Controls.Add(tableLayoutPanel1);
base.Controls.Add(gBoxControl);
base.Controls.Add(gBoxPacket);
base.Name = "PacketHandlerView";
base.Size = new Size(0x31f, 0x1ed);
((ISupportInitialize)errorProvider).EndInit();
nudPreambleSize.EndInit();
pnlAesEncryption.ResumeLayout(false);
pnlAesEncryption.PerformLayout();
pnlDcFree.ResumeLayout(false);
pnlDcFree.PerformLayout();
pnlAddressInPayload.ResumeLayout(false);
pnlAddressInPayload.PerformLayout();
pnlFifoFillCondition.ResumeLayout(false);
pnlFifoFillCondition.PerformLayout();
pnlSync.ResumeLayout(false);
pnlSync.PerformLayout();
pnlCrcAutoClear.ResumeLayout(false);
pnlCrcAutoClear.PerformLayout();
pnlCrcCalculation.ResumeLayout(false);
pnlCrcCalculation.PerformLayout();
pnlTxStart.ResumeLayout(false);
pnlTxStart.PerformLayout();
pnlAddressFiltering.ResumeLayout(false);
pnlAddressFiltering.PerformLayout();
pnlPacketFormat.ResumeLayout(false);
pnlPacketFormat.PerformLayout();
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel1.PerformLayout();
pnlPayloadLength.ResumeLayout(false);
nudPayloadLength.EndInit();
nudSyncSize.EndInit();
nudSyncTol.EndInit();
pnlNodeAddress.ResumeLayout(false);
nudNodeAddress.EndInit();
pnlBroadcastAddress.ResumeLayout(false);
nudBroadcastAddress.EndInit();
tableLayoutPanel2.ResumeLayout(false);
tableLayoutPanel2.PerformLayout();
nudFifoThreshold.EndInit();
gBoxDeviceStatus.ResumeLayout(false);
gBoxDeviceStatus.PerformLayout();
gBoxControl.ResumeLayout(false);
gBoxControl.PerformLayout();
gBoxPacket.ResumeLayout(false);
gBoxPacket.PerformLayout();
gBoxMessage.ResumeLayout(false);
gBoxMessage.PerformLayout();
tblPayloadMessage.ResumeLayout(false);
tblPacket.ResumeLayout(false);
pnlPacketCrc.ResumeLayout(false);
pnlPacketAddr.ResumeLayout(false);
base.ResumeLayout(false);
base.PerformLayout();
}
示例12: InitializeComponent
private void InitializeComponent()
{
panel1 = new Panel();
CancelButton = new Button();
OkButton = new Button();
label1 = new Label();
panel2 = new Panel();
columnsListTextBox = new TextBox();
panel1.SuspendLayout();
panel2.SuspendLayout();
SuspendLayout();
//
// panel1
//
panel1.Controls.Add(CancelButton);
panel1.Controls.Add(OkButton);
panel1.Controls.Add(label1);
panel1.Dock = DockStyle.Bottom;
panel1.Location = new Point(0, 218);
panel1.Name = "panel1";
panel1.Size = new Size(292, 55);
panel1.TabIndex = 0;
//
// CancelButton
//
CancelButton.Location = new Point(214, 29);
CancelButton.Name = "CancelButton";
CancelButton.Size = new Size(75, 23);
CancelButton.TabIndex = 2;
CancelButton.Text = "Cancel";
CancelButton.UseVisualStyleBackColor = true;
CancelButton.Click += CancelButtonClick;
//
// OkButton
//
OkButton.Location = new Point(133, 29);
OkButton.Name = "OkButton";
OkButton.Size = new Size(75, 23);
OkButton.TabIndex = 1;
OkButton.Text = "Ok";
OkButton.UseVisualStyleBackColor = true;
OkButton.Click += OkButtonClick;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(4, 4);
label1.Name = "label1";
label1.Size = new Size(181, 13);
label1.TabIndex = 0;
label1.Text = "Enter ignored Columns(One Per Line)";
//
// panel2
//
panel2.Controls.Add(columnsListTextBox);
panel2.Dock = DockStyle.Fill;
panel2.Location = new Point(0, 0);
panel2.Name = "panel2";
panel2.Size = new Size(292, 218);
panel2.TabIndex = 1;
//
// columnsListTextBox
//
columnsListTextBox.Dock = DockStyle.Fill;
columnsListTextBox.Location = new Point(0, 0);
columnsListTextBox.Multiline = true;
columnsListTextBox.Name = "columnsListTextBox";
columnsListTextBox.Size = new Size(292, 218);
columnsListTextBox.TabIndex = 0;
//
// IgnoredColumnsForm
//
ClientSize = new Size(292, 273);
Controls.Add(panel2);
Controls.Add(panel1);
Name = "IgnoredColumnsForm";
panel1.ResumeLayout(false);
panel1.PerformLayout();
panel2.ResumeLayout(false);
panel2.PerformLayout();
ResumeLayout(false);
}
示例13: InitializeComponent
//.........这里部分代码省略.........
manager.ApplyResources(panel4, "pnlStarted");
panel4.Name = "pnlStarted";
manager.ApplyResources(this.lblStarted, "lblStarted");
this.lblStarted.Name = "lblStarted";
manager.ApplyResources(panel5, "pnlFiles");
panel5.Controls.Add(this.lblFiles);
panel5.Controls.Add(label10);
panel5.Name = "pnlFiles";
manager.ApplyResources(this.lblFiles, "lblFiles");
this.lblFiles.Name = "lblFiles";
manager.ApplyResources(panel6, "pnlTotalSize");
panel6.Controls.Add(this.lblTotalSize);
panel6.Controls.Add(label7);
panel6.Name = "pnlTotalSize";
manager.ApplyResources(this.lblTotalSize, "lblTotalSize");
this.lblTotalSize.Name = "lblTotalSize";
manager.ApplyResources(panel7, "pnlProcessedSize");
panel7.Controls.Add(this.lblProcessedSize);
panel7.Controls.Add(label8);
panel7.Name = "pnlProcessedSize";
manager.ApplyResources(this.lblProcessedSize, "lblProcessedSize");
this.lblProcessedSize.Name = "lblProcessedSize";
manager.ApplyResources(panel8, "pnlSpeed");
panel8.Controls.Add(this.lblSpeed);
panel8.Controls.Add(label9);
panel8.Name = "pnlSpeed";
manager.ApplyResources(this.lblSpeed, "lblSpeed");
this.lblSpeed.Name = "lblSpeed";
manager.ApplyResources(this.lblFileProgress, "lblFileProgress");
this.lblFileProgress.Name = "lblFileProgress";
this.lblFileProgress.UseMnemonic = false;
this.tblCopyDetails.SetColumnSpan(this.barFileProgress, 3);
manager.ApplyResources(this.barFileProgress, "barFileProgress");
this.barFileProgress.Name = "barFileProgress";
this.barFileProgress.RenderMode = ProgressRenderMode.Vista;
this.tblCopyDetails.SetColumnSpan(this.lblToName, 3);
manager.ApplyResources(this.lblToName, "lblToName");
this.lblToName.Name = "lblToName";
this.lblToName.UseMnemonic = false;
this.tblCopyDetails.SetColumnSpan(this.lblFromName, 3);
manager.ApplyResources(this.lblFromName, "lblFromName");
this.lblFromName.Name = "lblFromName";
this.lblFromName.UseMnemonic = false;
manager.ApplyResources(this.lblAction, "lblAction");
this.tblCopyDetails.SetColumnSpan(this.lblAction, 3);
this.lblAction.Name = "lblAction";
this.lblAction.UseMnemonic = false;
this.tmrUpdateProgress.Enabled = true;
this.tmrUpdateProgress.Interval = 350;
this.tmrUpdateProgress.Tick += new EventHandler(this.tmrUpdateProgress_Tick);
manager.ApplyResources(this.tblCopyDetails, "tblCopyDetails");
this.tblCopyDetails.Controls.Add(bevel2, 0, 9);
this.tblCopyDetails.Controls.Add(this.barFileProgress, 0, 11);
this.tblCopyDetails.Controls.Add(this.lblAction, 0, 0);
this.tblCopyDetails.Controls.Add(label, 0, 10);
this.tblCopyDetails.Controls.Add(control, 0, 4);
this.tblCopyDetails.Controls.Add(this.lblFromName, 0, 1);
this.tblCopyDetails.Controls.Add(label2, 0, 2);
this.tblCopyDetails.Controls.Add(this.lblToName, 0, 3);
this.tblCopyDetails.Controls.Add(panel, 0, 6);
this.tblCopyDetails.Controls.Add(panel2, 0, 7);
this.tblCopyDetails.Controls.Add(panel3, 0, 8);
this.tblCopyDetails.Controls.Add(panel4, 0, 5);
this.tblCopyDetails.Controls.Add(panel5, 2, 5);
this.tblCopyDetails.Controls.Add(panel6, 2, 6);
this.tblCopyDetails.Controls.Add(panel7, 2, 7);
this.tblCopyDetails.Controls.Add(panel8, 2, 8);
this.tblCopyDetails.Controls.Add(this.lblFileProgress, 2, 10);
this.tblCopyDetails.Name = "tblCopyDetails";
this.tblCopyDetails.VisibleChanged += new EventHandler(this.tlbCopyDetails_VisibleChanged);
manager.ApplyResources(this.btnSkipFile, "btnSkipFile");
this.btnSkipFile.Name = "btnSkipFile";
this.btnSkipFile.UseVisualStyleBackColor = true;
this.btnSkipFile.Click += new EventHandler(this.btnSkipFile_Click);
manager.ApplyResources(this, "$this");
base.Controls.Add(this.tblCopyDetails);
base.Name = "CopyWorkerDialog";
base.Shown += new EventHandler(this.CopyWorkerDialog_Shown);
base.Controls.SetChildIndex(this.tblCopyDetails, 0);
panel.ResumeLayout(false);
panel.PerformLayout();
panel2.ResumeLayout(false);
panel2.PerformLayout();
panel3.ResumeLayout(false);
panel3.PerformLayout();
panel4.ResumeLayout(false);
panel4.PerformLayout();
panel5.ResumeLayout(false);
panel5.PerformLayout();
panel6.ResumeLayout(false);
panel6.PerformLayout();
panel7.ResumeLayout(false);
panel7.PerformLayout();
panel8.ResumeLayout(false);
panel8.PerformLayout();
this.tblCopyDetails.ResumeLayout(false);
this.tblCopyDetails.PerformLayout();
base.ResumeLayout(false);
base.PerformLayout();
}
示例14: newPlayerCombatantUIRow
//.........这里部分代码省略.........
combatantPanel.Controls.Add(combatantName);
combatantPanel.Name = "combatantPanel" + i;
combatantPanel.Parent = this.combatTab;
combatantPanel.Size = new System.Drawing.Size(714, 30);
combatantPanel.Location = new System.Drawing.Point(6, 31 + (i * ROW_HEIGHT));
combatantPanel.BorderStyle = BorderStyle.FixedSingle;
combatantPanel.TabIndex = 1;
combatantPanel.Show();
if (i % 2 == 1)
{
combatantPanel.BackColor = Color.LightBlue;
}
//
// combatantInfo
//
combatantInfo.Name = "combatantInfo" + i;
combatantInfo.Size = new System.Drawing.Size(28, 23);
combatantInfo.Location = new System.Drawing.Point(683, 2);
combatantInfo.TabIndex = 6;
combatantInfo.Text = "...";
combatantInfo.UseVisualStyleBackColor = true;
combatantInfo.Parent = combatantPanel;
combatantInfo.Show();
//
// healButton
//
healButton.Name = "healButton" + i;
healButton.Size = new System.Drawing.Size(19, 23);
healButton.Location = new System.Drawing.Point(600, 2);
healButton.TabIndex = 5;
healButton.Text = "+";
healButton.UseVisualStyleBackColor = true;
healButton.Parent = combatantPanel;
healButton.Show();
//
// damageButton
//
damageButton.Name = "damageButton" + i;
damageButton.Size = new System.Drawing.Size(19, 23);
damageButton.Location = new System.Drawing.Point(578, 2);
damageButton.TabIndex = 4;
damageButton.Text = "-";
damageButton.UseVisualStyleBackColor = true;
damageButton.Parent = combatantPanel;
damageButton.Show();
//
// damageTextBox
//
damageTextBox.Name = "damageTextBox" + i;
damageTextBox.Size = new System.Drawing.Size(45, 22);
damageTextBox.Location = new System.Drawing.Point(530, 2);
damageTextBox.TabIndex = 3;
damageButton.Parent = combatantPanel;
damageButton.Show();
//
// combatantHP
//
combatantHP.AutoSize = true;
combatantHP.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
combatantHP.Name = "combatantHP" + i;
combatantHP.Size = new System.Drawing.Size(71, 23);
combatantHP.Location = new System.Drawing.Point(400, 2);
combatantHP.TabIndex = 2;
combatantHP.Text = String.Format("HP: {0}/{1}", GameManagement.playerCharacters[i].currentHitPoints, GameManagement.playerCharacters[i].hitPoints);
combatantHP.Parent = combatantPanel;
combatantHP.Show();
//
// combatantAC
//
combatantAC.AutoSize = true;
combatantAC.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
combatantAC.Name = "combatantAC" + i;
combatantAC.Size = new System.Drawing.Size(60, 23);
combatantAC.Location = new System.Drawing.Point(300, 2);
combatantAC.TabIndex = 1;
combatantAC.Text = "AC: " + GameManagement.playerCharacters[i].armorClass;
combatantAC.Show();
//
// combatantName
//
combatantName.AutoSize = true;
combatantName.Font = new System.Drawing.Font("Calibri", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
combatantName.Name = "combatantName" + i;
combatantName.Size = new System.Drawing.Size(3, 23);
combatantName.Location = new System.Drawing.Point(3, 2);
combatantName.TabIndex = 0;
combatantName.Text = GameManagement.playerCharacters[i].name;
combatantName.Show();
// Resume Layout
combatantPanel.ResumeLayout(false);
combatantPanel.PerformLayout();
}
示例15: CreateView
public override object CreateView(Panel hostPanel)
{
NLView nlView = new NLView();
if (_image != null)
nlView.Image = _image.ToBitmap();
else
nlView.Image = null;
nlView.DetectionDetails = _detectionDetails;
nlView.Dock = DockStyle.Fill;
hostPanel.Controls.Add(nlView);
hostPanel.PerformLayout();
nlView.AutoScroll = true;
hostPanel.Invalidate();
return nlView;
}