📄 frmcompanymes.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using HouseBS;
namespace frmLogin
{
/// <summary>
/// frmCompanyMes 的摘要说明。
/// </summary>
public class frmCompanyMes : System.Windows.Forms.Form
{
private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
private DevComponents.DotNetBar.LabelX labelX1;
private DevComponents.DotNetBar.ButtonX buttonX1;
private DevComponents.DotNetBar.Controls.TextBoxX textBoxX4;
private DevComponents.DotNetBar.LabelX labelX4;
private DevComponents.DotNetBar.Controls.TextBoxX textBoxX3;
private DevComponents.DotNetBar.Controls.TextBoxX textBoxX2;
private DevComponents.DotNetBar.Controls.TextBoxX textBoxX1;
private DevComponents.DotNetBar.LabelX labelX3;
private DevComponents.DotNetBar.LabelX labelX2;
private DevComponents.DotNetBar.LabelX labelX5;
private DevComponents.DotNetBar.ButtonX buttonX2;
private System.Windows.Forms.ImageList imageList1;
private DevComponents.DotNetBar.LabelX labelX6;
private DevComponents.DotNetBar.LabelX labelX7;
private DevComponents.DotNetBar.Controls.TextBoxX textBoxX5;
private DevComponents.DotNetBar.Controls.TextBoxX textBoxX6;
private System.Windows.Forms.Panel panel1;
private System.ComponentModel.IContainer components;
private DataSet _ds;
private System.Drawing.Printing.PrintDocument printDocument1;
private System.Windows.Forms.PageSetupDialog pageSetupDialog1;
private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
private HouseBS.CompanyMessageBS _CompanyMessageBS;
public frmCompanyMes()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
this._CompanyMessageBS=new CompanyMessageBS();
this._ds=new DataSet();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmCompanyMes));
this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
this.textBoxX6 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.textBoxX5 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.labelX7 = new DevComponents.DotNetBar.LabelX();
this.labelX6 = new DevComponents.DotNetBar.LabelX();
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
this.textBoxX4 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.labelX4 = new DevComponents.DotNetBar.LabelX();
this.textBoxX3 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.textBoxX2 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.textBoxX1 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.labelX3 = new DevComponents.DotNetBar.LabelX();
this.labelX2 = new DevComponents.DotNetBar.LabelX();
this.labelX5 = new DevComponents.DotNetBar.LabelX();
this.labelX1 = new DevComponents.DotNetBar.LabelX();
this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.panel1 = new System.Windows.Forms.Panel();
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog();
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
this.groupPanel1.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// groupPanel1
//
this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.groupPanel1.Controls.Add(this.textBoxX6);
this.groupPanel1.Controls.Add(this.textBoxX5);
this.groupPanel1.Controls.Add(this.labelX7);
this.groupPanel1.Controls.Add(this.labelX6);
this.groupPanel1.Controls.Add(this.buttonX1);
this.groupPanel1.Controls.Add(this.textBoxX4);
this.groupPanel1.Controls.Add(this.labelX4);
this.groupPanel1.Controls.Add(this.textBoxX3);
this.groupPanel1.Controls.Add(this.textBoxX2);
this.groupPanel1.Controls.Add(this.textBoxX1);
this.groupPanel1.Controls.Add(this.labelX3);
this.groupPanel1.Controls.Add(this.labelX2);
this.groupPanel1.Controls.Add(this.labelX5);
this.groupPanel1.Controls.Add(this.labelX1);
this.groupPanel1.Location = new System.Drawing.Point(0, 0);
this.groupPanel1.Name = "groupPanel1";
this.groupPanel1.Size = new System.Drawing.Size(456, 280);
//
// groupPanel1.Style
//
this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.groupPanel1.Style.BackColorGradientAngle = 90;
this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel1.Style.BorderBottomWidth = 1;
this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel1.Style.BorderLeftWidth = 1;
this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel1.Style.BorderRightWidth = 1;
this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel1.Style.BorderTopWidth = 1;
this.groupPanel1.Style.CornerDiameter = 4;
this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
this.groupPanel1.TabIndex = 1;
this.groupPanel1.Text = "公 司 基 本 资 料";
//
// textBoxX6
//
this.textBoxX6.AutoSize = false;
//
// textBoxX6.Border
//
this.textBoxX6.Border.Class = "TextBoxBorder";
this.textBoxX6.Enabled = false;
this.textBoxX6.Location = new System.Drawing.Point(288, 104);
this.textBoxX6.Name = "textBoxX6";
this.textBoxX6.Size = new System.Drawing.Size(124, 21);
this.textBoxX6.TabIndex = 21;
//
// textBoxX5
//
this.textBoxX5.AutoSize = false;
//
// textBoxX5.Border
//
this.textBoxX5.Border.Class = "TextBoxBorder";
this.textBoxX5.Enabled = false;
this.textBoxX5.Location = new System.Drawing.Point(88, 104);
this.textBoxX5.Name = "textBoxX5";
this.textBoxX5.Size = new System.Drawing.Size(124, 21);
this.textBoxX5.TabIndex = 20;
//
// labelX7
//
this.labelX7.BackColor = System.Drawing.Color.Transparent;
this.labelX7.ForeColor = System.Drawing.Color.Black;
this.labelX7.Location = new System.Drawing.Point(232, 104);
this.labelX7.Name = "labelX7";
this.labelX7.Size = new System.Drawing.Size(88, 24);
this.labelX7.TabIndex = 19;
this.labelX7.Text = "网址:";
//
// labelX6
//
this.labelX6.BackColor = System.Drawing.Color.Transparent;
this.labelX6.ForeColor = System.Drawing.Color.Black;
this.labelX6.Location = new System.Drawing.Point(16, 104);
this.labelX6.Name = "labelX6";
this.labelX6.Size = new System.Drawing.Size(88, 24);
this.labelX6.TabIndex = 18;
this.labelX6.Text = "法人代表:";
//
// buttonX1
//
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.buttonX1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.buttonX1.ForeColor = System.Drawing.Color.Black;
this.buttonX1.Image = ((System.Drawing.Image)(resources.GetObject("buttonX1.Image")));
this.buttonX1.Location = new System.Drawing.Point(296, 200);
this.buttonX1.Name = "buttonX1";
this.buttonX1.Size = new System.Drawing.Size(88, 32);
this.buttonX1.TabIndex = 17;
this.buttonX1.Text = "打印";
this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
//
// textBoxX4
//
this.textBoxX4.AutoSize = false;
//
// textBoxX4.Border
//
this.textBoxX4.Border.Class = "TextBoxBorder";
this.textBoxX4.Enabled = false;
this.textBoxX4.Location = new System.Drawing.Point(87, 152);
this.textBoxX4.Name = "textBoxX4";
this.textBoxX4.Size = new System.Drawing.Size(248, 21);
this.textBoxX4.TabIndex = 16;
//
// labelX4
//
this.labelX4.BackColor = System.Drawing.Color.Transparent;
this.labelX4.ForeColor = System.Drawing.Color.Black;
this.labelX4.Location = new System.Drawing.Point(15, 152);
this.labelX4.Name = "labelX4";
this.labelX4.Size = new System.Drawing.Size(72, 24);
this.labelX4.TabIndex = 15;
this.labelX4.Text = "地址:";
//
// textBoxX3
//
this.textBoxX3.AutoSize = false;
//
// textBoxX3.Border
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -