Beispiel #1
0
        public MainUI()
        {
            InitializeComponent();

            if (!RegistryManager.IsOpenWithThere())
            {
                DialogResult messageResponse = MessageBox.Show("Province Copier is not found in the registry. Would you like to add it to the Open With menu?",
                                                               "Open With Menu Entry Missing", MessageBoxButtons.YesNo);
                if (messageResponse == DialogResult.Yes)
                {
                    RegistryManager.FixOpenWith();
                }
            }
        }