public PortalForm(IPortal prtl, Login lgn, IFTserver ftsrvr) { InitializeComponent(); portal = prtl; ftserver = ftsrvr; login = lgn; //portal.portalEvent += new PortalEvent(HandlePortalEvent); SetWindowTheme(treeView1.Handle, "explorer", null); SetWindowTheme(listView1.Handle, "explorer", null); SetWindowTheme(listView2.Handle, "explorer", null); this.treeView1.HotTracking = true; this.treeView1.FullRowSelect = true; }
public Register(Login lgn,IUser usr) { InitializeComponent(); user = usr; login = lgn; }