📄 frmmain.cs
字号:
//
this.tbrHouse.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
this.tbrHouse.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
this.toolBarButton1,
this.toolBarButton2,
this.toolBarButton3,
this.toolBarButton4,
this.toolBarButton5,
this.toolBarButton6,
this.toolBarButton7});
this.tbrHouse.ButtonSize = new System.Drawing.Size(70, 55);
this.tbrHouse.DropDownArrows = true;
this.tbrHouse.ImageList = this.imageList1;
this.tbrHouse.Location = new System.Drawing.Point(0, 0);
this.tbrHouse.Name = "tbrHouse";
this.tbrHouse.ShowToolTips = true;
this.tbrHouse.Size = new System.Drawing.Size(914, 55);
this.tbrHouse.TabIndex = 0;
this.tbrHouse.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
//
// toolBarButton1
//
this.toolBarButton1.ImageIndex = 9;
this.toolBarButton1.Text = "基本资料";
this.toolBarButton1.ToolTipText = "基本资料";
//
// toolBarButton2
//
this.toolBarButton2.ImageIndex = 3;
this.toolBarButton2.Text = "楼盘资料";
this.toolBarButton2.ToolTipText = "楼盘资料";
//
// toolBarButton3
//
this.toolBarButton3.ImageIndex = 15;
this.toolBarButton3.Text = "更换图片";
this.toolBarButton3.ToolTipText = "更换图片";
//
// toolBarButton4
//
this.toolBarButton4.ImageIndex = 4;
this.toolBarButton4.Text = "客户登记";
this.toolBarButton4.ToolTipText = "客户登记";
//
// toolBarButton5
//
this.toolBarButton5.ImageIndex = 5;
this.toolBarButton5.Text = "客户查询";
this.toolBarButton5.ToolTipText = "客户查询";
//
// toolBarButton6
//
this.toolBarButton6.ImageIndex = 7;
this.toolBarButton6.Text = "房屋销售";
this.toolBarButton6.ToolTipText = "房屋销售";
//
// toolBarButton7
//
this.toolBarButton7.ImageIndex = 8;
this.toolBarButton7.Text = "合同管理";
this.toolBarButton7.ToolTipText = "合同管理";
//
// imageList1
//
this.imageList1.ImageSize = new System.Drawing.Size(30, 30);
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// panel1
//
this.panel1.Controls.Add(this.sbrHouse);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel1.Location = new System.Drawing.Point(0, 523);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(914, 28);
this.panel1.TabIndex = 1;
//
// sbrHouse
//
this.sbrHouse.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.sbrHouse.Dock = System.Windows.Forms.DockStyle.None;
this.sbrHouse.Location = new System.Drawing.Point(2, 0);
this.sbrHouse.Name = "sbrHouse";
this.sbrHouse.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
this.statusBarPanel1,
this.statusBarPanel2,
this.statusBarPanel3});
this.sbrHouse.ShowPanels = true;
this.sbrHouse.Size = new System.Drawing.Size(910, 28);
this.sbrHouse.TabIndex = 1;
//
// statusBarPanel1
//
this.statusBarPanel1.Width = 400;
//
// statusBarPanel2
//
this.statusBarPanel2.Width = 150;
//
// statusBarPanel3
//
this.statusBarPanel3.Width = 550;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.expandableSplitter1);
this.groupBox1.Controls.Add(this.panel3);
this.groupBox1.Controls.Add(this.panel2);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox1.Location = new System.Drawing.Point(0, 55);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(914, 468);
this.groupBox1.TabIndex = 2;
this.groupBox1.TabStop = false;
//
// expandableSplitter1
//
this.expandableSplitter1.BackColor2 = System.Drawing.SystemColors.ControlDarkDark;
this.expandableSplitter1.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter1.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.expandableSplitter1.ExpandFillColor = System.Drawing.SystemColors.ControlDarkDark;
this.expandableSplitter1.ExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter1.ExpandLineColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter1.ExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
this.expandableSplitter1.GripDarkColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter1.GripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
this.expandableSplitter1.GripLightColor = System.Drawing.Color.FromArgb(((System.Byte)(246)), ((System.Byte)(245)), ((System.Byte)(244)));
this.expandableSplitter1.GripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter1.HotBackColor = System.Drawing.Color.FromArgb(((System.Byte)(144)), ((System.Byte)(156)), ((System.Byte)(187)));
this.expandableSplitter1.HotBackColor2 = System.Drawing.Color.FromArgb(((System.Byte)(230)), ((System.Byte)(233)), ((System.Byte)(240)));
this.expandableSplitter1.HotBackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground2;
this.expandableSplitter1.HotBackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemPressedBackground;
this.expandableSplitter1.HotExpandFillColor = System.Drawing.SystemColors.ControlDarkDark;
this.expandableSplitter1.HotExpandFillColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter1.HotExpandLineColor = System.Drawing.SystemColors.ControlText;
this.expandableSplitter1.HotExpandLineColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
this.expandableSplitter1.HotGripDarkColor = System.Drawing.SystemColors.ControlDarkDark;
this.expandableSplitter1.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter1.HotGripLightColor = System.Drawing.Color.FromArgb(((System.Byte)(246)), ((System.Byte)(245)), ((System.Byte)(244)));
this.expandableSplitter1.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter1.Location = new System.Drawing.Point(168, 17);
this.expandableSplitter1.Name = "expandableSplitter1";
this.expandableSplitter1.Size = new System.Drawing.Size(3, 448);
this.expandableSplitter1.TabIndex = 3;
this.expandableSplitter1.TabStop = false;
//
// panel3
//
this.panel3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel3.BackgroundImage")));
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(168, 17);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(743, 448);
this.panel3.TabIndex = 2;
//
// panel2
//
this.panel2.Controls.Add(this.sideBar1);
this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
this.panel2.Location = new System.Drawing.Point(3, 17);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(165, 448);
this.panel2.TabIndex = 0;
//
// sideBar1
//
this.sideBar1.AccessibleRole = System.Windows.Forms.AccessibleRole.ToolBar;
this.sideBar1.Dock = System.Windows.Forms.DockStyle.Left;
this.sideBar1.ExpandedPanel = this.sideBarPanelItem1;
this.sideBar1.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((System.Byte)(134)));
this.sideBar1.Images = this.imageList1;
this.sideBar1.Location = new System.Drawing.Point(0, 0);
this.sideBar1.Name = "sideBar1";
this.sideBar1.Panels.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.sideBarPanelItem1,
this.sideBarPanelItem2,
this.sideBarPanelItem3,
this.sideBarPanelItem4});
this.sideBar1.Size = new System.Drawing.Size(168, 448);
this.sideBar1.TabIndex = 0;
this.sideBar1.Text = "sideBar1";
//
// sideBarPanelItem1
//
this.sideBarPanelItem1.Name = "sideBarPanelItem1";
this.sideBarPanelItem1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem1,
this.buttonItem2});
this.sideBarPanelItem1.Text = "资料查询";
//
// buttonItem1
//
this.buttonItem1.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.buttonItem1.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem1.Image")));
this.buttonItem1.ImageIndex = 13;
this.buttonItem1.ImagePaddingHorizontal = 8;
this.buttonItem1.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem1.Name = "buttonItem1";
this.buttonItem1.Text = "已售房查询";
this.buttonItem1.Click += new System.EventHandler(this.buttonItem1_Click);
//
// buttonItem2
//
this.buttonItem2.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.buttonItem2.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem2.Image")));
this.buttonItem2.ImageIndex = 6;
this.buttonItem2.ImagePaddingHorizontal = 8;
this.buttonItem2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem2.Name = "buttonItem2";
this.buttonItem2.Text = "待售房查询";
this.buttonItem2.Click += new System.EventHandler(this.buttonItem2_Click);
//
// sideBarPanelItem2
//
this.sideBarPanelItem2.Name = "sideBarPanelItem2";
this.sideBarPanelItem2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem3,
this.buttonItem4,
this.buttonItem5,
this.buttonItem6});
this.sideBarPanelItem2.Text = "基本信息";
//
// buttonItem3
//
this.buttonItem3.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.buttonItem3.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem3.Image")));
this.buttonItem3.ImageIndex = 7;
this.buttonItem3.ImagePaddingHorizontal = 8;
this.buttonItem3.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem3.Name = "buttonItem3";
this.buttonItem3.Text = "公司资料";
this.buttonItem3.Click += new System.EventHandler(this.buttonItem3_Click);
//
// buttonItem4
//
this.buttonItem4.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.buttonItem4.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem4.Image")));
this.buttonItem4.ImageIndex = 3;
this.buttonItem4.ImagePaddingHorizontal = 8;
this.buttonItem4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem4.Name = "buttonItem4";
this.buttonItem4.Text = "楼盘资料";
this.buttonItem4.Click += new System.EventHandler(this.buttonItem4_Click);
//
// buttonItem5
//
this.buttonItem5.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.buttonItem5.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem5.Image")));
this.buttonItem5.ImageIndex = 15;
this.buttonItem5.ImagePaddingHorizontal = 8;
this.buttonItem5.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem5.Name = "buttonItem5";
this.buttonItem5.Text = "合同范本";
this.buttonItem5.Click += new System.EventHandler(this.buttonItem5_Click);
//
// buttonItem6
//
this.buttonItem6.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.buttonItem6.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem6.Image")));
this.buttonItem6.ImageIndex = 8;
this.buttonItem6.ImagePaddingHorizontal = 8;
this.buttonItem6.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem6.Name = "buttonItem6";
this.buttonItem6.Text = "合同管理";
this.buttonItem6.Click += new System.EventHandler(this.buttonItem6_Click);
//
// sideBarPanelItem3
//
this.sideBarPanelItem3.Name = "sideBarPanelItem3";
this.sideBarPanelItem3.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem7});
this.sideBarPanelItem3.Text = "客户管理";
//
// buttonItem7
//
this.buttonItem7.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.buttonItem7.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem7.Image")));
this.buttonItem7.ImageIndex = 5;
this.buttonItem7.ImagePaddingHorizontal = 8;
this.buttonItem7.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem7.Name = "buttonItem7";
this.buttonItem7.Text = "购房客户查询";
this.buttonItem7.Click += new System.EventHandler(this.buttonItem7_Click);
//
// sideBarPanelItem4
//
this.sideBarPanelItem4.Name = "sideBarPanelItem4";
this.sideBarPanelItem4.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem8});
this.sideBarPanelItem4.Text = "附加功能";
//
// buttonItem8
//
this.buttonItem8.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.buttonItem8.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem8.Image")));
this.buttonItem8.ImageIndex = 1;
this.buttonItem8.ImagePaddingHorizontal = 8;
this.buttonItem8.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem8.Name = "buttonItem8";
this.buttonItem8.Text = "调系统计算器";
this.buttonItem8.Click += new System.EventHandler(this.buttonItem8_Click);
//
// notifyIcon1
//
this.notifyIcon1.ContextMenu = this.contextMenu1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -