IronRuby 调用 WinForms DEMO
来源:互联网 发布:iphone自制铃声软件 编辑:程序博客网 时间:2024/06/07 03:06
require 'System.Windows.Forms'
include System::Windows::Forms
class RForm < Form
end
f = RForm.new
ome = proc {|sender, e| puts "Enter"}
oml = proc {|sender, e| puts "Leave"}
f.mouse_enter(&ome)
f.mouse_leave(&oml)
include System::Windows::Forms
class RForm < Form
end
f = RForm.new
ome = proc {|sender, e| puts "Enter"}
oml = proc {|sender, e| puts "Leave"}
f.mouse_enter(&ome)
f.mouse_leave(&oml)
Application.run(f)
~~THE END~~
尹曙光
- IronRuby 调用 WinForms DEMO
- IronRuby初探——在C#中调用Ruby代码
- IronRuby博客中文版-- IronRuby: a promising start
- 初看IronRuby
- IronRuby on RubyForge
- IronRuby和.net
- IronRuby 0.0.1.0
- 微软发布IronRuby
- Windows Phone7中的IronRuby
- 微软发布IronRuby
- 动态调用的DEMO
- Silverlight调用JavaScript(Demo)
- android 调用webService Demo
- oc 调用 swift Demo
- IronRuby 发布第一个版本
- winforms全屏
- WinForms 记事本
- WinForms 控件
- jquery lazyload
- 图片轮换功能实现 .
- Java中getResourceAsStream的用法
- 电脑保养常识
- iwlwifi-1.2.25中的README.iwlwifi
- IronRuby 调用 WinForms DEMO
- 发布或者更新 apk file时,上传出现问题 -- An unexpected error occurred.Please try again later.
- PostgreSQL自动备份
- 无题
- 在Winodws下修复安装Postgresql
- 遍历文件夹下得所有文件并打印
- 2011.11.2 poj1258 Agri-Net 解题报告
- 手动安装 PostgreSQL
- 浅谈optimizer_mode优化器模式