Добавлена возможность менять режим работы."

This commit is contained in:
Danil Kislov
2019-03-18 13:47:27 +03:00
parent e8213d940f
commit 1b123cd1a0
6 changed files with 57 additions and 22 deletions
+3 -1
View File
@@ -30,6 +30,7 @@ namespace JiraTimeBotForm.UI
//txtDummyMode.Checked = settings.DummyMode;
chkAddComments.Checked = settings.AddCommentsToWorklog;
txtRoundTo.Text = settings.RountToMinutes.ToString();
cboWorkType.SelectedIndex = (int) settings.WorkType;
}
public Settings ReadSettingsAndLock()
@@ -48,7 +49,8 @@ namespace JiraTimeBotForm.UI
RepositoryPath = txtRepoPath.Text,
//DummyMode = txtDummyMode.Checked,
AddCommentsToWorklog = chkAddComments.Checked,
RountToMinutes = roundTo
RountToMinutes = roundTo,
WorkType = (WorkType) cboWorkType.SelectedIndex
};
//LockUnlock(false);