示例#1
0
        private void loadFunctions()
        {
            Operation <Funcione> getFunctionsOperation = functionController.getActiveRecords();

            if (getFunctionsOperation.State)
            {
                functions = getFunctionsOperation.Data;
                frmEventFunction.Instance.lstFunction.DataSource = functions;
            }
            else
            {
                MessageBox.Show("Error al cargar la lista de funciones. Por favor reinicie el módulo.", "Error al obtener datos", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }