Exemplo n.º 1
0
        private void b_open_Click(object sender, EventArgs e)
        {
            f_main.project = tb_project_name.Text;

            Hide();

            f_main main = new f_main();

            main.ShowDialog();
        }
Exemplo n.º 2
0
        private void b_create_Click(object sender, EventArgs e)
        {
            string path_todo = tb_project_name.Text + "_todo.ini";

            File.WriteAllText(path_todo, "");
            string path_started = tb_project_name.Text + "_started.ini";

            File.WriteAllText(path_started, "");
            string path_done = tb_project_name.Text + "_done.ini";

            File.WriteAllText(path_done, "");

            f_main.project = tb_project_name.Text;

            Hide();

            f_main main = new f_main();

            main.ShowDialog();
        }