コード例 #1
0
ファイル: EmailClient.cs プロジェクト: WooZoo86/Tallus
 private void WritePopMessage(string content)
 {
     if (this.PopMessage.InvokeRequired)
     {
         WritePopMessageEventHandler obj = new WritePopMessageEventHandler(this.WritePopMessage);
         this.Invoke(obj, new object[] { content });
     }
     else
     {
         this.PopMessage.DocumentText = content.Trim();
     }
 }
コード例 #2
0
 private void WritePopMessage(string content)
 {
     if (this.PopMessage.InvokeRequired)
     {
         WritePopMessageEventHandler obj = new WritePopMessageEventHandler(this.WritePopMessage);
         this.Invoke(obj, new object[] { content });
     }
     else
     {
         this.PopMessage.DocumentText = content.Trim();
     }
 }