当前位置: 首页>>代码示例>>C#>>正文


C# ToolStripSeparator.set_Name方法代码示例

本文整理汇总了C#中System.Windows.Forms.ToolStripSeparator.set_Name方法的典型用法代码示例。如果您正苦于以下问题:C# ToolStripSeparator.set_Name方法的具体用法?C# ToolStripSeparator.set_Name怎么用?C# ToolStripSeparator.set_Name使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Windows.Forms.ToolStripSeparator的用法示例。


在下文中一共展示了ToolStripSeparator.set_Name方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style3 = new System.Windows.Forms.DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PaymentsByAccountView));
     this.m_PaymentsGrid = new System.Windows.Forms.DataGridView();
     this.m_PaymentsSource = new System.Windows.Forms.BindingSource(this.components);
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.m_ShowReceipt = new System.Windows.Forms.ToolStripButton();
     this.m_ReversePayment = new System.Windows.Forms.ToolStripButton();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.externalTransactionIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.confirmedAtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.paidSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.requestTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.statusDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.operatorDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.terminalDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.OfficelDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.OrganizationlDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     System.Windows.Forms.ToolStripSeparator separator = new System.Windows.Forms.ToolStripSeparator();
     this.m_PaymentsGrid.BeginInit();
     this.m_PaymentsSource.BeginInit();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     separator.set_Name("toolStripSeparator1");
     separator.set_Size(new System.Drawing.Size(6, 0x19));
     this.m_PaymentsGrid.set_AllowUserToAddRows(false);
     this.m_PaymentsGrid.set_AllowUserToDeleteRows(false);
     this.m_PaymentsGrid.set_AllowUserToOrderColumns(true);
     this.m_PaymentsGrid.set_AutoGenerateColumns(false);
     this.m_PaymentsGrid.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.m_PaymentsGrid.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style.set_BackColor(System.Drawing.SystemColors.Control);
     style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.m_PaymentsGrid.set_ColumnHeadersDefaultCellStyle(style);
     this.m_PaymentsGrid.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.m_PaymentsGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.externalTransactionIdDataGridViewTextBoxColumn, this.confirmedAtDataGridViewTextBoxColumn, this.paidSummDataGridViewTextBoxColumn, this.requestTypeDataGridViewTextBoxColumn, this.statusDataGridViewTextBoxColumn, this.operatorDataGridViewTextBoxColumn, this.terminalDataGridViewTextBoxColumn, this.OfficelDataGridViewTextBoxColumn, this.OrganizationlDataGridViewTextBoxColumn });
     this.m_PaymentsGrid.set_DataSource(this.m_PaymentsSource);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Window);
     style2.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style2.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.m_PaymentsGrid.set_DefaultCellStyle(style2);
     this.m_PaymentsGrid.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.m_PaymentsGrid.set_Location(new System.Drawing.Point(0, 0x19));
     this.m_PaymentsGrid.set_Name("m_PaymentsGrid");
     this.m_PaymentsGrid.set_ReadOnly(true);
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.Control);
     style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style3.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.m_PaymentsGrid.set_RowHeadersDefaultCellStyle(style3);
     this.m_PaymentsGrid.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.m_PaymentsGrid.set_Size(new System.Drawing.Size(0x297, 0x1b9));
     this.m_PaymentsGrid.set_TabIndex(0);
     this.m_PaymentsSource.set_DataSource(typeof(PayRequest));
     this.toolStrip1.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.m_ShowReceipt, separator, this.m_ReversePayment });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x297, 0x19));
     this.toolStrip1.set_TabIndex(1);
     this.toolStrip1.set_Text("toolStrip1");
     this.m_ShowReceipt.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.m_ShowReceipt.set_Image((System.Drawing.Image) manager.GetObject("m_ShowReceipt.Image"));
     this.m_ShowReceipt.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.m_ShowReceipt.set_Name("m_ShowReceipt");
     this.m_ShowReceipt.set_Size(new System.Drawing.Size(0x42, 0x16));
     this.m_ShowReceipt.set_Text("Квитанция");
     this.m_ShowReceipt.add_Click(new System.EventHandler(this.m_ShowReceipt_Click));
     this.m_ReversePayment.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.m_ReversePayment.set_Image((System.Drawing.Image) manager.GetObject("m_ReversePayment.Image"));
     this.m_ReversePayment.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.m_ReversePayment.set_Name("m_ReversePayment");
     this.m_ReversePayment.set_Size(new System.Drawing.Size(0x63, 0x16));
     this.m_ReversePayment.set_Text("Возврат платежа");
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:PaymentsByAccountView.cs

示例2: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style3 = new System.Windows.Forms.DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PaymentsByTerminalView));
     this.m_PaymentsGrid = new System.Windows.Forms.DataGridView();
     this.confirmedAtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.AddressName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ownerNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.paidSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.terminalDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.operatorDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.requestTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.externalTransactionIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.statusDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.CashFlowType = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.AgentName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PaymentOrderNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PaymentOrderDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PackNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_PaymentsSource = new System.Windows.Forms.BindingSource(this.components);
     this.m_PaySumm = new System.Windows.Forms.ToolStripLabel();
     this.m_ReverseSumm = new System.Windows.Forms.ToolStripLabel();
     this.m_TotalSumm = new System.Windows.Forms.ToolStripLabel();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.m_ShowReceipt = new System.Windows.Forms.ToolStripButton();
     this.m_ReversePayment = new System.Windows.Forms.ToolStripButton();
     this.ddbPayments = new System.Windows.Forms.ToolStripDropDownButton();
     this.операторуToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.кассеToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.пунктуПриемаToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.m_ShowDayReport = new System.Windows.Forms.ToolStripButton();
     this.toolStripSplitButton1 = new System.Windows.Forms.ToolStripSplitButton();
     this.отчётВРазрезеПачекToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.отчётПоОперациямВРазрезеКассировToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.отчетПоВсемОперациямВРазрезеПоставщиковToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.отчетПоОперациямВРазрезеРежимаРаботыПользователияизЖурналаToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.отчётПоПоставщикамToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
     this.XReportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.ZReportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.внестиВКассуToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.инкасацияToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.datePeriodRequests = new DatePeriod();
     this.label1 = new System.Windows.Forms.Label();
     this.POSView = new AIS.SN.UI.Cashier.PointOfSale.POSView();
     this.toolStripComm = new System.Windows.Forms.ToolStrip();
     this.m_PaySummComm = new System.Windows.Forms.ToolStripLabel();
     this.m_ReverseSummComm = new System.Windows.Forms.ToolStripLabel();
     this.m_TotalSummComm = new System.Windows.Forms.ToolStripLabel();
     System.Windows.Forms.ToolStripSeparator separator = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripSeparator separator2 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripSeparator separator3 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripSeparator separator4 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripSeparator separator5 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripLabel label = new System.Windows.Forms.ToolStripLabel();
     System.Windows.Forms.ToolStripSeparator separator6 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripLabel label2 = new System.Windows.Forms.ToolStripLabel();
     System.Windows.Forms.ToolStripSeparator separator7 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripLabel label3 = new System.Windows.Forms.ToolStripLabel();
     System.Windows.Forms.ToolStripSeparator separator8 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripLabel label4 = new System.Windows.Forms.ToolStripLabel();
     System.Windows.Forms.ToolStripSeparator separator9 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripLabel label5 = new System.Windows.Forms.ToolStripLabel();
     System.Windows.Forms.ToolStripSeparator separator10 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripLabel label6 = new System.Windows.Forms.ToolStripLabel();
     System.Windows.Forms.ToolStripSeparator separator11 = new System.Windows.Forms.ToolStripSeparator();
     System.Windows.Forms.ToolStripLabel label7 = new System.Windows.Forms.ToolStripLabel();
     this.m_PaymentsGrid.BeginInit();
     this.m_PaymentsSource.BeginInit();
     this.toolStrip1.SuspendLayout();
     this.toolStripComm.SuspendLayout();
     base.SuspendLayout();
     separator.set_Name("toolStripSeparator1");
     separator.set_Size(new System.Drawing.Size(6, 0x19));
     separator2.set_Name("toolStripSeparator10");
     separator2.set_Size(new System.Drawing.Size(6, 0x19));
     separator3.set_Name("toolStripSeparator9");
     separator3.set_Size(new System.Drawing.Size(6, 0x19));
     separator4.set_Name("toolStripSeparator2");
     separator4.set_Size(new System.Drawing.Size(6, 0x19));
     separator5.set_Name("toolStripSeparator3");
     separator5.set_Size(new System.Drawing.Size(6, 0x19));
     label.set_Name("toolStripLabel1");
     label.set_Size(new System.Drawing.Size(0x38, 0x16));
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:PaymentsByTerminalView.cs


注:本文中的System.Windows.Forms.ToolStripSeparator.set_Name方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。