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

📄 main.cs

📁 物业管理系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
			else
			{
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=true;
				this.button14.Visible=false;
				this.button15.Visible=false;
				this.button16.Visible=false;
				this.button17.Visible=false;
				this.button18.Visible=false;

				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=true;
				this.button13.Left=40;
				this.button13.Top=90;
				this.button2.Top=this.button1.Top+this.button1.Height;
				this.button3.Top=this.button1.Top+this.button1.Height+this.button2.Height;
				this.panel2.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height;
			}
			
			
		}

		public void button4_Click(object sender, System.EventArgs e)
		{
			
			if(this.button4.Top<200)
			{
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=true;
				this.button14.Visible=false;
				this.button15.Visible=false;
				this.button16.Visible=false;
				this.button17.Visible=false;
				this.button18.Visible=false;

				
				this.button13.Top=90;
				this.button13.Left=40;
				this.button14.Left=40;
				this.button14.Top=170;
				this.button15.Left=40;
				this.button15.Top=190;

				this.button4.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+panel2.Height;
				this.panel2.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height;
				this.button5.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.panel2.Height+this.button3.Height+this.button4.Height;
				this.button6.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.panel2.Height+this.button3.Height+this.button4.Height+this.button5.Height;
				this.button7.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.panel2.Height+this.button3.Height+this.button4.Height+this.button5.Height+this.button6.Height;
			}
			else
			{
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=false;
				this.button14.Visible=true;
				this.button15.Visible=true;
				this.button16.Visible=false;
				this.button17.Visible=false;
				this.button18.Visible=false;
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=false;
				this.button14.Left=40;
				this.button14.Top=45;
				this.button15.Left=40;
				this.button15.Top=120;

				this.panel2.Top=24+this.button1.Height+this.button2.Height+this.button3.Height;
				this.button4.Top=this.button3.Top+this.button3.Height;
				this.button2.Top=this.button1.Top+this.button1.Height;
				this.button3.Top=this.button1.Top+this.button1.Height+this.button2.Height;
				this.button4.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height;
			}
		}

		public void button5_Click(object sender, System.EventArgs e)
		{
			
			if(this.button5.Top<200)
			{
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=false;
				this.button14.Visible=true;
				this.button15.Visible=true;
				this.button16.Visible=false;
				this.button17.Visible=false;
				this.button18.Visible=false;


				
				this.button16.Top=210;
				this.button16.Left=40;
				this.button14.Left=40;
				this.button14.Top=45;
				this.button15.Left=40;
				this.button15.Top=120;
				

				this.button6.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height+this.panel2.Height;
				this.button7.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height+this.button6.Height+this.panel2.Height;
				this.button5.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.panel2.Height;
				this.panel2.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height;
			}
			else
			{
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=false;
				this.button14.Visible=false;
				this.button15.Visible=false;
				this.button16.Visible=true;
				this.button17.Visible=false;
				this.button18.Visible=false;
				
				this.button16.Top=80;
				this.button16.Left=40;

				this.button2.Top=this.button1.Top+this.button1.Height;
				this.button3.Top=this.button1.Top+this.button1.Height+this.button2.Height;
				this.button4.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height;
				this.panel2.Top=24+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height;
				this.button5.Top=this.button4.Top+this.button4.Height;
			}
		}

		public void button6_Click(object sender, System.EventArgs e)
		{
			
			if(this.button6.Top<200)
			{
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=false;
				this.button14.Visible=false;
				this.button15.Visible=false;
				this.button16.Visible=true;
				this.button16.Top=80;
				this.button16.Left=40;
				this.button17.Visible=false;
				this.button18.Visible=false;
				this.button6.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height+this.panel2.Height;
				this.panel2.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height;
				this.button7.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height+this.button6.Height+this.panel2.Height;
			}
			else
			{
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=false;
				this.button14.Visible=false;
				this.button15.Visible=false;
				this.button16.Visible=false;
				this.button17.Visible=true;
				this.button18.Visible=false;
				this.button17.Top=80;
				this.button17.Left=40;
				this.button2.Top=this.button1.Top+this.button1.Height;
				this.button3.Top=this.button1.Top+this.button1.Height+this.button2.Height;
				this.button4.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height;
				this.button5.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height;
				
				this.panel2.Top=24+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height;
				this.button6.Top=this.button5.Top+this.button5.Height;
			}
		}

		public void button7_Click(object sender, System.EventArgs e)
		{
			
			if(this.button7.Top<325)
			{
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=false;
				this.button14.Visible=false;
				this.button15.Visible=false;
				this.button16.Visible=false;
				this.button17.Visible=true;
				this.button18.Visible=false;
				this.button17.Top=80;
				this.button17.Left=40;
				this.button7.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height+this.button6.Height+this.panel2.Height;
				this.panel2.Top=this.button1.Top+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height+this.button6.Height;
			}
			else
			{
				this.button8.Visible=false;
				this.button9.Visible=false;
				this.button10.Visible=false;
				this.button11.Visible=false;
				this.button12.Visible=false;
				this.button13.Visible=false;
				this.button14.Visible=false;
				this.button15.Visible=false;
				this.button16.Visible=false;
				this.button17.Visible=false;
				this.button18.Visible=true;
				this.button18.Left=40;
				this.button18.Top=85;
				this.button2.Top=this.button1.Top+this.button1.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.panel2.Top=24+this.button1.Height+this.button2.Height+this.button3.Height+this.button4.Height+this.button5.Height+this.button6.Height;
				this.button7.Top=this.button6.Top+this.button6.Height;
			}
		}

		public void button1_Click(object sender, System.EventArgs e)
		{
			this.button8.Visible=true;
			this.button9.Visible=true;
			this.button10.Visible=true;
			this.button11.Visible=true;
			this.button12.Visible=false;
			this.button13.Visible=false;
			this.button14.Visible=false;
			this.button15.Visible=false;
			this.button16.Visible=false;
			this.button17.Visible=false;
			this.button18.Visible=false;
			this.button8.Enabled=true;
			this.button9.Enabled=true;
			this.button10.Enabled=true;
			this.button11.Enabled=true;
			this.panel2.Top=24;
			this.button2.Top=this.button1.Top+this.button1.Height+this.panel2.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.button6.Top+this.button6.Height;
		}

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

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

		private void menuItem2_Click(object sender, System.EventArgs e)
		{
			login l=new login();
			//l.MdiParent=this;
			l.Show();
			
			this.mylogin.button3.Enabled=true;
			
			
			
		}

		private void main_Closed(object sender, System.EventArgs e)
		{
			Application.Exit();
		}

		private void menuItem4_Click(object sender, System.EventArgs e)
		{
			userg1 u=new userg1();
			
			u.Show();
			//this.Hide();

		}

		private void menuItem5_Click(object sender, System.EventArgs e)
		{
			password p=new password();
			p.Show();
			//this.Hide();
		}

		private void menuItem6_Click(object sender, System.EventArgs e)
		{
			Application.Exit();
		}

		private void menuItem7_Click(object sender, System.EventArgs e)
		{
			lpgl mylpgl=new lpgl();
			mylpgl.Show();
		}

		private void menuItem19_Click(object sender, System.EventArgs e)
		{
			modilp mymodilp=new modilp();
			mymodilp.Show();
		}

		private void menuItem9_Click(object sender, System.EventArgs e)
		{
			zhgl myzhgl=new zhgl();
			myzhgl.Show();
		}

		private void menuItem11_Click(object sender, System.EventArgs e)
		{
			tcgl mytcgl=new tcgl();
			mytcgl.Show();
		}

		private void menuItem12_Click(object sender, System.EventArgs e)
		{
			tctj mytctj=new tctj();
			mytctj.Show();
		}

		private void menuItem14_Click(object sender, System.EventArgs e)
		{
			wgsf mywgsf=new wgsf();
			mywgsf.Show();
		}

⌨️ 快捷键说明

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