Click here to Skip to main content
15,895,557 members
Articles / Programming Languages / C#

Recurring Date Generator with Pattern Coding

Rate me:
Please Sign up or sign in to vote.
4.95/5 (51 votes)
4 Sep 2007CPOL4 min read 147K   6.9K   98  
Create recurring dates using a user-defined pattern. Create recurring dates from a coded value that defines what the pattern should be.
namespace RecurrenceTester
{
    partial class DateTester
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DateTester));
            this.label1 = new System.Windows.Forms.Label();
            this.lstResults = new System.Windows.Forms.ListBox();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.radioButton2 = new System.Windows.Forms.RadioButton();
            this.label2 = new System.Windows.Forms.Label();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.radioButton1 = new System.Windows.Forms.RadioButton();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.chkSaturday = new System.Windows.Forms.CheckBox();
            this.chkFriday = new System.Windows.Forms.CheckBox();
            this.chkThursday = new System.Windows.Forms.CheckBox();
            this.chkWednesday = new System.Windows.Forms.CheckBox();
            this.chkTuesday = new System.Windows.Forms.CheckBox();
            this.chkMonday = new System.Windows.Forms.CheckBox();
            this.chkSunday = new System.Windows.Forms.CheckBox();
            this.label14 = new System.Windows.Forms.Label();
            this.txtWeeklyRegenXWeeks = new System.Windows.Forms.TextBox();
            this.label13 = new System.Windows.Forms.Label();
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.label17 = new System.Windows.Forms.Label();
            this.txtMonthlyAdjustedValue = new System.Windows.Forms.TextBox();
            this.label18 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.textBox4 = new System.Windows.Forms.TextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.textBox3 = new System.Windows.Forms.TextBox();
            this.comboBox3 = new System.Windows.Forms.ComboBox();
            this.comboBox2 = new System.Windows.Forms.ComboBox();
            this.radioButton4 = new System.Windows.Forms.RadioButton();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.textBox2 = new System.Windows.Forms.TextBox();
            this.radioButton3 = new System.Windows.Forms.RadioButton();
            this.tabPage4 = new System.Windows.Forms.TabPage();
            this.label16 = new System.Windows.Forms.Label();
            this.txtYearlyAdjustedValue = new System.Windows.Forms.TextBox();
            this.label15 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.comboBox6 = new System.Windows.Forms.ComboBox();
            this.comboBox4 = new System.Windows.Forms.ComboBox();
            this.comboBox5 = new System.Windows.Forms.ComboBox();
            this.radioYearlyCustom = new System.Windows.Forms.RadioButton();
            this.cboYearEveryMonth = new System.Windows.Forms.ComboBox();
            this.txtYearEvery = new System.Windows.Forms.TextBox();
            this.radioYearlyEvery = new System.Windows.Forms.RadioButton();
            this.dtStartDate = new System.Windows.Forms.DateTimePicker();
            this.label8 = new System.Windows.Forms.Label();
            this.radioOccurrences = new System.Windows.Forms.RadioButton();
            this.txtOccurrences = new System.Windows.Forms.TextBox();
            this.label9 = new System.Windows.Forms.Label();
            this.radioEndBy = new System.Windows.Forms.RadioButton();
            this.dtEndDate = new System.Windows.Forms.DateTimePicker();
            this.btnGenDates = new System.Windows.Forms.Button();
            this.txtTotal = new System.Windows.Forms.TextBox();
            this.label10 = new System.Windows.Forms.Label();
            this.label11 = new System.Windows.Forms.Label();
            this.txtStartDate = new System.Windows.Forms.TextBox();
            this.txtEndDate = new System.Windows.Forms.TextBox();
            this.label12 = new System.Windows.Forms.Label();
            this.monthCalendar1 = new System.Windows.Forms.MonthCalendar();
            this.label19 = new System.Windows.Forms.Label();
            this.txtSeriesInfo = new System.Windows.Forms.TextBox();
            this.btnGetNextDate = new System.Windows.Forms.Button();
            this.txtNextDate = new System.Windows.Forms.TextBox();
            this.lstRecurrenceValues = new System.Windows.Forms.ListBox();
            this.label20 = new System.Windows.Forms.Label();
            this.btnGetRecurrenceValues = new System.Windows.Forms.Button();
            this.txtGetRecurrenceValues = new System.Windows.Forms.TextBox();
            this.label21 = new System.Windows.Forms.Label();
            this.txtAdjustedOccurrences = new System.Windows.Forms.TextBox();
            this.label23 = new System.Windows.Forms.Label();
            this.btnGetAdjustedOccurrencesValues = new System.Windows.Forms.Button();
            this.btnGetAdjustedEndDateValues = new System.Windows.Forms.Button();
            this.dtAdjustedDateTime = new System.Windows.Forms.DateTimePicker();
            this.label22 = new System.Windows.Forms.Label();
            this.groupBox3 = new System.Windows.Forms.GroupBox();
            this.groupBox4 = new System.Windows.Forms.GroupBox();
            this.txtAdjustedTotal = new System.Windows.Forms.TextBox();
            this.label28 = new System.Windows.Forms.Label();
            this.tabMain = new System.Windows.Forms.TabControl();
            this.tabFirst = new System.Windows.Forms.TabPage();
            this.tabSecond = new System.Windows.Forms.TabPage();
            this.tabThird = new System.Windows.Forms.TabPage();
            this.button4 = new System.Windows.Forms.Button();
            this.button3 = new System.Windows.Forms.Button();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.label27 = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.label24 = new System.Windows.Forms.Label();
            this.textBox5 = new System.Windows.Forms.TextBox();
            this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
            this.label25 = new System.Windows.Forms.Label();
            this.button2 = new System.Windows.Forms.Button();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label26 = new System.Windows.Forms.Label();
            this.tabProperty = new System.Windows.Forms.TabPage();
            this.pgrpropertyGrid1 = new System.Windows.Forms.PropertyGrid();
            this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
            this.tabControl2 = new System.Windows.Forms.TabControl();
            this.tabPage5 = new System.Windows.Forms.TabPage();
            this.tabPage6 = new System.Windows.Forms.TabPage();
            this.tabPage7 = new System.Windows.Forms.TabPage();
            this.groupBox5 = new System.Windows.Forms.GroupBox();
            this.label29 = new System.Windows.Forms.Label();
            this.cmdAdjustEndDateForStartDate = new System.Windows.Forms.Button();
            this.label30 = new System.Windows.Forms.Label();
            this.textBox6 = new System.Windows.Forms.TextBox();
            this.dateTimePickerStartDateEndDate = new System.Windows.Forms.DateTimePicker();
            this.label31 = new System.Windows.Forms.Label();
            this.cmdAdjustOccurrencesForStartDate = new System.Windows.Forms.Button();
            this.label32 = new System.Windows.Forms.Label();
            this.dateTimePickerStartDate = new System.Windows.Forms.DateTimePicker();
            this.chkUseAdjustedStartDate = new System.Windows.Forms.CheckBox();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.tabPage3.SuspendLayout();
            this.tabPage4.SuspendLayout();
            this.groupBox3.SuspendLayout();
            this.groupBox4.SuspendLayout();
            this.tabMain.SuspendLayout();
            this.tabFirst.SuspendLayout();
            this.tabSecond.SuspendLayout();
            this.tabThird.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.tabProperty.SuspendLayout();
            this.tabControl2.SuspendLayout();
            this.tabPage5.SuspendLayout();
            this.tabPage6.SuspendLayout();
            this.tabPage7.SuspendLayout();
            this.groupBox5.SuspendLayout();
            this.SuspendLayout();
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(6, 17);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(195, 13);
            this.label1.TabIndex = 1;
            this.label1.Text = "Results:  Select item to view in calendar";
            // 
            // lstResults
            // 
            this.lstResults.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lstResults.FormattingEnabled = true;
            this.lstResults.ItemHeight = 14;
            this.lstResults.Location = new System.Drawing.Point(9, 33);
            this.lstResults.Name = "lstResults";
            this.lstResults.ScrollAlwaysVisible = true;
            this.lstResults.Size = new System.Drawing.Size(237, 270);
            this.lstResults.TabIndex = 2;
            this.lstResults.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Controls.Add(this.tabPage4);
            this.tabControl1.Location = new System.Drawing.Point(6, 6);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(400, 124);
            this.tabControl1.TabIndex = 3;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.radioButton2);
            this.tabPage1.Controls.Add(this.label2);
            this.tabPage1.Controls.Add(this.textBox1);
            this.tabPage1.Controls.Add(this.radioButton1);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(392, 98);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "Daily";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // radioButton2
            // 
            this.radioButton2.AutoSize = true;
            this.radioButton2.Location = new System.Drawing.Point(6, 42);
            this.radioButton2.Name = "radioButton2";
            this.radioButton2.Size = new System.Drawing.Size(101, 17);
            this.radioButton2.TabIndex = 3;
            this.radioButton2.Text = "Every Weekday";
            this.radioButton2.UseVisualStyleBackColor = true;
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(113, 11);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(35, 13);
            this.label2.TabIndex = 2;
            this.label2.Text = "day(s)";
            // 
            // textBox1
            // 
            this.textBox1.Location = new System.Drawing.Point(62, 8);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(45, 20);
            this.textBox1.TabIndex = 1;
            this.textBox1.Text = "1";
            // 
            // radioButton1
            // 
            this.radioButton1.AutoSize = true;
            this.radioButton1.Checked = true;
            this.radioButton1.Location = new System.Drawing.Point(6, 9);
            this.radioButton1.Name = "radioButton1";
            this.radioButton1.Size = new System.Drawing.Size(52, 17);
            this.radioButton1.TabIndex = 0;
            this.radioButton1.TabStop = true;
            this.radioButton1.Text = "Every";
            this.radioButton1.UseVisualStyleBackColor = true;
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.chkSaturday);
            this.tabPage2.Controls.Add(this.chkFriday);
            this.tabPage2.Controls.Add(this.chkThursday);
            this.tabPage2.Controls.Add(this.chkWednesday);
            this.tabPage2.Controls.Add(this.chkTuesday);
            this.tabPage2.Controls.Add(this.chkMonday);
            this.tabPage2.Controls.Add(this.chkSunday);
            this.tabPage2.Controls.Add(this.label14);
            this.tabPage2.Controls.Add(this.txtWeeklyRegenXWeeks);
            this.tabPage2.Controls.Add(this.label13);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(392, 98);
            this.tabPage2.TabIndex = 1;
            this.tabPage2.Text = "Weekly";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // chkSaturday
            // 
            this.chkSaturday.AutoSize = true;
            this.chkSaturday.ForeColor = System.Drawing.Color.Red;
            this.chkSaturday.Location = new System.Drawing.Point(148, 53);
            this.chkSaturday.Name = "chkSaturday";
            this.chkSaturday.Size = new System.Drawing.Size(68, 17);
            this.chkSaturday.TabIndex = 3;
            this.chkSaturday.Text = "Saturday";
            this.chkSaturday.UseVisualStyleBackColor = true;
            // 
            // chkFriday
            // 
            this.chkFriday.AutoSize = true;
            this.chkFriday.Location = new System.Drawing.Point(86, 53);
            this.chkFriday.Name = "chkFriday";
            this.chkFriday.Size = new System.Drawing.Size(54, 17);
            this.chkFriday.TabIndex = 3;
            this.chkFriday.Text = "Friday";
            this.chkFriday.UseVisualStyleBackColor = true;
            // 
            // chkThursday
            // 
            this.chkThursday.AutoSize = true;
            this.chkThursday.Location = new System.Drawing.Point(10, 53);
            this.chkThursday.Name = "chkThursday";
            this.chkThursday.Size = new System.Drawing.Size(70, 17);
            this.chkThursday.TabIndex = 3;
            this.chkThursday.Text = "Thursday";
            this.chkThursday.UseVisualStyleBackColor = true;
            // 
            // chkWednesday
            // 
            this.chkWednesday.AutoSize = true;
            this.chkWednesday.Location = new System.Drawing.Point(221, 30);
            this.chkWednesday.Name = "chkWednesday";
            this.chkWednesday.Size = new System.Drawing.Size(83, 17);
            this.chkWednesday.TabIndex = 3;
            this.chkWednesday.Text = "Wednesday";
            this.chkWednesday.UseVisualStyleBackColor = true;
            // 
            // chkTuesday
            // 
            this.chkTuesday.AutoSize = true;
            this.chkTuesday.Location = new System.Drawing.Point(148, 30);
            this.chkTuesday.Name = "chkTuesday";
            this.chkTuesday.Size = new System.Drawing.Size(67, 17);
            this.chkTuesday.TabIndex = 3;
            this.chkTuesday.Text = "Tuesday";
            this.chkTuesday.UseVisualStyleBackColor = true;
            // 
            // chkMonday
            // 
            this.chkMonday.AutoSize = true;
            this.chkMonday.Location = new System.Drawing.Point(78, 30);
            this.chkMonday.Name = "chkMonday";
            this.chkMonday.Size = new System.Drawing.Size(64, 17);
            this.chkMonday.TabIndex = 3;
            this.chkMonday.Text = "Monday";
            this.chkMonday.UseVisualStyleBackColor = true;
            // 
            // chkSunday
            // 
            this.chkSunday.AutoSize = true;
            this.chkSunday.ForeColor = System.Drawing.Color.Red;
            this.chkSunday.Location = new System.Drawing.Point(10, 30);
            this.chkSunday.Name = "chkSunday";
            this.chkSunday.Size = new System.Drawing.Size(62, 17);
            this.chkSunday.TabIndex = 3;
            this.chkSunday.Text = "Sunday";
            this.chkSunday.UseVisualStyleBackColor = true;
            // 
            // label14
            // 
            this.label14.AutoSize = true;
            this.label14.Location = new System.Drawing.Point(116, 7);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(62, 13);
            this.label14.TabIndex = 2;
            this.label14.Text = "week(s) on:";
            // 
            // txtWeeklyRegenXWeeks
            // 
            this.txtWeeklyRegenXWeeks.Location = new System.Drawing.Point(78, 4);
            this.txtWeeklyRegenXWeeks.Name = "txtWeeklyRegenXWeeks";
            this.txtWeeklyRegenXWeeks.Size = new System.Drawing.Size(32, 20);
            this.txtWeeklyRegenXWeeks.TabIndex = 1;
            this.txtWeeklyRegenXWeeks.Text = "1";
            // 
            // label13
            // 
            this.label13.AutoSize = true;
            this.label13.Location = new System.Drawing.Point(7, 7);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(65, 13);
            this.label13.TabIndex = 0;
            this.label13.Text = "Recur every";
            // 
            // tabPage3
            // 
            this.tabPage3.Controls.Add(this.label17);
            this.tabPage3.Controls.Add(this.txtMonthlyAdjustedValue);
            this.tabPage3.Controls.Add(this.label18);
            this.tabPage3.Controls.Add(this.label6);
            this.tabPage3.Controls.Add(this.textBox4);
            this.tabPage3.Controls.Add(this.label5);
            this.tabPage3.Controls.Add(this.textBox3);
            this.tabPage3.Controls.Add(this.comboBox3);
            this.tabPage3.Controls.Add(this.comboBox2);
            this.tabPage3.Controls.Add(this.radioButton4);
            this.tabPage3.Controls.Add(this.label4);
            this.tabPage3.Controls.Add(this.label3);
            this.tabPage3.Controls.Add(this.textBox2);
            this.tabPage3.Controls.Add(this.radioButton3);
            this.tabPage3.Location = new System.Drawing.Point(4, 22);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Size = new System.Drawing.Size(392, 98);
            this.tabPage3.TabIndex = 2;
            this.tabPage3.Text = "Monthly";
            this.tabPage3.UseVisualStyleBackColor = true;
            // 
            // label17
            // 
            this.label17.AutoSize = true;
            this.label17.Location = new System.Drawing.Point(238, 69);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(31, 13);
            this.label17.TabIndex = 19;
            this.label17.Text = "Days";
            // 
            // txtMonthlyAdjustedValue
            // 
            this.txtMonthlyAdjustedValue.Location = new System.Drawing.Point(190, 66);
            this.txtMonthlyAdjustedValue.Name = "txtMonthlyAdjustedValue";
            this.txtMonthlyAdjustedValue.Size = new System.Drawing.Size(42, 20);
            this.txtMonthlyAdjustedValue.TabIndex = 18;
            this.txtMonthlyAdjustedValue.Text = "0";
            // 
            // label18
            // 
            this.label18.AutoSize = true;
            this.label18.Location = new System.Drawing.Point(126, 69);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(60, 13);
            this.label18.TabIndex = 17;
            this.label18.Text = "Plus/Minus";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(238, 44);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(45, 13);
            this.label6.TabIndex = 11;
            this.label6.Text = "of every";
            // 
            // textBox4
            // 
            this.textBox4.Location = new System.Drawing.Point(53, 6);
            this.textBox4.Name = "textBox4";
            this.textBox4.Size = new System.Drawing.Size(42, 20);
            this.textBox4.TabIndex = 10;
            // 
            // label5
            // 
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(337, 44);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(47, 13);
            this.label5.TabIndex = 9;
            this.label5.Text = "month(s)";
            // 
            // textBox3
            // 
            this.textBox3.Location = new System.Drawing.Point(289, 40);
            this.textBox3.Name = "textBox3";
            this.textBox3.Size = new System.Drawing.Size(42, 20);
            this.textBox3.TabIndex = 8;
            this.textBox3.Text = "1";
            // 
            // comboBox3
            // 
            this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox3.FormattingEnabled = true;
            this.comboBox3.Items.AddRange(new object[] {
            "day",
            "weekday",
            "weekend day",
            "Sunday",
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday",
            "Saturday"});
            this.comboBox3.Location = new System.Drawing.Point(137, 39);
            this.comboBox3.Name = "comboBox3";
            this.comboBox3.Size = new System.Drawing.Size(95, 21);
            this.comboBox3.TabIndex = 7;
            // 
            // comboBox2
            // 
            this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox2.FormattingEnabled = true;
            this.comboBox2.Items.AddRange(new object[] {
            "First",
            "Second",
            "Third",
            "Fourth",
            "Last"});
            this.comboBox2.Location = new System.Drawing.Point(53, 39);
            this.comboBox2.Name = "comboBox2";
            this.comboBox2.Size = new System.Drawing.Size(78, 21);
            this.comboBox2.TabIndex = 6;
            // 
            // radioButton4
            // 
            this.radioButton4.AutoSize = true;
            this.radioButton4.Location = new System.Drawing.Point(3, 40);
            this.radioButton4.Name = "radioButton4";
            this.radioButton4.Size = new System.Drawing.Size(44, 17);
            this.radioButton4.TabIndex = 5;
            this.radioButton4.Text = "The";
            this.radioButton4.UseVisualStyleBackColor = true;
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(192, 11);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(47, 13);
            this.label4.TabIndex = 4;
            this.label4.Text = "month(s)";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(101, 11);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(45, 13);
            this.label3.TabIndex = 3;
            this.label3.Text = "of every";
            // 
            // textBox2
            // 
            this.textBox2.Location = new System.Drawing.Point(152, 6);
            this.textBox2.Name = "textBox2";
            this.textBox2.Size = new System.Drawing.Size(34, 20);
            this.textBox2.TabIndex = 2;
            this.textBox2.Text = "1";
            // 
            // radioButton3
            // 
            this.radioButton3.AutoSize = true;
            this.radioButton3.Checked = true;
            this.radioButton3.Location = new System.Drawing.Point(3, 7);
            this.radioButton3.Name = "radioButton3";
            this.radioButton3.Size = new System.Drawing.Size(44, 17);
            this.radioButton3.TabIndex = 0;
            this.radioButton3.TabStop = true;
            this.radioButton3.Text = "Day";
            this.radioButton3.UseVisualStyleBackColor = true;
            // 
            // tabPage4
            // 
            this.tabPage4.Controls.Add(this.label16);
            this.tabPage4.Controls.Add(this.txtYearlyAdjustedValue);
            this.tabPage4.Controls.Add(this.label15);
            this.tabPage4.Controls.Add(this.label7);
            this.tabPage4.Controls.Add(this.comboBox6);
            this.tabPage4.Controls.Add(this.comboBox4);
            this.tabPage4.Controls.Add(this.comboBox5);
            this.tabPage4.Controls.Add(this.radioYearlyCustom);
            this.tabPage4.Controls.Add(this.cboYearEveryMonth);
            this.tabPage4.Controls.Add(this.txtYearEvery);
            this.tabPage4.Controls.Add(this.radioYearlyEvery);
            this.tabPage4.Location = new System.Drawing.Point(4, 22);
            this.tabPage4.Name = "tabPage4";
            this.tabPage4.Size = new System.Drawing.Size(392, 98);
            this.tabPage4.TabIndex = 3;
            this.tabPage4.Text = "Yearly";
            this.tabPage4.UseVisualStyleBackColor = true;
            // 
            // label16
            // 
            this.label16.AutoSize = true;
            this.label16.Location = new System.Drawing.Point(254, 72);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(31, 13);
            this.label16.TabIndex = 16;
            this.label16.Text = "Days";
            // 
            // txtYearlyAdjustedValue
            // 
            this.txtYearlyAdjustedValue.Location = new System.Drawing.Point(206, 69);
            this.txtYearlyAdjustedValue.Name = "txtYearlyAdjustedValue";
            this.txtYearlyAdjustedValue.Size = new System.Drawing.Size(42, 20);
            this.txtYearlyAdjustedValue.TabIndex = 15;
            this.txtYearlyAdjustedValue.Text = "0";
            // 
            // label15
            // 
            this.label15.AutoSize = true;
            this.label15.Location = new System.Drawing.Point(142, 72);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(60, 13);
            this.label15.TabIndex = 14;
            this.label15.Text = "Plus/Minus";
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(246, 49);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(16, 13);
            this.label7.TabIndex = 13;
            this.label7.Text = "of";
            // 
            // comboBox6
            // 
            this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox6.FormattingEnabled = true;
            this.comboBox6.Items.AddRange(new object[] {
            "January",
            "February",
            "March",
            "April",
            "May",
            "June",
            "July",
            "August",
            "September",
            "October",
            "November",
            "December"});
            this.comboBox6.Location = new System.Drawing.Point(268, 43);
            this.comboBox6.Name = "comboBox6";
            this.comboBox6.Size = new System.Drawing.Size(95, 21);
            this.comboBox6.TabIndex = 12;
            // 
            // comboBox4
            // 
            this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox4.FormattingEnabled = true;
            this.comboBox4.Items.AddRange(new object[] {
            "day",
            "weekday",
            "weekend day",
            "Sunday",
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday",
            "Saturday"});
            this.comboBox4.Location = new System.Drawing.Point(145, 43);
            this.comboBox4.Name = "comboBox4";
            this.comboBox4.Size = new System.Drawing.Size(95, 21);
            this.comboBox4.TabIndex = 11;
            // 
            // comboBox5
            // 
            this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox5.FormattingEnabled = true;
            this.comboBox5.Items.AddRange(new object[] {
            "First",
            "Second",
            "Third",
            "Fourth",
            "Last"});
            this.comboBox5.Location = new System.Drawing.Point(61, 43);
            this.comboBox5.Name = "comboBox5";
            this.comboBox5.Size = new System.Drawing.Size(78, 21);
            this.comboBox5.TabIndex = 10;
            // 
            // radioYearlyCustom
            // 
            this.radioYearlyCustom.AutoSize = true;
            this.radioYearlyCustom.Location = new System.Drawing.Point(3, 47);
            this.radioYearlyCustom.Name = "radioYearlyCustom";
            this.radioYearlyCustom.Size = new System.Drawing.Size(44, 17);
            this.radioYearlyCustom.TabIndex = 9;
            this.radioYearlyCustom.TabStop = true;
            this.radioYearlyCustom.Text = "The";
            this.radioYearlyCustom.UseVisualStyleBackColor = true;
            // 
            // cboYearEveryMonth
            // 
            this.cboYearEveryMonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cboYearEveryMonth.FormattingEnabled = true;
            this.cboYearEveryMonth.Items.AddRange(new object[] {
            "January",
            "February",
            "March",
            "April",
            "May",
            "June",
            "July",
            "August",
            "September",
            "October",
            "November",
            "December"});
            this.cboYearEveryMonth.Location = new System.Drawing.Point(61, 6);
            this.cboYearEveryMonth.Name = "cboYearEveryMonth";
            this.cboYearEveryMonth.Size = new System.Drawing.Size(95, 21);
            this.cboYearEveryMonth.TabIndex = 8;
            // 
            // txtYearEvery
            // 
            this.txtYearEvery.Location = new System.Drawing.Point(162, 7);
            this.txtYearEvery.Name = "txtYearEvery";
            this.txtYearEvery.Size = new System.Drawing.Size(42, 20);
            this.txtYearEvery.TabIndex = 3;
            // 
            // radioYearlyEvery
            // 
            this.radioYearlyEvery.AutoSize = true;
            this.radioYearlyEvery.Checked = true;
            this.radioYearlyEvery.Location = new System.Drawing.Point(3, 7);
            this.radioYearlyEvery.Name = "radioYearlyEvery";
            this.radioYearlyEvery.Size = new System.Drawing.Size(52, 17);
            this.radioYearlyEvery.TabIndex = 0;
            this.radioYearlyEvery.TabStop = true;
            this.radioYearlyEvery.Text = "Every";
            this.radioYearlyEvery.UseVisualStyleBackColor = true;
            // 
            // dtStartDate
            // 
            this.dtStartDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtStartDate.Location = new System.Drawing.Point(71, 136);
            this.dtStartDate.Name = "dtStartDate";
            this.dtStartDate.Size = new System.Drawing.Size(113, 20);
            this.dtStartDate.TabIndex = 4;
            // 
            // label8
            // 
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(7, 140);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(58, 13);
            this.label8.TabIndex = 5;
            this.label8.Text = "Start Date:";
            // 
            // radioOccurrences
            // 
            this.radioOccurrences.AutoSize = true;
            this.radioOccurrences.Checked = true;
            this.radioOccurrences.Location = new System.Drawing.Point(215, 140);
            this.radioOccurrences.Name = "radioOccurrences";
            this.radioOccurrences.Size = new System.Drawing.Size(71, 17);
            this.radioOccurrences.TabIndex = 6;
            this.radioOccurrences.TabStop = true;
            this.radioOccurrences.Text = "End after:";
            this.radioOccurrences.UseVisualStyleBackColor = true;
            // 
            // txtOccurrences
            // 
            this.txtOccurrences.Location = new System.Drawing.Point(289, 137);
            this.txtOccurrences.Name = "txtOccurrences";
            this.txtOccurrences.Size = new System.Drawing.Size(42, 20);
            this.txtOccurrences.TabIndex = 7;
            this.txtOccurrences.Text = "10";
            // 
            // label9
            // 
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(337, 142);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(66, 13);
            this.label9.TabIndex = 8;
            this.label9.Text = "occurrences";
            // 
            // radioEndBy
            // 
            this.radioEndBy.AutoSize = true;
            this.radioEndBy.Location = new System.Drawing.Point(215, 163);
            this.radioEndBy.Name = "radioEndBy";
            this.radioEndBy.Size = new System.Drawing.Size(62, 17);
            this.radioEndBy.TabIndex = 9;
            this.radioEndBy.Text = "End By:";
            this.radioEndBy.UseVisualStyleBackColor = true;
            // 
            // dtEndDate
            // 
            this.dtEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtEndDate.Location = new System.Drawing.Point(289, 161);
            this.dtEndDate.Name = "dtEndDate";
            this.dtEndDate.Size = new System.Drawing.Size(113, 20);
            this.dtEndDate.TabIndex = 10;
            // 
            // btnGenDates
            // 
            this.btnGenDates.Location = new System.Drawing.Point(272, 192);
            this.btnGenDates.Name = "btnGenDates";
            this.btnGenDates.Size = new System.Drawing.Size(134, 23);
            this.btnGenDates.TabIndex = 11;
            this.btnGenDates.Text = "Generate Dates";
            this.btnGenDates.UseVisualStyleBackColor = true;
            this.btnGenDates.Click += new System.EventHandler(this.button1_Click);
            // 
            // txtTotal
            // 
            this.txtTotal.Location = new System.Drawing.Point(252, 283);
            this.txtTotal.Name = "txtTotal";
            this.txtTotal.ReadOnly = true;
            this.txtTotal.Size = new System.Drawing.Size(87, 20);
            this.txtTotal.TabIndex = 12;
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(249, 267);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(87, 13);
            this.label10.TabIndex = 13;
            this.label10.Text = "Total Generated:";
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(252, 33);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(55, 13);
            this.label11.TabIndex = 14;
            this.label11.Text = "First Date:";
            // 
            // txtStartDate
            // 
            this.txtStartDate.Location = new System.Drawing.Point(252, 49);
            this.txtStartDate.Name = "txtStartDate";
            this.txtStartDate.ReadOnly = true;
            this.txtStartDate.Size = new System.Drawing.Size(87, 20);
            this.txtStartDate.TabIndex = 15;
            // 
            // txtEndDate
            // 
            this.txtEndDate.Location = new System.Drawing.Point(252, 92);
            this.txtEndDate.Name = "txtEndDate";
            this.txtEndDate.ReadOnly = true;
            this.txtEndDate.Size = new System.Drawing.Size(87, 20);
            this.txtEndDate.TabIndex = 17;
            // 
            // label12
            // 
            this.label12.AutoSize = true;
            this.label12.Location = new System.Drawing.Point(252, 76);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(56, 13);
            this.label12.TabIndex = 16;
            this.label12.Text = "Last Date:";
            // 
            // monthCalendar1
            // 
            this.monthCalendar1.CalendarDimensions = new System.Drawing.Size(1, 2);
            this.monthCalendar1.Location = new System.Drawing.Point(368, 12);
            this.monthCalendar1.Name = "monthCalendar1";
            this.monthCalendar1.TabIndex = 18;
            // 
            // label19
            // 
            this.label19.AutoSize = true;
            this.label19.Location = new System.Drawing.Point(6, 313);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(60, 13);
            this.label19.TabIndex = 19;
            this.label19.Text = "Series Info:";
            // 
            // txtSeriesInfo
            // 
            this.txtSeriesInfo.Location = new System.Drawing.Point(9, 329);
            this.txtSeriesInfo.Name = "txtSeriesInfo";
            this.txtSeriesInfo.ReadOnly = true;
            this.txtSeriesInfo.Size = new System.Drawing.Size(237, 20);
            this.txtSeriesInfo.TabIndex = 20;
            // 
            // btnGetNextDate
            // 
            this.btnGetNextDate.Enabled = false;
            this.btnGetNextDate.Location = new System.Drawing.Point(9, 355);
            this.btnGetNextDate.Name = "btnGetNextDate";
            this.btnGetNextDate.Size = new System.Drawing.Size(237, 23);
            this.btnGetNextDate.TabIndex = 21;
            this.btnGetNextDate.Text = "Get Next Date in the Series";
            this.btnGetNextDate.UseVisualStyleBackColor = true;
            this.btnGetNextDate.Click += new System.EventHandler(this.button2_Click);
            // 
            // txtNextDate
            // 
            this.txtNextDate.Location = new System.Drawing.Point(9, 383);
            this.txtNextDate.Name = "txtNextDate";
            this.txtNextDate.ReadOnly = true;
            this.txtNextDate.Size = new System.Drawing.Size(237, 20);
            this.txtNextDate.TabIndex = 22;
            // 
            // lstRecurrenceValues
            // 
            this.lstRecurrenceValues.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lstRecurrenceValues.FormattingEnabled = true;
            this.lstRecurrenceValues.ItemHeight = 14;
            this.lstRecurrenceValues.Location = new System.Drawing.Point(9, 32);
            this.lstRecurrenceValues.Name = "lstRecurrenceValues";
            this.lstRecurrenceValues.ScrollAlwaysVisible = true;
            this.lstRecurrenceValues.Size = new System.Drawing.Size(236, 116);
            this.lstRecurrenceValues.TabIndex = 23;
            // 
            // label20
            // 
            this.label20.AutoSize = true;
            this.label20.Location = new System.Drawing.Point(6, 16);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(206, 13);
            this.label20.TabIndex = 24;
            this.label20.Text = "Recurrence Values from Series Info value:";
            // 
            // btnGetRecurrenceValues
            // 
            this.btnGetRecurrenceValues.Enabled = false;
            this.btnGetRecurrenceValues.Location = new System.Drawing.Point(264, 87);
            this.btnGetRecurrenceValues.Name = "btnGetRecurrenceValues";
            this.btnGetRecurrenceValues.Size = new System.Drawing.Size(236, 23);
            this.btnGetRecurrenceValues.TabIndex = 25;
            this.btnGetRecurrenceValues.Text = "Get Recurrence Values from Series Info";
            this.btnGetRecurrenceValues.UseVisualStyleBackColor = true;
            this.btnGetRecurrenceValues.Click += new System.EventHandler(this.btnGetRecurrenceValues_Click);
            // 
            // txtGetRecurrenceValues
            // 
            this.txtGetRecurrenceValues.Location = new System.Drawing.Point(264, 61);
            this.txtGetRecurrenceValues.Name = "txtGetRecurrenceValues";
            this.txtGetRecurrenceValues.Size = new System.Drawing.Size(236, 20);
            this.txtGetRecurrenceValues.TabIndex = 26;
            this.txtGetRecurrenceValues.TextChanged += new System.EventHandler(this.txtGetRecurrenceValues_TextChanged);
            // 
            // label21
            // 
            this.label21.AutoSize = true;
            this.label21.Location = new System.Drawing.Point(264, 19);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(240, 39);
            this.label21.TabIndex = 27;
            this.label21.Text = "Series Info (initially copied from original series info)\r\n\r\nAdjust value to view " +
                "different recurring patterns:";
            // 
            // txtAdjustedOccurrences
            // 
            this.txtAdjustedOccurrences.Location = new System.Drawing.Point(197, 54);
            this.txtAdjustedOccurrences.Name = "txtAdjustedOccurrences";
            this.txtAdjustedOccurrences.Size = new System.Drawing.Size(47, 20);
            this.txtAdjustedOccurrences.TabIndex = 29;
            this.txtAdjustedOccurrences.Text = "100";
            // 
            // label23
            // 
            this.label23.AutoSize = true;
            this.label23.Location = new System.Drawing.Point(7, 57);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(165, 13);
            this.label23.TabIndex = 30;
            this.label23.Text = "Adjusted number of Occurrences:";
            // 
            // btnGetAdjustedOccurrencesValues
            // 
            this.btnGetAdjustedOccurrencesValues.Enabled = false;
            this.btnGetAdjustedOccurrencesValues.Location = new System.Drawing.Point(253, 52);
            this.btnGetAdjustedOccurrencesValues.Name = "btnGetAdjustedOccurrencesValues";
            this.btnGetAdjustedOccurrencesValues.Size = new System.Drawing.Size(244, 23);
            this.btnGetAdjustedOccurrencesValues.TabIndex = 31;
            this.btnGetAdjustedOccurrencesValues.Text = "Get Values with Adjusted No. of Occurrences";
            this.btnGetAdjustedOccurrencesValues.UseVisualStyleBackColor = true;
            this.btnGetAdjustedOccurrencesValues.Click += new System.EventHandler(this.button1_Click_1);
            // 
            // btnGetAdjustedEndDateValues
            // 
            this.btnGetAdjustedEndDateValues.Enabled = false;
            this.btnGetAdjustedEndDateValues.Location = new System.Drawing.Point(253, 81);
            this.btnGetAdjustedEndDateValues.Name = "btnGetAdjustedEndDateValues";
            this.btnGetAdjustedEndDateValues.Size = new System.Drawing.Size(244, 23);
            this.btnGetAdjustedEndDateValues.TabIndex = 32;
            this.btnGetAdjustedEndDateValues.Text = "Get Values with Adjusted End Date";
            this.btnGetAdjustedEndDateValues.UseVisualStyleBackColor = true;
            this.btnGetAdjustedEndDateValues.Click += new System.EventHandler(this.button2_Click_1);
            // 
            // dtAdjustedDateTime
            // 
            this.dtAdjustedDateTime.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtAdjustedDateTime.Location = new System.Drawing.Point(147, 82);
            this.dtAdjustedDateTime.Name = "dtAdjustedDateTime";
            this.dtAdjustedDateTime.Size = new System.Drawing.Size(97, 20);
            this.dtAdjustedDateTime.TabIndex = 33;
            // 
            // label22
            // 
            this.label22.AutoSize = true;
            this.label22.Location = new System.Drawing.Point(7, 86);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(99, 13);
            this.label22.TabIndex = 34;
            this.label22.Text = "Adjusted End Date:";
            // 
            // groupBox3
            // 
            this.groupBox3.Controls.Add(this.label1);
            this.groupBox3.Controls.Add(this.lstResults);
            this.groupBox3.Controls.Add(this.txtTotal);
            this.groupBox3.Controls.Add(this.label10);
            this.groupBox3.Controls.Add(this.label11);
            this.groupBox3.Controls.Add(this.txtStartDate);
            this.groupBox3.Controls.Add(this.label12);
            this.groupBox3.Controls.Add(this.txtEndDate);
            this.groupBox3.Controls.Add(this.label19);
            this.groupBox3.Controls.Add(this.txtSeriesInfo);
            this.groupBox3.Controls.Add(this.btnGetNextDate);
            this.groupBox3.Controls.Add(this.txtNextDate);
            this.groupBox3.Location = new System.Drawing.Point(6, 6);
            this.groupBox3.Name = "groupBox3";
            this.groupBox3.Size = new System.Drawing.Size(350, 411);
            this.groupBox3.TabIndex = 0;
            this.groupBox3.TabStop = false;
            this.groupBox3.Text = "Generated Results";
            // 
            // groupBox4
            // 
            this.groupBox4.Controls.Add(this.txtAdjustedTotal);
            this.groupBox4.Controls.Add(this.label20);
            this.groupBox4.Controls.Add(this.label28);
            this.groupBox4.Controls.Add(this.lstRecurrenceValues);
            this.groupBox4.Location = new System.Drawing.Point(3, 3);
            this.groupBox4.Name = "groupBox4";
            this.groupBox4.Size = new System.Drawing.Size(255, 179);
            this.groupBox4.TabIndex = 1;
            this.groupBox4.TabStop = false;
            this.groupBox4.Text = "Adjusted Results";
            // 
            // txtAdjustedTotal
            // 
            this.txtAdjustedTotal.Location = new System.Drawing.Point(158, 156);
            this.txtAdjustedTotal.Name = "txtAdjustedTotal";
            this.txtAdjustedTotal.ReadOnly = true;
            this.txtAdjustedTotal.Size = new System.Drawing.Size(87, 20);
            this.txtAdjustedTotal.TabIndex = 29;
            // 
            // label28
            // 
            this.label28.AutoSize = true;
            this.label28.Location = new System.Drawing.Point(65, 159);
            this.label28.Name = "label28";
            this.label28.Size = new System.Drawing.Size(87, 13);
            this.label28.TabIndex = 30;
            this.label28.Text = "Total Generated:";
            // 
            // tabMain
            // 
            this.tabMain.Controls.Add(this.tabFirst);
            this.tabMain.Controls.Add(this.tabSecond);
            this.tabMain.Controls.Add(this.tabThird);
            this.tabMain.Controls.Add(this.tabProperty);
            this.tabMain.Location = new System.Drawing.Point(4, 6);
            this.tabMain.Name = "tabMain";
            this.tabMain.SelectedIndex = 0;
            this.tabMain.Size = new System.Drawing.Size(570, 463);
            this.tabMain.TabIndex = 37;
            // 
            // tabFirst
            // 
            this.tabFirst.Controls.Add(this.tabControl1);
            this.tabFirst.Controls.Add(this.dtStartDate);
            this.tabFirst.Controls.Add(this.label8);
            this.tabFirst.Controls.Add(this.btnGenDates);
            this.tabFirst.Controls.Add(this.radioOccurrences);
            this.tabFirst.Controls.Add(this.dtEndDate);
            this.tabFirst.Controls.Add(this.txtOccurrences);
            this.tabFirst.Controls.Add(this.radioEndBy);
            this.tabFirst.Controls.Add(this.label9);
            this.tabFirst.Location = new System.Drawing.Point(4, 22);
            this.tabFirst.Name = "tabFirst";
            this.tabFirst.Padding = new System.Windows.Forms.Padding(3);
            this.tabFirst.Size = new System.Drawing.Size(562, 437);
            this.tabFirst.TabIndex = 0;
            this.tabFirst.Text = "Recurring Date Definition";
            this.tabFirst.UseVisualStyleBackColor = true;
            // 
            // tabSecond
            // 
            this.tabSecond.Controls.Add(this.groupBox3);
            this.tabSecond.Controls.Add(this.monthCalendar1);
            this.tabSecond.Location = new System.Drawing.Point(4, 22);
            this.tabSecond.Name = "tabSecond";
            this.tabSecond.Padding = new System.Windows.Forms.Padding(3);
            this.tabSecond.Size = new System.Drawing.Size(562, 437);
            this.tabSecond.TabIndex = 1;
            this.tabSecond.Text = "Recurring Dates Workspace";
            this.tabSecond.UseVisualStyleBackColor = true;
            // 
            // tabThird
            // 
            this.tabThird.Controls.Add(this.tabControl2);
            this.tabThird.Controls.Add(this.button4);
            this.tabThird.Controls.Add(this.button3);
            this.tabThird.Controls.Add(this.groupBox4);
            this.tabThird.Controls.Add(this.txtGetRecurrenceValues);
            this.tabThird.Controls.Add(this.label21);
            this.tabThird.Controls.Add(this.btnGetRecurrenceValues);
            this.tabThird.Location = new System.Drawing.Point(4, 22);
            this.tabThird.Name = "tabThird";
            this.tabThird.Size = new System.Drawing.Size(562, 437);
            this.tabThird.TabIndex = 2;
            this.tabThird.Text = "Adjusted Recurring Dates";
            this.tabThird.UseVisualStyleBackColor = true;
            // 
            // button4
            // 
            this.button4.Enabled = false;
            this.button4.Location = new System.Drawing.Point(264, 116);
            this.button4.Name = "button4";
            this.button4.Size = new System.Drawing.Size(236, 23);
            this.button4.TabIndex = 30;
            this.button4.Text = "View User-Friendly Recurrence Info Object";
            this.button4.UseVisualStyleBackColor = true;
            this.button4.Click += new System.EventHandler(this.button4_Click);
            // 
            // button3
            // 
            this.button3.Enabled = false;
            this.button3.Location = new System.Drawing.Point(508, 59);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(42, 23);
            this.button3.TabIndex = 29;
            this.button3.Text = "Def.";
            this.toolTip1.SetToolTip(this.button3, "View Series Info Pattern Definition");
            this.button3.UseVisualStyleBackColor = true;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.label27);
            this.groupBox2.Controls.Add(this.button1);
            this.groupBox2.Controls.Add(this.label24);
            this.groupBox2.Controls.Add(this.textBox5);
            this.groupBox2.Controls.Add(this.dateTimePicker1);
            this.groupBox2.Controls.Add(this.label25);
            this.groupBox2.Controls.Add(this.button2);
            this.groupBox2.Location = new System.Drawing.Point(6, 6);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(526, 209);
            this.groupBox2.TabIndex = 28;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Get Post Values with adjusted ending point. (Values after the original series end" +
                "ing date)";
            // 
            // label27
            // 
            this.label27.Location = new System.Drawing.Point(6, 16);
            this.label27.Name = "label27";
            this.label27.Size = new System.Drawing.Size(529, 48);
            this.label27.TabIndex = 36;
            this.label27.Text = resources.GetString("label27.Text");
            // 
            // button1
            // 
            this.button1.Enabled = false;
            this.button1.Location = new System.Drawing.Point(250, 96);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(253, 23);
            this.button1.TabIndex = 32;
            this.button1.Text = "Get Values with Adjusted End Date";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click_2);
            // 
            // label24
            // 
            this.label24.AutoSize = true;
            this.label24.Location = new System.Drawing.Point(7, 101);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(99, 13);
            this.label24.TabIndex = 34;
            this.label24.Text = "Adjusted End Date:";
            // 
            // textBox5
            // 
            this.textBox5.Location = new System.Drawing.Point(197, 69);
            this.textBox5.Name = "textBox5";
            this.textBox5.Size = new System.Drawing.Size(47, 20);
            this.textBox5.TabIndex = 29;
            this.textBox5.Text = "100";
            // 
            // dateTimePicker1
            // 
            this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dateTimePicker1.Location = new System.Drawing.Point(147, 97);
            this.dateTimePicker1.Name = "dateTimePicker1";
            this.dateTimePicker1.Size = new System.Drawing.Size(97, 20);
            this.dateTimePicker1.TabIndex = 33;
            // 
            // label25
            // 
            this.label25.AutoSize = true;
            this.label25.Location = new System.Drawing.Point(7, 72);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(165, 13);
            this.label25.TabIndex = 30;
            this.label25.Text = "Adjusted number of Occurrences:";
            // 
            // button2
            // 
            this.button2.Enabled = false;
            this.button2.Location = new System.Drawing.Point(250, 67);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(253, 23);
            this.button2.TabIndex = 31;
            this.button2.Text = "Get Values with Adjusted No. of Occurrences";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click_2);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.label26);
            this.groupBox1.Controls.Add(this.btnGetAdjustedEndDateValues);
            this.groupBox1.Controls.Add(this.label22);
            this.groupBox1.Controls.Add(this.txtAdjustedOccurrences);
            this.groupBox1.Controls.Add(this.dtAdjustedDateTime);
            this.groupBox1.Controls.Add(this.label23);
            this.groupBox1.Controls.Add(this.btnGetAdjustedOccurrencesValues);
            this.groupBox1.Location = new System.Drawing.Point(6, 6);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(526, 209);
            this.groupBox1.TabIndex = 2;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Get Values with adjusted ending point";
            // 
            // label26
            // 
            this.label26.Location = new System.Drawing.Point(6, 16);
            this.label26.Name = "label26";
            this.label26.Size = new System.Drawing.Size(535, 31);
            this.label26.TabIndex = 35;
            this.label26.Text = "This scenario is used when you want to take an existing series info value and adj" +
                "ust the values by the number of occurrences or the end date so you get a new ser" +
                "ies of values.";
            // 
            // tabProperty
            // 
            this.tabProperty.Controls.Add(this.pgrpropertyGrid1);
            this.tabProperty.Location = new System.Drawing.Point(4, 22);
            this.tabProperty.Name = "tabProperty";
            this.tabProperty.Size = new System.Drawing.Size(562, 437);
            this.tabProperty.TabIndex = 3;
            this.tabProperty.Text = "Friendly Recurrence Info ";
            this.tabProperty.UseVisualStyleBackColor = true;
            // 
            // pgrpropertyGrid1
            // 
            this.pgrpropertyGrid1.Location = new System.Drawing.Point(179, 3);
            this.pgrpropertyGrid1.Name = "pgrpropertyGrid1";
            this.pgrpropertyGrid1.Size = new System.Drawing.Size(380, 429);
            this.pgrpropertyGrid1.TabIndex = 0;
            // 
            // tabControl2
            // 
            this.tabControl2.Controls.Add(this.tabPage5);
            this.tabControl2.Controls.Add(this.tabPage6);
            this.tabControl2.Controls.Add(this.tabPage7);
            this.tabControl2.Location = new System.Drawing.Point(4, 185);
            this.tabControl2.Name = "tabControl2";
            this.tabControl2.SelectedIndex = 0;
            this.tabControl2.Size = new System.Drawing.Size(546, 247);
            this.tabControl2.TabIndex = 31;
            // 
            // tabPage5
            // 
            this.tabPage5.Controls.Add(this.groupBox1);
            this.tabPage5.Location = new System.Drawing.Point(4, 22);
            this.tabPage5.Name = "tabPage5";
            this.tabPage5.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage5.Size = new System.Drawing.Size(538, 221);
            this.tabPage5.TabIndex = 0;
            this.tabPage5.Text = "Adjust Ending Point";
            this.tabPage5.UseVisualStyleBackColor = true;
            // 
            // tabPage6
            // 
            this.tabPage6.Controls.Add(this.groupBox2);
            this.tabPage6.Location = new System.Drawing.Point(4, 22);
            this.tabPage6.Name = "tabPage6";
            this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage6.Size = new System.Drawing.Size(538, 221);
            this.tabPage6.TabIndex = 1;
            this.tabPage6.Text = "Get Date Post Ending Point";
            this.tabPage6.UseVisualStyleBackColor = true;
            // 
            // tabPage7
            // 
            this.tabPage7.Controls.Add(this.groupBox5);
            this.tabPage7.Location = new System.Drawing.Point(4, 22);
            this.tabPage7.Name = "tabPage7";
            this.tabPage7.Size = new System.Drawing.Size(538, 221);
            this.tabPage7.TabIndex = 2;
            this.tabPage7.Text = "Adjust Beginning Date and End Point";
            this.tabPage7.UseVisualStyleBackColor = true;
            // 
            // groupBox5
            // 
            this.groupBox5.Controls.Add(this.chkUseAdjustedStartDate);
            this.groupBox5.Controls.Add(this.dateTimePickerStartDate);
            this.groupBox5.Controls.Add(this.label32);
            this.groupBox5.Controls.Add(this.label29);
            this.groupBox5.Controls.Add(this.cmdAdjustEndDateForStartDate);
            this.groupBox5.Controls.Add(this.label30);
            this.groupBox5.Controls.Add(this.textBox6);
            this.groupBox5.Controls.Add(this.dateTimePickerStartDateEndDate);
            this.groupBox5.Controls.Add(this.label31);
            this.groupBox5.Controls.Add(this.cmdAdjustOccurrencesForStartDate);
            this.groupBox5.Location = new System.Drawing.Point(6, 6);
            this.groupBox5.Name = "groupBox5";
            this.groupBox5.Size = new System.Drawing.Size(529, 212);
            this.groupBox5.TabIndex = 29;
            this.groupBox5.TabStop = false;
            this.groupBox5.Text = "Get Post Values with adjusted ending point. (Values after the original series end" +
                "ing date)";
            // 
            // label29
            // 
            this.label29.Location = new System.Drawing.Point(6, 16);
            this.label29.Name = "label29";
            this.label29.Size = new System.Drawing.Size(529, 48);
            this.label29.TabIndex = 36;
            this.label29.Text = resources.GetString("label29.Text");
            // 
            // cmdAdjustEndDateForStartDate
            // 
            this.cmdAdjustEndDateForStartDate.Enabled = false;
            this.cmdAdjustEndDateForStartDate.Location = new System.Drawing.Point(250, 136);
            this.cmdAdjustEndDateForStartDate.Name = "cmdAdjustEndDateForStartDate";
            this.cmdAdjustEndDateForStartDate.Size = new System.Drawing.Size(253, 23);
            this.cmdAdjustEndDateForStartDate.TabIndex = 32;
            this.cmdAdjustEndDateForStartDate.Text = "Get Values with Adjusted End Date";
            this.cmdAdjustEndDateForStartDate.UseVisualStyleBackColor = true;
            this.cmdAdjustEndDateForStartDate.Click += new System.EventHandler(this.cmdAdjustEndDateForStartDate_Click);
            // 
            // label30
            // 
            this.label30.AutoSize = true;
            this.label30.Location = new System.Drawing.Point(7, 141);
            this.label30.Name = "label30";
            this.label30.Size = new System.Drawing.Size(99, 13);
            this.label30.TabIndex = 34;
            this.label30.Text = "Adjusted End Date:";
            // 
            // textBox6
            // 
            this.textBox6.Location = new System.Drawing.Point(197, 109);
            this.textBox6.Name = "textBox6";
            this.textBox6.Size = new System.Drawing.Size(47, 20);
            this.textBox6.TabIndex = 29;
            this.textBox6.Text = "100";
            // 
            // dateTimePickerStartDateEndDate
            // 
            this.dateTimePickerStartDateEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dateTimePickerStartDateEndDate.Location = new System.Drawing.Point(147, 137);
            this.dateTimePickerStartDateEndDate.Name = "dateTimePickerStartDateEndDate";
            this.dateTimePickerStartDateEndDate.Size = new System.Drawing.Size(97, 20);
            this.dateTimePickerStartDateEndDate.TabIndex = 33;
            // 
            // label31
            // 
            this.label31.AutoSize = true;
            this.label31.Location = new System.Drawing.Point(7, 112);
            this.label31.Name = "label31";
            this.label31.Size = new System.Drawing.Size(165, 13);
            this.label31.TabIndex = 30;
            this.label31.Text = "Adjusted number of Occurrences:";
            // 
            // cmdAdjustOccurrencesForStartDate
            // 
            this.cmdAdjustOccurrencesForStartDate.Enabled = false;
            this.cmdAdjustOccurrencesForStartDate.Location = new System.Drawing.Point(250, 107);
            this.cmdAdjustOccurrencesForStartDate.Name = "cmdAdjustOccurrencesForStartDate";
            this.cmdAdjustOccurrencesForStartDate.Size = new System.Drawing.Size(253, 23);
            this.cmdAdjustOccurrencesForStartDate.TabIndex = 31;
            this.cmdAdjustOccurrencesForStartDate.Text = "Get Values with Adjusted No. of Occurrences";
            this.cmdAdjustOccurrencesForStartDate.UseVisualStyleBackColor = true;
            this.cmdAdjustOccurrencesForStartDate.Click += new System.EventHandler(this.cmdAdjustOccurrencesForStartDate_Click);
            // 
            // label32
            // 
            this.label32.AutoSize = true;
            this.label32.Location = new System.Drawing.Point(7, 78);
            this.label32.Name = "label32";
            this.label32.Size = new System.Drawing.Size(116, 13);
            this.label32.TabIndex = 37;
            this.label32.Text = "Adjusted Starting Date:";
            // 
            // dateTimePickerStartDate
            // 
            this.dateTimePickerStartDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dateTimePickerStartDate.Location = new System.Drawing.Point(147, 74);
            this.dateTimePickerStartDate.Name = "dateTimePickerStartDate";
            this.dateTimePickerStartDate.Size = new System.Drawing.Size(97, 20);
            this.dateTimePickerStartDate.TabIndex = 38;
            // 
            // chkUseAdjustedStartDate
            // 
            this.chkUseAdjustedStartDate.AutoSize = true;
            this.chkUseAdjustedStartDate.Checked = true;
            this.chkUseAdjustedStartDate.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkUseAdjustedStartDate.Location = new System.Drawing.Point(267, 76);
            this.chkUseAdjustedStartDate.Name = "chkUseAdjustedStartDate";
            this.chkUseAdjustedStartDate.Size = new System.Drawing.Size(140, 17);
            this.chkUseAdjustedStartDate.TabIndex = 39;
            this.chkUseAdjustedStartDate.Text = "Use Adjusted Start Date";
            this.chkUseAdjustedStartDate.UseVisualStyleBackColor = true;
            // 
            // DateTester
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(579, 472);
            this.Controls.Add(this.tabMain);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            this.Name = "DateTester";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Date Recurrence Tester";
            this.Load += new System.EventHandler(this.DateTester_Load);
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage1.PerformLayout();
            this.tabPage2.ResumeLayout(false);
            this.tabPage2.PerformLayout();
            this.tabPage3.ResumeLayout(false);
            this.tabPage3.PerformLayout();
            this.tabPage4.ResumeLayout(false);
            this.tabPage4.PerformLayout();
            this.groupBox3.ResumeLayout(false);
            this.groupBox3.PerformLayout();
            this.groupBox4.ResumeLayout(false);
            this.groupBox4.PerformLayout();
            this.tabMain.ResumeLayout(false);
            this.tabFirst.ResumeLayout(false);
            this.tabFirst.PerformLayout();
            this.tabSecond.ResumeLayout(false);
            this.tabThird.ResumeLayout(false);
            this.tabThird.PerformLayout();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.tabProperty.ResumeLayout(false);
            this.tabControl2.ResumeLayout(false);
            this.tabPage5.ResumeLayout(false);
            this.tabPage6.ResumeLayout(false);
            this.tabPage7.ResumeLayout(false);
            this.groupBox5.ResumeLayout(false);
            this.groupBox5.PerformLayout();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.ListBox lstResults;
        private System.Windows.Forms.TabControl tabControl1;
        private System.Windows.Forms.TabPage tabPage1;
        private System.Windows.Forms.TabPage tabPage2;
        private System.Windows.Forms.TabPage tabPage3;
        private System.Windows.Forms.TabPage tabPage4;
        private System.Windows.Forms.RadioButton radioButton2;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox textBox1;
        private System.Windows.Forms.RadioButton radioButton1;
        private System.Windows.Forms.ComboBox comboBox2;
        private System.Windows.Forms.RadioButton radioButton4;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.TextBox textBox2;
        private System.Windows.Forms.RadioButton radioButton3;
        private System.Windows.Forms.ComboBox comboBox3;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TextBox textBox4;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.TextBox textBox3;
        private System.Windows.Forms.RadioButton radioYearlyCustom;
        private System.Windows.Forms.ComboBox cboYearEveryMonth;
        private System.Windows.Forms.TextBox txtYearEvery;
        private System.Windows.Forms.RadioButton radioYearlyEvery;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.ComboBox comboBox6;
        private System.Windows.Forms.ComboBox comboBox4;
        private System.Windows.Forms.ComboBox comboBox5;
        private System.Windows.Forms.DateTimePicker dtStartDate;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.RadioButton radioOccurrences;
        private System.Windows.Forms.TextBox txtOccurrences;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.RadioButton radioEndBy;
        private System.Windows.Forms.DateTimePicker dtEndDate;
        private System.Windows.Forms.Button btnGenDates;
        private System.Windows.Forms.TextBox txtTotal;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.TextBox txtStartDate;
        private System.Windows.Forms.TextBox txtEndDate;
        private System.Windows.Forms.Label label12;
        private System.Windows.Forms.MonthCalendar monthCalendar1;
        private System.Windows.Forms.CheckBox chkSaturday;
        private System.Windows.Forms.CheckBox chkFriday;
        private System.Windows.Forms.CheckBox chkThursday;
        private System.Windows.Forms.CheckBox chkWednesday;
        private System.Windows.Forms.CheckBox chkTuesday;
        private System.Windows.Forms.CheckBox chkMonday;
        private System.Windows.Forms.CheckBox chkSunday;
        private System.Windows.Forms.Label label14;
        private System.Windows.Forms.TextBox txtWeeklyRegenXWeeks;
        private System.Windows.Forms.Label label13;
        private System.Windows.Forms.Label label16;
        private System.Windows.Forms.TextBox txtYearlyAdjustedValue;
        private System.Windows.Forms.Label label15;
        private System.Windows.Forms.Label label17;
        private System.Windows.Forms.TextBox txtMonthlyAdjustedValue;
        private System.Windows.Forms.Label label18;
        private System.Windows.Forms.Label label19;
        private System.Windows.Forms.TextBox txtSeriesInfo;
        private System.Windows.Forms.Button btnGetNextDate;
        private System.Windows.Forms.TextBox txtNextDate;
        private System.Windows.Forms.ListBox lstRecurrenceValues;
        private System.Windows.Forms.Label label20;
        private System.Windows.Forms.Button btnGetRecurrenceValues;
        private System.Windows.Forms.TextBox txtGetRecurrenceValues;
        private System.Windows.Forms.Label label21;
        private System.Windows.Forms.TextBox txtAdjustedOccurrences;
        private System.Windows.Forms.Label label23;
        private System.Windows.Forms.Button btnGetAdjustedOccurrencesValues;
        private System.Windows.Forms.Button btnGetAdjustedEndDateValues;
        private System.Windows.Forms.DateTimePicker dtAdjustedDateTime;
        private System.Windows.Forms.Label label22;
        private System.Windows.Forms.GroupBox groupBox3;
        private System.Windows.Forms.GroupBox groupBox4;
        private System.Windows.Forms.TabControl tabMain;
        private System.Windows.Forms.TabPage tabFirst;
        private System.Windows.Forms.TabPage tabSecond;
        private System.Windows.Forms.TabPage tabThird;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.GroupBox groupBox2;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.Label label24;
        private System.Windows.Forms.TextBox textBox5;
        private System.Windows.Forms.DateTimePicker dateTimePicker1;
        private System.Windows.Forms.Label label25;
        private System.Windows.Forms.Button button2;
        private System.Windows.Forms.Label label26;
        private System.Windows.Forms.Label label27;
        private System.Windows.Forms.TextBox txtAdjustedTotal;
        private System.Windows.Forms.Label label28;
        private System.Windows.Forms.Button button3;
        private System.Windows.Forms.ToolTip toolTip1;
        private System.Windows.Forms.Button button4;
        private System.Windows.Forms.TabPage tabProperty;
        private System.Windows.Forms.PropertyGrid pgrpropertyGrid1;
        private System.Windows.Forms.TabControl tabControl2;
        private System.Windows.Forms.TabPage tabPage5;
        private System.Windows.Forms.TabPage tabPage6;
        private System.Windows.Forms.TabPage tabPage7;
        private System.Windows.Forms.GroupBox groupBox5;
        private System.Windows.Forms.Label label29;
        private System.Windows.Forms.Button cmdAdjustEndDateForStartDate;
        private System.Windows.Forms.Label label30;
        private System.Windows.Forms.TextBox textBox6;
        private System.Windows.Forms.DateTimePicker dateTimePickerStartDateEndDate;
        private System.Windows.Forms.Label label31;
        private System.Windows.Forms.Button cmdAdjustOccurrencesForStartDate;
        private System.Windows.Forms.DateTimePicker dateTimePickerStartDate;
        private System.Windows.Forms.Label label32;
        private System.Windows.Forms.CheckBox chkUseAdjustedStartDate;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) BOCA Software Technologies, Inc.
United States United States
.NET Developer in Garner, North Carolina. Specializing in WinForms development in C#, VB.Net.

CEO/Founder BOCA Software Technologies, Inc.

Comments and Discussions