示例#1
0
 private void ButtonEditeUser_Click(object sender, EventArgs e)
 {
     PopfrmAddUsers users = new PopfrmAddUsers();
     users.Text = "编辑用户";
     if (users.EditeUser(this.dataGridView, this.userDataSet))
     {
         users.Show();
         users.TopMost = true;
     }
 }
示例#2
0
 private void AddUserBarButton_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     PopfrmAddUsers users = new PopfrmAddUsers();
     users.Show();
     users.TopMost = true;
 }
示例#3
0
 private void ButtonAddUser_Click(object sender, EventArgs e)
 {
     PopfrmAddUsers users = new PopfrmAddUsers();
     users.Show();
     users.TopMost = true;
 }
示例#4
0
 private void UserEditBarButton_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     PopfrmAddUsers users = new PopfrmAddUsers
     {
         Text = "�༭�û�"
     };
     if (users.EditeUser(GlobalValue.PopMainForm.dataGridView, GlobalValue.PopMainForm.userDataSet))
     {
         users.Show();
         users.TopMost = true;
     }
 }