首页 > 其他 > 详细

第一个GUI

时间:2017-11-01 23:35:59      阅读:281      评论:0      收藏:0      [点我收藏+]

  一直期待GUI,有了方便的GUI才能方便得到友好的应用.html,css,js有浏览器,c#的xaml有vs和图形视图,都是描述性语言.

自动给的代码不管,我也没能得到编辑完xaml后得到的源代码,或者C#干脆就是两个源代码吗?

xmal代码:

    

<Window x:Class="WPFHello.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Hello" Height="350" Width="525" Loaded="Window_Loaded">
<Grid Width="615" Height="346">
<Label Content="Please enter your name" Height="39" HorizontalAlignment="Left" Name="labela" VerticalAlignment="Top" Width="248" FontSize="20" Margin="115,95,0,0" />
<TextBox Height="23" HorizontalAlignment="Left" Margin="123,140,0,0" Name="textBox" VerticalAlignment="Top" Width="223" />
<Button Content="OK" Height="27" HorizontalAlignment="Left" Margin="196,177,0,0" Name="button1" VerticalAlignment="Top" Width="75" />
</Grid>
</Window>

在有ide的情况下也没啥好记的,就注意下vs的一些工具.

第一个GUI

原文:http://www.cnblogs.com/zhyusblogs/p/7768970.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!