Exemple #1
0
        static void UnregisterFunction(Type t)
        {
            try {
                // Create the registrar object
                GoogleDesktopRegistrarClass registrar = new GoogleDesktopRegistrarClass();

                // Unregister ourselves
                registrar.UnregisterComponent(controlGuid);
            } catch (Exception e) {
                MessageBox.Show("Exception thrown during registration. Description=" + e.Message);
            }
        }
        static void UnregisterFunction(Type t)
        {
            try {
            // Create the registrar object
            GoogleDesktopRegistrarClass registrar = new GoogleDesktopRegistrarClass();

            // Unregister ourselves
            registrar.UnregisterComponent(controlGuid);
              } catch (Exception e) {
            MessageBox.Show("Exception thrown during registration. Description=" + e.Message);
              }
        }