`
vivimusing
  • 浏览: 78457 次
  • 性别: Icon_minigender_1
  • 来自: 台州
社区版块
存档分类
最新评论
文章列表
require 'fox16' include Fox app = FXApp.new main = FXMainWindow.new(app, "Hello, World!") button=FXButton.new(main, "Hello, World!")  以上参见http://vivimusing.iteye.com/admin/blogs/224064 button.connect(SEL_COMMAND) do |sender,selector,data| exit end  大多数的FOX对象都能发送消息,如同在windows ...
require 'fox16' include Fox app = FXApp.new main = FXMainWindow.new(app , "Hello") 上述段意义参见http://vivimusing.iteye.com/admin/blogs/223905 FXButton.new(main , "Hello, World!") 建立一个FXButton的ruby对象,用来操控Fox的Button控件 app.create main.show app.run 上述段意义参见http://viv ...
require 'fox16' #所有的与FXRuby相关的代码,都和gem fox16有关,那么我么要使用FXRuby的时候必须先得包含这个文件。 include Fox #类似c中的namespacing的作用,将以下代码放在Fox模块的域中,我们可以省掉一些前缀如下: ##app = Fox::FXApp.new #这里可以改成: app=FXApp.new #一个实例化的App是win32程序的基础,它将负责处理application's main event loop #win32的程序都是容器套容器的,现在给它一个初始的容器,以便装载其他控件 main = FX ...
没办法啊呢,单位服务器上面跑着N个老的asp的应用,IIS我是动不了了。。。 想现在的新的应用用ROR来做,但服务器配置这块搞了3天了。 最可气的是上个网管人走掉之后把防火墙的帐号密码带走了,除了几个常用的端口,其他的都给封掉了... 我现在迷惘了,现在就想怎么搞定在IIS下把ROR跑起来了。。。 求助啊~~~
Global site tag (gtag.js) - Google Analytics