| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 386 人关注过本帖
标题:向很会VB的人致敬~了!作业,帮助!!!!!!!
只看楼主 加入收藏
ljqw2009
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-6-5
结帖率:0
收藏
已结贴  问题点数:20 回复次数:1 
向很会VB的人致敬~了!作业,帮助!!!!!!!
Private Sub Command1_Click()
    ……
    Text3.Text = Label1.Caption + " :" + Text1.Text + Chr(13) + Chr(10)
    Text3.Text = Text3.Text + Label2.Caption + " :" + Text2.Text + Chr(13) + Chr(10)
   
    If  Option1.Value Then Text3.Text = Text3.Text + Label3.Caption + " :" + Option1.Caption + Chr(13) + Chr(10)
    If  Option2.Value Then Text3.Text = Text3.Text + Label3.Caption + " :" + Option2.Caption + Chr(13) + Chr(10)
    If  Not (Option1.Value Or Option2.Value) Then Text3.Text = Text3.Text + Label3.Caption + " :" + Chr(13) + Chr(10)
   
    If  Combo1.ListIndex <> -1  Then
     Text3.Text = Text3.Text + Label6.Caption + " :" + Combo1.Text + Chr(13) + Chr(10)
    Else
                Text3.Text = Text3.Text + Label6.Caption + " :" + Chr(13) + Chr(10)
    End If
   
    If  Combo2.ListIndex <> -1  Then
    Text3.Text = Text3.Text + Label4.Caption + " :" + Combo2.Text + Chr(13) + Chr(10)
    Else
     Text3.Text = Text3.Text + Label4.Caption + " :" + Chr(13) + Chr(10)
    End If
   
    Text3.Text = Text3.Text + Label5.Caption + " :" + Chr(13) + Chr(10)
   
If Check1.Value Then Text3.Text = Text3.Text + "         " + Check1.Caption + Chr(13) + Chr(10)
If Check2.Value Then Text3.Text = Text3.Text + "         " + Check2.Caption + Chr(13) + Chr(10)
        ……
End Sub
上面省略号表示需要你补充的代码位置。
做一个类似于网上申请邮箱时需要注册的内容那样的一个表格
2012-06-05 18:11
Alar30
Rank: 10Rank: 10Rank: 10
等 级:贵宾
威 望:10
帖 子:988
专家分:1627
注 册:2009-9-8
收藏
得分:20 
作业题还是自己做吧……
2012-06-06 15:19
快速回复:向很会VB的人致敬~了!作业,帮助!!!!!!!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019691 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved