private void RibContact_Load(object sender, RibbonUIEventArgs e) { inspector = Context as Outlook.Inspector; if (InTouch.ShowInTouchSettings) { inspector.SetCurrentFormPage("InTouch-AutoFile.ContactInTouchSettings"); InTouch.ShowInTouchSettings = false; } }
private void ButtonInTouchSettings_Click(object sender, RibbonControlEventArgs e) { inspector.SetCurrentFormPage("InTouch-AutoFile.ContactInTouchSettings"); }