2011年10月8日

dotNetClass "System.Windows.Forms.View").

摘要: if (splitViewRollout != undefined) and (splitViewRollout.isDisplayed) do (destroyDialog splitViewRollout)global splitViewRollout rollout splitViewRollout " Modifiers"(-- TreeViewfn initTreeView tv =( tv.checkboxes = true tv.sorted = true)fn addModifiers theNode theModifiers =( for m in the 阅读全文

posted @ 2011-10-08 19:46 盖天00 阅读(601) 评论(0) 推荐(0) 编辑

时间的表示

摘要: dnDateTime = dotNetObject "System.DateTime" 1972 03 08 18 30 0-- prints "8/03/1972 6:30:00 PM" -- Australianformat "%\n" (dnDateTime.toString())DateTime = dotNetClass "System.DateTime"date = DateTime.Parse "8/03/1972 6:30:00 PM"print (date.ToString() 阅读全文

posted @ 2011-10-08 19:40 盖天00 阅读(211) 评论(0) 推荐(0) 编辑

收集路径文件。

摘要: (local ofd = dotnetobject "System.Windows.Forms.OpenFileDialog"ofd.Filter = "XML Files (*.xml)|*.xml |(*.*)|*.*"ofd.RestoreDirectory = falseofd.multiselect = true if ofd.showDialog() == (dotNetClass "System.Windows.Forms.DialogResult").OK then ( local sFile = ofd.fileNa 阅读全文

posted @ 2011-10-08 19:33 盖天00 阅读(214) 评论(1) 推荐(0) 编辑

TabForm.MaximizeBox = false

摘要: (dotnet.loadassembly "System.Data"Color = dotNetClass "System.Drawing.Color"ScrollBars = dotNetClass "System.Windows.Forms.ScrollBars"-- Create Tabs Container tabControl1 = dotnetobject "system.windows.forms.TabControl"tabControl1.size = dotnetobject "sys 阅读全文

posted @ 2011-10-08 19:25 盖天00 阅读(495) 评论(0) 推荐(0) 编辑

创建类表

摘要: (Color = dotNetClass "System.Drawing.Color"ScrollBars = dotNetClass "System.Windows.Forms.ScrollBars"-- Create Tabs Container tabControl1 = dotnetobject "system.windows.forms.TabControl"tabControl1.size = dotnetobject "system.drawing.size" 395 195tabControl1.L 阅读全文

posted @ 2011-10-08 19:20 盖天00 阅读(181) 评论(0) 推荐(0) 编辑

messagebox 这样的操作

摘要: (-- setup dotnet classes / objectslocal mb = dotNetClass "System.Windows.Forms.MessageBox"local buttons = dotNetClass "System.Windows.Forms.MessageBoxButtons"local icons = dotNetClass "System.Windows.Forms.MessageBoxIcon"local defaultButton = dotNetClass "System.Wi 阅读全文

posted @ 2011-10-08 19:08 盖天00 阅读(196) 评论(0) 推荐(0) 编辑

zhao

摘要: (rollout rollmain "dotnet" (dotnetcontrol lst_test "System.Windows.Forms.Listbox" width:290 height:290 align:#centeron rolmain open do(dotnet.loadassembly "System.Data"constring="data source=.\SQLEXPRESS;Initial Catalog=YOUR_DATABASE_HERE;Integrated Security=True;C 阅读全文

posted @ 2011-10-08 18:59 盖天00 阅读(286) 评论(0) 推荐(0) 编辑

导航