private void client_GetArchivesByIdCompleted(object sender, GetArchivesByIdCompletedEventArgs e) { try { if (e.Result != null) { this.txtTitle.Text = e.Result.ARCHIVESTITLE; //this.txtContent.Text = e.Result.CONTENT; } } catch (Exception ex) { HtmlPage.Window.Alert(ex.ToString()); } }
private void client_GetArchivesByIdCompleted(object sender, GetArchivesByIdCompletedEventArgs e) { try { if (e.Result != null) { this.txtTitle.Text = e.Result.ARCHIVESTITLE; //this.txtContent.Text = e.Result.CONTENT; } } catch (Exception ex) { HtmlPage.Window.Alert(ex.ToString()); } }
private void client_GetArchivesByIdCompleted(object sender, GetArchivesByIdCompletedEventArgs e) { try { if (e.Result != null) { this.txtTitle.Text = e.Result.ARCHIVESTITLE; txtContent.RichTextBoxContext = e.Result.CONTENT; } } catch (Exception ex) { //HtmlPage.Window.Alert(ex.ToString()); Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"), ex.ToString()); } }
private void client_GetArchivesByIdCompleted(object sender, GetArchivesByIdCompletedEventArgs e) { try { if (e.Result != null) { this.txtTitle.Text = e.Result.ARCHIVESTITLE; txtContent.RichTextBoxContext = e.Result.CONTENT; } } catch (Exception ex) { //HtmlPage.Window.Alert(ex.ToString()); Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("ERROR"), ex.ToString()); } }
private void client_GetArchivesByIdCompleted(object sender, GetArchivesByIdCompletedEventArgs e) { if (e.Error == null) { if (e.Result != null) { Archives = e.Result; SetComboBoxSelectIndex(e.Result.RECORDTYPE, this.comboxType); txtContent.RichTextBoxContext = Archives.CONTENT; } } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message); } }
private void client_GetArchivesByIdCompleted(object sender, GetArchivesByIdCompletedEventArgs e) { if (e.Error == null) { if (e.Result != null) { Archives = e.Result; SetComboBoxSelectIndex(e.Result.RECORDTYPE, this.comboxType); txtContent.RichTextBoxContext = Archives.CONTENT; } } else { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message); } }