Esempio n. 1
0
 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());
     }
 }
Esempio n. 2
0
 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());
     }
 }
Esempio n. 3
0
 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());
     }
 }
Esempio n. 4
0
 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());
     }
 }
Esempio n. 5
0
        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);
            }
        }
Esempio n. 6
0
 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);
     }
 }