Ejemplo n.º 1
0
 /// <summary>
 /// 场内停车记录
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnpink_Click(object sender, EventArgs e)
 {
     Granity.granityMgr.ParkMgr.FrmQueryManage QueryManage = new FrmQueryManage();
     QueryManage.WindowState = FormWindowState.Normal;
     QueryManage.Show();
 }
 /// <summary>
 /// ��һ�����ܵ�Ԫ
 /// </summary>
 /// <param name="unitName">���ܵ�Ԫ</param>
 private void openUnitWin(string unitName)
 {
     NameObjectList ps = BindManager.getSystemParam();
     ps["name"] = unitName;
     BindManager.setTransParam(ps);
     switch (unitName)
     {
         case "�볡��¼��ͼ��":
             Granity.granityMgr.ParkMgr.FrmInQueryManage InPick = new FrmInQueryManage();
             // Granity.granityMgr.ParkMgr.Report.FrmIntVehicleNumberTotal IntVehicleNumberTotal = new Granity.granityMgr.ParkMgr.Report.FrmIntVehicleNumberTotal();
             InPick.WindowState = FormWindowState.Normal;
             InPick.Show();
             break;
         case "������¼��ͼ��":
             Granity.parkStation.FrmOutQueryManage CarOutTotal = new Granity.parkStation.FrmOutQueryManage();
             //   Granity.granityMgr.ParkMgr.Report.FrmCarOutTotal CarOutTotal = new Granity.granityMgr.ParkMgr.Report.FrmCarOutTotal();
             CarOutTotal.WindowState = FormWindowState.Normal;
             CarOutTotal.Show();
             break;
         case "����ͣ����¼":
             Granity.granityMgr.ParkMgr.FrmQueryManage QueryManage = new FrmQueryManage();
             QueryManage.WindowState = FormWindowState.Normal;
             QueryManage.Show();
             break;
         case "�޸�����":
             Granity.granityMgr.UserManager.FrmUpdatePass pass = new Granity.granityMgr.UserManager.FrmUpdatePass();
             pass.ShowDialog();
             break;
         case "ͣ�����շ�ͳ�Ʊ�":
             Granity.granityMgr.ParkMgr.Report.FrmParkTotal Total = new Granity.granityMgr.ParkMgr.Report.FrmParkTotal();
             Total.WindowState = FormWindowState.Normal;
             Total.Show();
             break;
         default:
             return;
     }
 }