// 弹出加载框 private void showDialog() { if (pd != null && pd.IsShowing) { pd.Dismiss(); } pd = CommonDialog.ProgressDialog(this); pd.Show(); }