Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RecordsCounterFilterWizard"/> class.
 /// </summary>
 /// <param name="rc">The rc.</param>
 /// <param name="entityName">Name of the entity.</param>
 public RecordsCounterFilterWizard(RecordsCounter rc, string entityName)
 {
     InitializeComponent();
     this.entity          = entityName;
     this.rc              = rc;
     labelEntityName.Text = "Filter for entity: " + entity;
     rl = rc.selectedEntities.Find(se => se.Entity == entity);
     xmlEditor1.Text = rl.Filter;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RecordsCounterFilterWizard"/> class.
 /// </summary>
 /// <param name="rc">The rc.</param>
 /// <param name="entityName">Name of the entity.</param>
 public RecordsCounterFilterWizard(RecordsCounter rc, string entityName)
 {
     InitializeComponent();
     this.entity = entityName;
     this.rc = rc;
     labelEntityName.Text = "Filter for entity: " + entity;
     rl = rc.selectedEntities.Find(se => se.Entity == entity);
     xmlEditor1.Text = rl.Filter;
 }
Esempio n. 3
0
 /// <summary>
 /// Handles the Click event of the recordsCounterToolStripMenuItem 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 recordsCounterToolStripMenuItem_Click(object sender, EventArgs e)
 {
     RecordsCounter rc = new RecordsCounter();
     rc.Show();
 }
        /// <summary>
        /// Handles the Click event of the recordsCounterToolStripMenuItem 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 recordsCounterToolStripMenuItem_Click(object sender, EventArgs e)
        {
            RecordsCounter rc = new RecordsCounter();

            rc.Show();
        }