コード例 #1
0
        private void updatePicBtn_Click(object sender, RoutedEventArgs e)
        {
            Nullable <bool> result = dlg.ShowDialog();

            if (result == true)
            {
                string str1 = dlg.FileNames[0];
                AccessHelper.SaveGameImage(gameID, str1);
                UpdateWindow();
            }
        }