Beispiel #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            AddCustomizableFields frm = new AddCustomizableFields();

            frm.ShowDialog();
            LoadFields();
        }
        private void Edit()
        {
            CustomizableFieldSearchResult entity = olvFieldGroups.SelectedObject as CustomizableFieldSearchResult;
            Debug.Assert(entity != null, "Group of fields is not selected!");
            int entityId = (int)Enum.Parse(typeof(OCustomizableFieldEntities), GetString(entity.EntityName));

            AddCustomizableFields frm = new AddCustomizableFields(entityId);
            frm.ShowDialog();
            LoadFields();

            //if (DialogResult.OK != frm.ShowDialog()) return;

            //ServicesProvider.GetInstance().GetTellerServices().Update(teller);

            olvFieldGroups.RefreshSelectedObjects();
        }
Beispiel #3
0
        private void Edit()
        {
            CustomizableFieldSearchResult entity = olvFieldGroups.SelectedObject as CustomizableFieldSearchResult;

            Debug.Assert(entity != null, "Group of fields is not selected!");
            int entityId = (int)Enum.Parse(typeof(OCustomizableFieldEntities), GetString(entity.EntityName));

            AddCustomizableFields frm = new AddCustomizableFields(entityId);

            frm.ShowDialog();
            LoadFields();

            //if (DialogResult.OK != frm.ShowDialog()) return;

            //ServicesProvider.GetInstance().GetTellerServices().Update(teller);

            olvFieldGroups.RefreshSelectedObjects();
        }
 private void btnAdd_Click(object sender, EventArgs e)
 {
     AddCustomizableFields frm = new AddCustomizableFields();
     frm.ShowDialog();
     LoadFields();
 }