⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.cs

📁 物业管理系统
💻 CS
📖 第 1 页 / 共 2 页
字号:
			this.menuItem16.Index = 0;
			this.menuItem16.Text = "报修管理";
			// 
			// menuItem17
			// 
			this.menuItem17.Index = 6;
			this.menuItem17.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					   this.menuItem18});
			this.menuItem17.Text = "投诉管理";
			// 
			// menuItem18
			// 
			this.menuItem18.Index = 0;
			this.menuItem18.Text = "投诉管理";
			// 
			// statusBar1
			// 
			this.statusBar1.Location = new System.Drawing.Point(0, 387);
			this.statusBar1.Name = "statusBar1";
			this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
																						  this.statusBarPanel1,
																						  this.statusBarPanel2,
																						  this.statusBarPanel3});
			this.statusBar1.ShowPanels = true;
			this.statusBar1.Size = new System.Drawing.Size(552, 22);
			this.statusBar1.TabIndex = 0;
			this.statusBar1.Text = "statusBar1";
			// 
			// statusBarPanel1
			// 
			this.statusBarPanel1.Text = "statusBarPanel1";
			// 
			// statusBarPanel2
			// 
			this.statusBarPanel2.Text = "statusBarPanel2";
			// 
			// statusBarPanel3
			// 
			this.statusBarPanel3.Text = "statusBarPanel3";
			// 
			// toolBar1
			// 
			this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
																						this.toolBarButton1,
																						this.toolBarButton2,
																						this.toolBarButton3,
																						this.toolBarButton4,
																						this.toolBarButton5,
																						this.toolBarButton6});
			this.toolBar1.DropDownArrows = true;
			this.toolBar1.Location = new System.Drawing.Point(0, 0);
			this.toolBar1.Name = "toolBar1";
			this.toolBar1.ShowToolTips = true;
			this.toolBar1.Size = new System.Drawing.Size(552, 28);
			this.toolBar1.TabIndex = 1;
			// 
			// panel1
			// 
			this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.panel1.Controls.Add(this.button7);
			this.panel1.Controls.Add(this.button6);
			this.panel1.Controls.Add(this.button5);
			this.panel1.Controls.Add(this.button3);
			this.panel1.Controls.Add(this.button2);
			this.panel1.Controls.Add(this.button1);
			this.panel1.Controls.Add(this.button4);
			this.panel1.Controls.Add(this.button15);
			this.panel1.Controls.Add(this.button14);
			this.panel1.Controls.Add(this.button13);
			this.panel1.Controls.Add(this.button12);
			this.panel1.Controls.Add(this.pictureBox1);
			this.panel1.Location = new System.Drawing.Point(0, 32);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(103, 356);
			this.panel1.TabIndex = 2;
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(0, 0);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(100, 25);
			this.button1.TabIndex = 0;
			this.button1.Text = "系统";
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(0, 208);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(100, 25);
			this.button2.TabIndex = 1;
			this.button2.Text = "楼盘管理";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// button3
			// 
			this.button3.Location = new System.Drawing.Point(0, 232);
			this.button3.Name = "button3";
			this.button3.Size = new System.Drawing.Size(100, 25);
			this.button3.TabIndex = 2;
			this.button3.Text = "住户管理";
			// 
			// button4
			// 
			this.button4.Location = new System.Drawing.Point(0, 256);
			this.button4.Name = "button4";
			this.button4.Size = new System.Drawing.Size(100, 25);
			this.button4.TabIndex = 2;
			this.button4.Text = "停车管理";
			// 
			// button5
			// 
			this.button5.Location = new System.Drawing.Point(0, 280);
			this.button5.Name = "button5";
			this.button5.Size = new System.Drawing.Size(100, 25);
			this.button5.TabIndex = 3;
			this.button5.Text = "收费管理";
			// 
			// button6
			// 
			this.button6.Location = new System.Drawing.Point(0, 304);
			this.button6.Name = "button6";
			this.button6.Size = new System.Drawing.Size(100, 25);
			this.button6.TabIndex = 4;
			this.button6.Text = "报修管理";
			// 
			// button7
			// 
			this.button7.Location = new System.Drawing.Point(0, 328);
			this.button7.Name = "button7";
			this.button7.Size = new System.Drawing.Size(100, 25);
			this.button7.TabIndex = 5;
			this.button7.Text = "投诉管理";
			// 
			// pictureBox1
			// 
			this.pictureBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
			this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.pictureBox1.Location = new System.Drawing.Point(0, 24);
			this.pictureBox1.Name = "pictureBox1";
			this.pictureBox1.Size = new System.Drawing.Size(100, 184);
			this.pictureBox1.TabIndex = 8;
			this.pictureBox1.TabStop = false;
			// 
			// button12
			// 
			this.button12.Location = new System.Drawing.Point(24, 162);
			this.button12.Name = "button12";
			this.button12.Size = new System.Drawing.Size(40, 40);
			this.button12.TabIndex = 12;
			this.button12.Text = "关闭系统";
			this.button12.Click += new System.EventHandler(this.button12_Click);
			// 
			// button13
			// 
			this.button13.Location = new System.Drawing.Point(24, 118);
			this.button13.Name = "button13";
			this.button13.Size = new System.Drawing.Size(40, 40);
			this.button13.TabIndex = 11;
			this.button13.Text = "修改密码";
			// 
			// button14
			// 
			this.button14.Location = new System.Drawing.Point(24, 72);
			this.button14.Name = "button14";
			this.button14.Size = new System.Drawing.Size(40, 40);
			this.button14.TabIndex = 10;
			this.button14.Text = "用户管理";
			// 
			// button15
			// 
			this.button15.Location = new System.Drawing.Point(24, 26);
			this.button15.Name = "button15";
			this.button15.Size = new System.Drawing.Size(40, 40);
			this.button15.TabIndex = 9;
			this.button15.Text = "系统登录";
			// 
			// pictureBox2
			// 
			this.pictureBox2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox2.BackgroundImage")));
			this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.pictureBox2.Location = new System.Drawing.Point(160, 48);
			this.pictureBox2.Name = "pictureBox2";
			this.pictureBox2.Size = new System.Drawing.Size(100, 184);
			this.pictureBox2.TabIndex = 13;
			this.pictureBox2.TabStop = false;
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(552, 409);
			this.Controls.Add(this.panel1);
			this.Controls.Add(this.toolBar1);
			this.Controls.Add(this.statusBar1);
			this.Controls.Add(this.pictureBox2);
			this.Menu = this.mainMenu1;
			this.Name = "Form1";
			this.Text = "Form1";
			this.Load += new System.EventHandler(this.Form1_Load);
			((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit();
			this.panel1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		/// <summary>
		/// 应用程序的主入口点。
		/// </summary>
		[STAThread]
		static void Main() 
		{
			Application.Run(new Form1());
		}

		private void button2_Click(object sender, System.EventArgs e)
		{
			this.pictureBox2.Left=0;
			//this.pictureBox2.Top=this.pictureBox2.Top;
			this.pictureBox1.Height=0;
			
			this.pictureBox1.Hide();
		    this.pictureBox2.Top=this.button1.Top+this.button1.Height+this.button2.Height;
			this.button12.Height=0;
			this.button13.Height=0;
			this.button14.Height=0;
			this.button15.Height=0;
			this.button12.Hide();
			this.button13.Hide();
			this.button14.Hide();
			this.button15.Hide();
			
		}

		private void Form1_Load(object sender, System.EventArgs e)
		{
			//this.button2.Top=this.button1.Top+this.button1.Height+this.pictureBox1.Height;
			//this.button3.Top=this.button2.Top+this.button2.Height;
			//this.button4.Top=this.button3.Top+this.button3.Height;
			//this.button5.Top=this.button4.Top+this.button4.Height;
			//this.button6.Top=this.button5.Top+this.button5.Height;
		   // this.button7.Top=this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height+this.button6.Height;
		}

		private void button12_Click(object sender, System.EventArgs e)
		{
		
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -