登录
首页 » C# » SendToCS

SendToCS

于 2009-09-23 发布 文件大小:46KB
0 105
下载积分: 1 下载次数: 8

代码说明:

  This is a COde to Send Emails with attachement very easily. You ca use it as an executable, or in you .Net project. Create you Form, create a Button and Enjoy. System::Void MyForm::SendOrder_Click(System::Object^ sender, System::EventArgs^ e) { List Items String ^Filename Filename = IO::Path::Combine(System::Environment::GetEnvironmentVariable("TEMP"), String::Concat("FCSSystem", IO::Path::GetRandomFileName(), ".txt")) Items.Add(Convert::ToString(DateTime::Now)) for(int ni=0 niControls->Count ni++) { Items.Add(String::Concat(OrderPanel->Controls[ni]->Controls[0]->Name,"Q", ((NumericUpDown^)OrderPanel->Controls[ni]->Controls[1])->Value)) } IO::File::WriteAllLines(Filename, Items.ToArray()) SendFileTo::MAPI mapi mapi.AddRecipientTo("sst@fcssystem.com") mapi.AddAttachment(Filename) mapi.SendMailPopup("FCS System Order", "Please Write Your Data Here") }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PreviewHandlerEditor
    DEA solver for windows 10 in matlab4
    2020-06-20 14:40:01下载
    积分:1
  • WebTest
    web得,里面是我们做项目时候的DEMO(WEB ,this is our in classing do ,will de text)
    2010-01-03 19:15:42下载
    积分:1
  • handle
    CSharp调用API根据鼠标位置捉窗口句柄类名,还有键盘代码等,根据这个可以做类似按键精灵的操作(CSharp API call handle the mouse position to catch the window class name, as well as the keyboard code, etc., according to the Wizard button to do a similar operation)
    2010-10-24 14:46:44下载
    积分:1
  • Adaptive-Kalman-Filter
    自适应卡尔曼滤波,附有卡尔曼滤波的程序实现(Adaptive Kalman filter in detail, the procedures for implementation with Kalman filtering,)
    2020-10-15 00:07:30下载
    积分:1
  • CameraCon
    用于摄像机云台控制的类库,支持Pelco P和D协议,可以方便开发人员扩展。(For the camera pan and tilt control, libraries, support Pelco P and D protocol, developers can easily expand.)
    2009-09-16 19:11:09下载
    积分:1
  • c语言写坦克大战源代码
    这是一个用C++编写的坦克大战,里面包含具体的程序,直接运行即可;有一些C++编程能力的,但是没有很好例子的时候可以看看,对于以后游戏开发,会有些作用;(This is a tank battle written in C++, which contains specific programs to run directly; there are some C++ programming capabilities, but there are no good examples when you can see, for future game development, will have some effect;)
    2019-03-04 17:31:35下载
    积分:1
  • simple chat client sever
    simple chat client sever
    2022-01-22 04:25:52下载
    积分:1
  • VCwizardcreation
    本程序是一个利用VC++制作向导的实例程序。(This program is a creation wizard using VC++ examples of procedures.)
    2009-10-17 09:02:08下载
    积分:1
  • MyHotKey
    利用系统热键可以方便用户的操作,比如经常使用的Alt + Tab可以快速切换窗口;Crtl + Alt + Delete键可以调出Windows任务管理器或重启机器;oicq软件也会注册系统热键方便用户的操作,等等。本程序就注册一个系统热键Alt + Z,在应用程序执行的任何时候只要按下该热键就会弹出一个消息对话框。 (system hotkeys can use user-friendly operation, For example, the regular use of the Alt-Tab window can quickly switch; Crtl-Alt-Delete keys could be released Windows Task Manager or the reopening of machinery; oicq software registration system hotkeys will be user-friendly operation, and so on. The procedure for registering a system hotkeys Alt Z, Application procedures for the implementation of any time by pressing the hotkey will pop up a message box.)
    2007-04-28 12:03:33下载
    积分:1
  • 遗传算法兰伯特变轨优化
    说明:  兰伯特变轨用遗传算法优化,效率较高,内含差分进化验证(Genetic Algorithms for Lambert Transfer)
    2019-06-10 09:03:36下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载