Exemple #1
0
        private void buttonResetMasterFile_Click(object sender, RoutedEventArgs e)
        {
            //richiesta conferma
            Utilities u = new Utilities();

            if (MessageBoxResult.Yes == u.ConfermaResetArchivio())
            {
                MasterFile mf = MasterFile.Create();
                mf.ResetMasterFile();
                ((MainWindow)(this.Owner)).ReloadMainWindow();
                MessageBox.Show("Reset Avvenuto con successo");
            }
        }