private void showPubForm(Office.CommandBarButton cmdBarbutton, ref bool cancel) { PubForm frm2 = new PubForm(); frm2.Show(); }
public void onPubButton(Office.IRibbonControl control) { PubForm frm = new PubForm(); frm.Show(); }