コード例 #1
0
        private void ProjectEditButton_Click(object sender, RoutedEventArgs e)
        {
            string title = (string)((Button)sender).Tag;

            foreach (var proj in Projects)
            {
                if (proj.Title == title)
                {
                    EditProjectWindow win = new EditProjectWindow(proj, () => {
                        UpdateProjectsList();
                        //
                        Save();
                    });
                    win.Show();
                }
            }
        }
コード例 #2
0
 private void PathTextBox_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     EditProjectWindow.OpenFolderDialog((TextBox)sender);
 }