Exemple #1
0
 private void lblAdd_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     FormUser form = new FormUser(null);
     //form.Parent = this;
     form.StartPosition = FormStartPosition.CenterParent;
     form.OnRefresh += form_OnRefresh;
     form.ShowDialog();
 }
Exemple #2
0
 protected void EditUser(Bean.UserBean bean)
 {
     FormUser form = new FormUser(bean);
     form.StartPosition = FormStartPosition.CenterParent;
     form.OnRefresh += form_OnRefresh;
     form.ShowDialog();
 }