public AddMember() { InitializeComponent(); pmc = new ParkMemberControl(); pc = new ParkControl(); ptc = new ParkTicketControl(); DicValue.typelist = new List <Dictionary <string, int> >(); Getparkinfo(); GetAllMemberType(); }
System.Windows.Threading.DispatcherTimer timer;//动态显示当前时间 public ParkForm() { InitializeComponent(); upc = new UserParkingControl();//实例化车牌数据库函数 ptc = new ParkTicketControl(); ch = new BLL.CamearHelper(); Model.DicValue.TicketTypeList = new System.Collections.Generic.List <System.Collections.Generic.Dictionary <string, int> >(); ch.getsystempath();//获得根目录 Window w = new Window(); startcamera(w); CallbackFuntion(); GetMangerInfo(); w.Close(); }