示例#1
0
 private void btnSelect_Click(object sender, EventArgs e)
 {
     if (bdgUsers.Current == null)
         return;
     UserForm uf = new UserForm((user)bdgUsers.Current);
     desk.AddTab(uf, "Edição de Usuário", true);
 }
示例#2
0
 private void btnNewUser_ItemClick(object sender, ItemClickEventArgs e)
 {
     UserForm uf = new UserForm(null);
     AddTab(uf, "Novo Usuário", false);
 }