/// <summary> /// 创建一个弹出窗体 /// </summary> /// <param name="sdata"></param> private void AddWindow(string sdata) { Window win = WindowShow.AddPeccancyArea(sdata); win.Render(this.Form); win.Show(); }
/// <summary> /// Adds the window. /// </summary> /// <param name="sdata"></param> /// <returns></returns> private void AddWindow(string sdata) { try { Window win = WindowShow.AddPeccancyArea(sdata); win.Render(this.Form); win.Show(); } catch (Exception ex) { ILog.WriteErrorLog(ex); logManager.InsertLogError("PeccancyAreaQuery.aspx-AddWindow", ex.Message + ";" + ex.StackTrace, "AddWindow has an exception"); } }