Added option to show/hide completed tasks.
Added context menu to delete/complete a task.
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.numRangeEmailAlertsTimeOut = new System.Windows.Forms.NumericUpDown();
|
||||
this.lblSeconds = new System.Windows.Forms.Label();
|
||||
this.chkShowCompletedTasks = new System.Windows.Forms.CheckBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numRangeDays)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pctBoxPayPal)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numRangeEmailAlertsTimeOut)).BeginInit();
|
||||
@@ -244,6 +245,16 @@
|
||||
this.lblSeconds.TabIndex = 23;
|
||||
this.lblSeconds.Text = "seconds";
|
||||
//
|
||||
// chkShowCompletedTasks
|
||||
//
|
||||
this.chkShowCompletedTasks.AutoSize = true;
|
||||
this.chkShowCompletedTasks.Location = new System.Drawing.Point(157, 206);
|
||||
this.chkShowCompletedTasks.Name = "chkShowCompletedTasks";
|
||||
this.chkShowCompletedTasks.Size = new System.Drawing.Size(105, 21);
|
||||
this.chkShowCompletedTasks.TabIndex = 24;
|
||||
this.chkShowCompletedTasks.Text = "Completed?";
|
||||
this.chkShowCompletedTasks.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// FormConfiguration
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
@@ -251,6 +262,7 @@
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.ClientSize = new System.Drawing.Size(282, 482);
|
||||
this.Controls.Add(this.chkShowCompletedTasks);
|
||||
this.Controls.Add(this.lblSeconds);
|
||||
this.Controls.Add(this.numRangeEmailAlertsTimeOut);
|
||||
this.Controls.Add(this.pctBoxPayPal);
|
||||
@@ -305,5 +317,6 @@
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.NumericUpDown numRangeEmailAlertsTimeOut;
|
||||
private System.Windows.Forms.Label lblSeconds;
|
||||
private System.Windows.Forms.CheckBox chkShowCompletedTasks;
|
||||
}
|
||||
}
|
||||
@@ -95,6 +95,15 @@ namespace Outlook2013TodoAddIn.Forms
|
||||
set { this.chkShowTasks.Checked = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets/sets whether to show the completed tasks in the list
|
||||
/// </summary>
|
||||
public bool ShowCompletedTasks
|
||||
{
|
||||
get { return this.chkShowCompletedTasks.Checked; }
|
||||
set { this.chkShowCompletedTasks.Checked = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets/sets the first day of the week for the calendar
|
||||
/// </summary>
|
||||
@@ -131,6 +140,7 @@ namespace Outlook2013TodoAddIn.Forms
|
||||
this.chkShowDayNames.Checked = Properties.Settings.Default.ShowDayNames;
|
||||
this.chkShowWeekNumbers.Checked = Properties.Settings.Default.ShowWeekNumbers;
|
||||
this.chkShowTasks.Checked = Properties.Settings.Default.ShowTasks;
|
||||
this.chkShowCompletedTasks.Checked = Properties.Settings.Default.ShowCompletedTasks;
|
||||
this.LoadStores();
|
||||
this.LoadDays();
|
||||
}
|
||||
@@ -172,7 +182,7 @@ namespace Outlook2013TodoAddIn.Forms
|
||||
Properties.Settings.Default.ShowFriendlyGroupHeaders = this.chkFriendlyGroupHeaders.Checked;
|
||||
Properties.Settings.Default.ShowDayNames = this.chkShowDayNames.Checked;
|
||||
Properties.Settings.Default.ShowWeekNumbers = this.chkShowWeekNumbers.Checked;
|
||||
Properties.Settings.Default.ShowTasks = this.chkShowTasks.Checked;
|
||||
Properties.Settings.Default.ShowCompletedTasks = this.chkShowCompletedTasks.Checked;
|
||||
Properties.Settings.Default.FirstDayOfWeek = (System.DayOfWeek)Enum.Parse(typeof(System.DayOfWeek), this.cboFirstDayOfWeek.SelectedValue.ToString());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user