static private ExportScore ( string File ) : void | ||
File | string | The file to write |
리턴 | void |
// ================ // review last game // ================ // score save private void buttonScoreExport_Click(object sender, EventArgs e) { SaveFileDialog Dialog = new SaveFileDialog(); Dialog.OverwritePrompt = true; Dialog.Filter = Interface.GetInterfaceString("dialog_textfiles") + "|*.txt|" + Interface.GetInterfaceString("dialog_allfiles") + "|*"; if (Dialog.ShowDialog() == DialogResult.OK) { try { Interface.ExportScore(Dialog.FileName); } catch (Exception ex) { MessageBox.Show(ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Hand); } } }