private void btnPlanIn_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { try { string planInFormName = typeof(PlanIn).ToString(); creatForm.AddTabpage(xtraTabControl1, "TabPagePlanIn", "订单导入", planInFormName); } catch (Exception ex) { XtraMessageBox.Show(ex.Message); } }