public AdminUserProfileForm(UsersForm uf, User u) { adminView = true; this.uf = uf; this.u = u; InitializeComponent(); gbChangePassword.Visible = false; gbBalance.Location = new Point(12, 270); this.Size = new Size(this.Width, 470); loadUserInfo(u); disableControls(); }
public AddUserAdminForm(UsersForm uf, bool admin) { InitializeComponent(); this.admin = admin; this.uf = uf; }
private void btnUsers_Click(object sender, EventArgs e) { UsersForm uf = new UsersForm(this); uf.Show(); this.Hide(); }