private void showSubForm(Office.CommandBarButton cmdBarbutton, ref bool cancel) { SubForm frm1 = new SubForm(); frm1.Show(); }
public void onSubButton(Office.IRibbonControl control) { SubForm frm = new SubForm(); frm.Show(); }