/// <summary>
        /// Handles the Click event of the repositoryItemButtonEdit1 control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        private void repositoryItemButtonEdit1_Click(object sender, EventArgs e)
        {
            frmMacroSetup dlg = new frmMacroSetup(this.model.Source.SelectedSchema().Fields.First());

            dlg.ShowDialog();
            RefreshSummary();
        }
        /// <summary>
        /// Handles the Click event of the repositoryItemButtonEdit1 control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="DevExpress.XtraEditors.Controls.ButtonPressedEventArgs"/> instance containing the event data.</param>
        private void repositoryItemButtonEdit1_Click(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            string key  = gridView1.GetFocusedRowCellDisplayText("Name");
            var    item = dataSource.SelectedSchema().Fields.Where(w => w.Name == key).SingleOrDefault();

            frmMacroSetup dlg = new frmMacroSetup(item);

            dlg.ShowDialog();
            RefreshSummary();
        }