Esempio n. 1
0
        //-----------------------------------------------------------------------------//

        private void saveToolStripMenuItem_Click(object sender, EventArgs e)

        {
            FormSaveFile formSaveFile = new FormSaveFile();

            formSaveFile.Show();
        }
Esempio n. 2
0
        //-------------------------------------------------------------------------//

        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormLoadFile formLoadFile = new FormLoadFile();

            formLoadFile.Show();
            if (MessageBox.Show("Do you want to save current file?", "Message", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
            {
                FormSaveFile formSaveFile = new FormSaveFile();
                formSaveFile.Show();
            }
        }