private void SaveToFileToolStripMenuItem_Click(object sender, EventArgs e) { TasksStorageHandler.SaveFileUsingDialog(Manager.History.AllTasks); }
private void SaveToolStripMenuItem_Click(object sender, EventArgs e) { string loc = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "/tasks.json"; TasksStorageHandler.SaveTasksToFile(Manager.History.AllTasks, loc); }