protected void CreatePropertyManagerPage() { int errors = -1; int options = (int)swPropertyManagerPageOptions_e.swPropertyManagerOptions_OkayButton | (int)swPropertyManagerPageOptions_e.swPropertyManagerOptions_CancelButton; handler = new PMPHandler(userAddin, this); swPropertyPage = (IPropertyManagerPage2)iSwApp.CreatePropertyManagerPage("Sample PMP", options, handler, ref errors); if (swPropertyPage != null && errors == (int)swPropertyManagerPageStatus_e.swPropertyManagerPage_Okay) { try { AddControls(); } catch (Exception e) { iSwApp.SendMsgToUser2(e.Message, 0, 0); } } }
protected void CreatePropertyManagerPage() { int errors = -1; int options = (int)swPropertyManagerPageOptions_e.swPropertyManagerOptions_OkayButton | (int)swPropertyManagerPageOptions_e.swPropertyManagerOptions_CancelButton; handler = new PMPHandler(userAddin); swPropertyPage = (IPropertyManagerPage2)iSwApp.CreatePropertyManagerPage("Sample PMP", options, handler, ref errors); if (swPropertyPage != null && errors == (int)swPropertyManagerPageStatus_e.swPropertyManagerPage_Okay) { try { AddControls(); } catch (Exception e) { iSwApp.SendMsgToUser2(e.Message, 0, 0); } } }