public QuoteRequestEvent()
        {
            Elements = new List <QuoteRequestElement>();

            HelpMessages.Add(nameof(EventDate),
                             "This is the date of the event. This may differ from the main event date as some events happen in the run up period.");
            HelpMessages.Add(nameof(LeadWeeks),
                             "This value is normally the maximum lead weeks value of the contained elements but can be overriden here for the event itself.");
            HelpMessages.Add(nameof(Name),
                             "By default this is the name of the underlying template but it can be overriden to give the event more meaningful name.");
            HelpMessages.Add(nameof(Venue),
                             "Events can be held at different venues, a private home for example. To set the venue for an event click Edit Event.");
        }
Example #2
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     if (this.chkResetHelp.Checked)
     {
         HelpMessages.ResetHelp();
     }
     Settings.GetSettings().DefaultPath = this.txtFolder.Text;
     Settings.GetSettings().MaxThreads  = (int)this.numericUpDown1.Value;
     Settings.GetSettings().RowHeight   = (int)this.txtRowHeight.Value;
     Settings.GetSettings().SaveSettings();
     Downloader.GetInstance().MaxConcurrentDownloads = (int)this.numericUpDown1.Value;
     base.Close();
 }
Example #3
0
 private void MainWindow_Load(object sender, EventArgs e)
 {
     HelpMessages.HelpMessage("WelcomeMessage");
 }