Added context menu option to delete appointments

This commit is contained in:
gamosoft_cp
2014-10-31 15:37:26 +00:00
parent 128a45b394
commit 776d7462bf
4 changed files with 84 additions and 5 deletions
@@ -106,6 +106,7 @@
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Open Recurring Item";
this.Load += new System.EventHandler(this.FormRecurringOpen_Load);
this.ResumeLayout(false);
this.PerformLayout();
@@ -17,18 +17,40 @@ namespace Outlook2013TodoAddIn.Forms
get { return this.rbtnAll.Checked; }
}
/// <summary>
/// To reuse the form, gets/sets the title
/// </summary>
public string Title { get; set; }
/// <summary>
/// To reuse the form, gets/sets the message
/// </summary>
public string Message { get; set; }
#endregion "Properties"
#region "Methods"
/// <summary>
/// Open the form
/// Load the form
/// </summary>
public FormRecurringOpen()
{
InitializeComponent();
}
/// <summary>
/// Load the form
/// </summary>
/// <param name="sender">Sender</param>
/// <param name="e">EventArgs</param>
private void FormRecurringOpen_Load(object sender, System.EventArgs e)
{
this.Text = this.Title;
this.textBox1.Text = this.Message;
}
#endregion "Methods"
}
}