Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from Room17DigitalEntertainment/feature/wpf-ui
Browse files Browse the repository at this point in the history
Feature/wpf ui
  • Loading branch information
cristi993 authored Sep 3, 2018
2 parents 2bee8c5 + c9c5e13 commit 332d352
Show file tree
Hide file tree
Showing 13 changed files with 334 additions and 494 deletions.
2 changes: 1 addition & 1 deletion Room17DE.MeetingDecline/AddIn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ private void ThisAddIn_Startup(object sender, System.EventArgs e)
// check if we have settings
if (Properties.Settings.Default.MeetingDeclineRules == null)
{
Properties.Settings.Default.MeetingDeclineRules = new Dictionary<string, DeclineRule>();
Properties.Settings.Default.MeetingDeclineRules = new Dictionary<string, DeclineRuleSetting>();
Properties.Settings.Default.Save();
}
if (Properties.Settings.Default.LastMailCheck == null)
Expand Down
22 changes: 14 additions & 8 deletions Room17DE.MeetingDecline/Forms/DeclineMessageForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Room17DE.MeetingDecline/Forms/DeclineMessageForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ public DeclineMessageForm(string folderID)
/// <summary>
/// Event handler to save in Settings the Message associated with current rule
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void OkButton_Click(object sender, EventArgs e)
{
// avoid NPE on fresh settings
if (!Properties.Settings.Default.MeetingDeclineRules.ContainsKey(FolderID))
Properties.Settings.Default.MeetingDeclineRules[FolderID] = new Util.DeclineRule();
Properties.Settings.Default.MeetingDeclineRules[FolderID] = new Util.DeclineRuleSetting();

// save the message
Properties.Settings.Default.MeetingDeclineRules[FolderID].Message = messageBox.Text;
Expand Down
115 changes: 0 additions & 115 deletions Room17DE.MeetingDecline/Forms/RulesForm.Designer.cs

This file was deleted.

Loading

0 comments on commit 332d352

Please sign in to comment.