element3ds.com
Shader_地编_工具 [DCC工具] MAX DotNet 透明界面 参考代码
发布于
2015-5-27
3103
38

您需要 登录 才可以下载或查看,没有账号?注册

x
        
        ------------------------------------------------------------------------------
        -- 本代码由MAX DotNet 编辑器输出
        -- 对此文件的更改可能会导致不正确的行为,
        -- 并且如果重新生成代码,这些更改将会丢失。
        -- 生成此代码的工具为测试版本,作者并不能保证代码的完全可用性。
        -- 如发现错误或有任何好建议欢迎加群探讨:364518591
        -- BY:蓬荜生徽 2015年元旦发布~~
        ------------------------------------------------------------------------------
        Form1 = dotNetObject "MaxCustomControls.MaxForm"
        button1 = dotNetObject "System.Windows.Forms.Button"
        button2 = dotNetObject "System.Windows.Forms.Button"
        button3 = dotNetObject "System.Windows.Forms.Button"
        button4 = dotNetObject "System.Windows.Forms.Button"
        listBox1 = dotNetObject "System.Windows.Forms.ListBox"
        trackBar1 = dotNetObject "System.Windows.Forms.TrackBar"
        numericUpDown1 = dotNetObject "System.Windows.Forms.NumericUpDown"
        checkedListBox1 = dotNetObject "System.Windows.Forms.CheckedListBox"
        -- button1
        button1.BackColor = (dotNetClass "System.Drawing.Color").Black
        button1.FlatStyle = (dotNetClass "System.Windows.Forms.FlatStyle").Flat
        button1.ForeColor = (dotNetClass "System.Drawing.Color").Coral
        button1.Location = dotNetObject "System.Drawing.Point" 12 12
        button1.Name = "button1"
        button1.Size = dotNetObject "System.Drawing.Size" 107 45
        button1.TabIndex = 0
        button1.Text = "button1"
        button1.UseVisualStyleBackColor = False
        -- button2
        button2.BackColor = (dotNetClass "System.Drawing.Color").Black
        button2.FlatStyle = (dotNetClass "System.Windows.Forms.FlatStyle").Flat
        button2.ForeColor = (dotNetClass "System.Drawing.Color").Coral
        button2.Location = dotNetObject "System.Drawing.Point" 12 65
        button2.Name = "button2"
        button2.Size = dotNetObject "System.Drawing.Size" 107 45
        button2.TabIndex = 1
        button2.Text = "button2"
        button2.UseVisualStyleBackColor = False
        -- button3
        button3.BackColor = (dotNetClass "System.Drawing.Color").Black
        button3.FlatStyle = (dotNetClass "System.Windows.Forms.FlatStyle").Flat
        button3.ForeColor = (dotNetClass "System.Drawing.Color").Coral
        button3.Location = dotNetObject "System.Drawing.Point" 12 118
        button3.Name = "button3"
        button3.Size = dotNetObject "System.Drawing.Size" 107 45
        button3.TabIndex = 2
        button3.Text = "button3"
        button3.UseVisualStyleBackColor = False
        -- button4
        button4.BackColor = (dotNetClass "System.Drawing.Color").Black
        button4.FlatStyle = (dotNetClass "System.Windows.Forms.FlatStyle").Flat
        button4.ForeColor = (dotNetClass "System.Drawing.Color").Coral
        button4.Location = dotNetObject "System.Drawing.Point" 12 171
        button4.Name = "button4"
        button4.Size = dotNetObject "System.Drawing.Size" 107 45
        button4.TabIndex = 3
        button4.Text = "button4"
        button4.UseVisualStyleBackColor = False
        -- listBox1
        listBox1.BackColor = (dotNetClass "System.Drawing.Color").Black
        listBox1.ForeColor = (dotNetClass "System.Drawing.Color").Yellow
        listBox1.FormattingEnabled = True
        listBox1.ItemHeight = 12
        listBox1.Items.Add("师傅速度")
        listBox1.Items.Add("阿斯蒂芬可能")
        listBox1.Items.Add("打三分连接功能")
        listBox1.Items.Add("下老坎村vnb")
        listBox1.Items.Add("豆腐干放歌")
        listBox1.Items.Add("公司的罚款缴纳")
        listBox1.Items.Add("斯蒂芬")
        listBox1.Location = dotNetObject "System.Drawing.Point" 125 12
        listBox1.Name = "listBox1"
        listBox1.Size = dotNetObject "System.Drawing.Size" 120 208
        listBox1.TabIndex = 4
        -- trackBar1
        trackBar1.BackColor = (dotNetClass "System.Drawing.Color").Black
        trackBar1.Location = dotNetObject "System.Drawing.Point" 12 223
        trackBar1.Name = "trackBar1"
        trackBar1.Size = dotNetObject "System.Drawing.Size" 360 45
        trackBar1.TabIndex = 5
        -- numericUpDown1
        numericUpDown1.BackColor = (dotNetClass "System.Drawing.Color").Black
        numericUpDown1.ForeColor = (dotNetClass "System.Drawing.Color").YellowGreen
        numericUpDown1.Location = dotNetObject "System.Drawing.Point" 252 13
        numericUpDown1.Name = "numericUpDown1"
        numericUpDown1.Size = dotNetObject "System.Drawing.Size" 120 21
        numericUpDown1.TabIndex = 6
        -- checkedListBox1
        checkedListBox1.BackColor = (dotNetClass "System.Drawing.Color").Black
        checkedListBox1.ForeColor = (dotNetClass "System.Drawing.Color").Aqua
        checkedListBox1.FormattingEnabled = True
        checkedListBox1.Items.Add("身体好")
        checkedListBox1.Items.Add("东方红")
        checkedListBox1.Items.Add("东方红")
        checkedListBox1.Items.Add("sdh就")
        checkedListBox1.Items.Add("对方黄光裕和")
        checkedListBox1.Items.Add("你技能")
        checkedListBox1.Location = dotNetObject "System.Drawing.Point" 252 41
        checkedListBox1.Name = "checkedListBox1"
        checkedListBox1.Size = dotNetObject "System.Drawing.Size" 120 180
        checkedListBox1.TabIndex = 7
        -- Form1
        Form1.BackColor = (dotNetClass "System.Drawing.Color").LightPink
        Form1.ClientSize = dotNetObject "System.Drawing.Size" 383 281
        Form1.Controls.Add(checkedListBox1)
        Form1.Controls.Add(numericUpDown1)
        Form1.Controls.Add(trackBar1)
        Form1.Controls.Add(listBox1)
        Form1.Controls.Add(button4)
        Form1.Controls.Add(button3)
        Form1.Controls.Add(button2)
        Form1.Controls.Add(button1)
        Form1.FormBorderStyle = (dotNetClass "System.Windows.Forms.FormBorderStyle").SizableToolWindow
        Form1.Name = "Form1"
        Form1.Opacity = 0.75
        Form1.ShowIcon = False
        Form1.StartPosition = (dotNetClass "System.Windows.Forms.FormStartPosition").CenterScreen
        Form1.Text = "Form1"
        Form1.TransparencyKey = (dotNetClass "System.Drawing.Color").LightPink
--         Form1.Show()
        thePtr = DotNetObject "System.IntPtr" (windows.getMAXHWND())
        theHwnd = DotNetObject "MaxCustomControls.Win32HandleWrapper" thePtr
        Form1.Show(theHwnd)

--         Form1.Dispose() --这句是关闭


QQ截图20150527201741.png
Snipaste_2025-07-14_16-45-33.jpg
参与人数 1 元素币 +30 活跃度 +10
还没有设置签名!您可以在此展示你的链接,或者个人主页!

使用道具 举报 登录

回复 <
神佛之上  发表于 2022-11-22 22:12:54  
40#
给力!元素有你更精彩
回复 收起回复
使用道具
qq_店小二_Awl  发表于 2019-9-18 09:17:48  
39#
学习了
回复 收起回复
使用道具
不能好好起名  发表于 2018-11-17 22:34:59  
38#
很好的帖子
回复 收起回复
使用道具
建模大人  发表于 2018-11-10 16:07:27  
37#
感谢楼主分享
回复 收起回复
使用道具
yang54  发表于 2018-11-10 13:27:24  
36#
带你赚币带你飞,元素里面有正妹!
回复 收起回复
使用道具
andywjhh  发表于 2018-11-10 12:27:56  
35#
感谢楼主的分享~~~~谢谢了~~~~
回复 收起回复
使用道具
白银  发表于 2018-11-10 09:22:31  
34#
66666666666666666
回复 收起回复
使用道具
建模大人  发表于 2018-11-9 19:34:22  
33#
感谢楼主分享
回复 收起回复
使用道具
白月竹  发表于 2018-11-7 20:22:11  
32#
感谢大大分享
回复 收起回复
使用道具
qq_问月流光_f4a  发表于 2018-11-7 19:02:44  
31#
学到了啊啊
回复 收起回复
使用道具
谢东峻-云中  发表于 2018-11-7 13:41:08  
30#
这个插件真心实用的哭会根据韩国
回复 收起回复
使用道具
宸宇  发表于 2018-10-31 08:39:43  
29#


感谢大大分享
回复 收起回复
使用道具
建模大人  发表于 2018-10-30 20:59:10  
28#
感谢楼主分享
回复 收起回复
使用道具
kjsldj  发表于 2018-10-29 14:42:56  
27#
感谢分享,点赞
回复 收起回复
使用道具
ud_terry  发表于 2018-10-28 15:54:19  
26#
给力!元素有你更精彩
回复 收起回复
使用道具
建模大人  发表于 2018-10-27 16:47:45  
25#
感谢楼主分享
回复 收起回复
使用道具
建模大人  发表于 2018-10-23 20:48:37  
24#
感谢楼主分享
回复 收起回复
使用道具
dsglxq  发表于 2018-10-22 10:00:29  
23#
       
元素那么大,我想来看看
回复 收起回复
使用道具
dsglxq  发表于 2018-10-22 10:00:26  
22#
       
元素那么大,我想来看看
回复 收起回复
使用道具
12下一页

快来发表你宝贵的意见吧!

蓬荜生徽 实名

通过了实名认证的内容创造者

  

主题
精华
超神
扩散
微金
智慧
余额
在线时间
小时
快速回复 返回顶部 返回列表