Exemple #1
0
        private void bnRegistryBrowse_Click(object sender, EventArgs e)
        {
            FormRegistryBrowser form = new FormRegistryBrowser(false);

            if (form.ShowDialog() == DialogResult.OK)
            {
                tbRegistryValue.Text = form.RegValue;
                tbRegistryKey.Text   = form.RegKey;
            }
        }
Exemple #2
0
        private void buttonBrowseRegistry_Click(object sender, System.EventArgs e)
        {
            string keyName;
            string valName;

            if (FormRegistryBrowser.Show(out keyName, out valName) == DialogResult.Cancel)
            {
                return;
            }
            textProtectedPath.Text = keyName;
        }