コード例 #1
0
 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();
 }
コード例 #2
0
 public AddUserAdminForm(UsersForm uf, bool admin)
 {
     InitializeComponent();
     this.admin = admin;
     this.uf = uf;
 }
コード例 #3
0
 private void btnUsers_Click(object sender, EventArgs e)
 {
     UsersForm uf = new UsersForm(this);
     uf.Show();
     this.Hide();
 }