示例#1
0
 /// <summary>
 /// 双击时间 去浏览页
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void dgvRole_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         string     id = dgvRole.Rows[e.RowIndex].Cells[this.columnId.Name].Value.ToString();
         UCRoleView uc = new UCRoleView();
         uc.uc      = this;
         uc.wStatus = WindowStatus.View;
         uc.id      = id;
         base.addUserControl(uc, "角色管理-浏览", "RoleView" + id, this.Tag.ToString(), this.Name);
     }
 }
示例#2
0
 /// <summary>
 /// 双击时间 去浏览页
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void dgvRole_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         string id = dgvRole.Rows[e.RowIndex].Cells[this.columnId.Name].Value.ToString();
         UCRoleView uc = new UCRoleView();
         uc.uc = this;
         uc.wStatus = WindowStatus.View;
         uc.id = id;
         base.addUserControl(uc, "角色管理-浏览", "RoleView" + id, this.Tag.ToString(), this.Name);
     }
 }