Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 private void InitObjects()
 {
     m_objUser = null;
     m_objUserRole = null;
     m_objUserCustomer = null;
 }