예제 #1
0
        private void ClearCache_Click(object sender, EventArgs e)
        {
            ClearCache dialog = new ClearCache();

            if (dialog.ShowDialog(Earth3d.MainWindow) == DialogResult.OK)
            {
                Earth3d.MainWindow.Close();
            }
        }
예제 #2
0
        private void ClearCache_Click(object sender, EventArgs e)
        {
            var dialog = new ClearCache();

            if (dialog.ShowDialog( Earth3d.MainWindow) == DialogResult.OK)
            {
                Earth3d.MainWindow.Close();
            }
        }