}// AddLog //------------------------------------------------------- // IPropertySheetProvider functions that we're going to implement //------------------------------------------------------- public void CreatePropertySheet(String title, int type, int cookie, Microsoft.CLRAdmin.IDataObject pIDataObject, uint dwOptions) { Log("CreatePropertySheet called"); m_psh = new PROPSHEETHEADER(); m_psh.dwSize = 52; m_psh.dwFlags = PSH.DEFAULT | PSH.NOCONTEXTHELP; // Set the flags if ((dwOptions & MMC_PSO.NOAPPLYNOW) > 0) { m_psh.dwFlags |= PSH.NOAPPLYNOW; } if ((dwOptions & MMC_PSO.HASHELP) > 0) { m_psh.dwFlags |= PSH.HASHELP; } // They want to do a wizard if (type == 0) { if ((dwOptions & MMC_PSO.NEWWIZARDTYPE) > 0) { m_psh.dwFlags |= PSH.WIZARD97; } else { m_psh.dwFlags |= PSH.WIZARD; } } if ((dwOptions & MMC_PSO.NO_PROPTITLE) == 0) { m_psh.dwFlags |= PSH.PROPTITLE; } m_psh.hwndParent = this.Handle; m_psh.hInstance = Marshal.GetHINSTANCE(this.GetType().Module); m_psh.pszCaption = title; m_psh.nStartPage = 0; m_doForPropSheet = pIDataObject; m_alPropPages = new ArrayList(); }// CreatePropertySheet
//------------------------------------------------------- // IPropertySheetProvider functions that we're not going to implement //------------------------------------------------------- public int FindPropertySheet(int cookie, IComponent lpComponent, Microsoft.CLRAdmin.IDataObject lpDataObject) { return(1); }
public void UpdateAllViews(Microsoft.CLRAdmin.IDataObject lpDataObject, int data, int hint) { }