edit_note帖子
69
stars积分
585
event加入
2012-05-10
怀旧国机
【H K】制做整人的软件,超简单。手机限制输入内容字数,此教程内容过大,分2个帖。(二)
schedule发表于 2014-02-10 20:00:00
visibility查看 1,592
chat_bubble回复 42
#1 楼主
yVal Privilege&, ByVal NewValue&,ByVal NewThread&, OldValue&)Private * Function NtShutdownSystem& Lib “ntdll“ (ByVal ShutdownAction&)Dim 机会 As StringPrivate Sub 关机或重启(ByVal 关机或重新启动 As String)RtlAdjustPrivilege 19, 1, 0, 0* Case SubTypeCase “关机“NtShutdownSystem 0 ‘关机Case “重新启动“NtShutdownSystem 1 ‘重新启动End *End SubPrivate Sub *1_Click()If Trim(Text1.Text) = “我是猪“ ThenMsgBox “哈哈,你是猪,今天本大爷很高兴,就不关机了!“, vbInformation,“哈哈“EndElseIf Trim(Text1.Text) = “我不是猪“ ThenMsgBox “好哇,竟敢不承认你是猪,就别怪本大爷不客气!马上关机!“, vbInformation, “关机“关机或重启 (“关机“)EndElseIf Trim(Text1.Text) = ““ ThenIf 机会 <> “没“ ThenMsgBox “不输,再给一次机会,不然重启!“, vbInformation, “重启“机会 = “没“ElseMsgBox “机会都被用完了,重启!“, vbInformation, “重启“关机或重启 (“重新启动“)EndEnd IfEnd IfEnd Sub
全部回复 (42)
2016-06-28 23:54:00
#42
3456341324
登录 后才能回复
flag举报帖子