Esempio n. 1
0
        private void OnClickSave(object sender, EventArgs e)
        {
            dataGridView1.CancelEdit();
            string path     = Options.OutputPath;
            string fileName = Path.Combine(path, "speech.mul");

            SpeechList.SaveSpeechList(fileName);
            dataGridView1.Invalidate();
            MessageBox.Show($"Speech saved to {fileName}", "Saved", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1);
            Options.ChangedUltimaClass["Speech"] = false;
        }
Esempio n. 2
0
        private void OnClickSave(object sender, EventArgs e)
        {
            dataGridView1.CancelEdit();
            string path     = AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
            string FileName = Path.Combine(path, "speech.mul");

            SpeechList.SaveSpeechList(FileName);
            dataGridView1.Invalidate();
            MessageBox.Show(String.Format("Speech saved to {0}", FileName), "Saved", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1);
            Options.ChangedUltimaClass["Speech"] = false;
        }