当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 使用C#在应用程序间发送消息
 

 

    摘要:在使用该组件之前需要应用组件。 using system.web.mail; 应用组件后,便可以使用他的发送属性及方法。 发送函数如下: private void sendmailbysmtp() { mailmessage mymail=new mailmessage(); mymail.from = "发件人邮箱"; mymail.to = "收件人邮箱......
    摘要:http://www.it365cn.com/show.asp?id=1225 灵感·织梦倾力打造《fireworks 网页设计专家门诊》 作 者:juven、风筝、小狐子  摘 自: 织梦幻影 浏览次数:150  发布时间:2004-8-4 20:00:48   内容提要  本书全面介绍了 macromedia公司最新推出的fireworks ......


使用C#在应用程序间发送消息
使用c#在应用程序间发送消息

首先建立两个c#应用程序项目. 【程序编程相关:把Doc文档转换成rtf格式 [C#]

作者:kongxx 【推荐阅读:去掉solaris8中的不安全服务,简单

第二个项目包含一个windows form(form1),在form1上有两个button,分别用来测试第一个应用程序中button的click事件与修改第一个应用程序中textbox的值. 【扩展信息:Cygwin下安装SFTP Server

第一个项目包含一个windows form(form1),在form1上有一个button与一个textbox.

第一个应用程序中form的代码如下:

using system;

using system.drawing;

using system.collections;

using system.componentmodel;

using system.windows.forms;

public class form1 : system.windows.forms.form {

 private system.windows.forms.button button1;

 private system.windows.forms.textbox textbox1;

 private system.componentmodel.container components = null;

 [stathread]

 static void main() {

  application.run(new form1());

 }

 public form1()

 {

  initializecomponent();

 }

 protected override void dispose( bool disposing )

 {

  if( disposing )

  {

   if(components != null)

   {

    components.dispose();

   }

  }

  base.dispose( disposing );

 }


...   下一页
 ·iis 安装配置全攻略    »显示摘要«
    摘要:http://www.it365cn.com/show.asp?id=965 iis 安装配置全攻略(1) 作 者:kill  摘 自: 有风的日子设计论坛 浏览次数:727  发布时间:2003-10-8 12:27:21   web篇  windows 2000 server、windows 2000 advanced server 以及 windows ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE