private void SetFocusedViewInstance() { this.InitObjects(); m_objUser = gridViewUsers.GetFocusedRow() as ObjectUser.UserInstance; if (gridViewRoles.DataRowCount > 0) m_objUserRole = gridViewRoles.GetFocusedRow() as ObjectUser.UserRoleInstance; if (gridViewCustomers.DataRowCount > 0) m_objUserCustomer = gridViewCustomers.GetFocusedRow() as ObjectUser.UserCustomerInstance; }
private void InitObjects() { m_objUser = null; m_objUserRole = null; m_objUserCustomer = null; }