Exemple #1
0
        private void confirmBtn_Click(object sender, RoutedEventArgs e)
        {
            ComboBoxItem typeItem    = type.SelectedItem as ComboBoxItem;
            string       typeContent = typeItem.Content.ToString();

            AccessHelper.UpdateGameStorageInfo(storageID, typeContent, gameID, userID, price.Text, changeGame.SelectedItem.ToString(), message.Text);
            MessageBox.Show("修改完成!", "message", MessageBoxButton.OK);



            EventCenter.Broadcast <string>(EventType.UpdateUserRelease, storageID);
            this.Close();
        }