第一个GUI

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了第一个GUI相关的知识,希望对你有一定的参考价值。

  一直期待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的主要内容,如果未能解决你的问题,请参考以下文章

使用PyQt来编写第一个Python GUI程序

python学习笔记第二阶段 GUI-wxpython

12 | 从0到1:你的第一个GUI自动化测试

ILMerge-GUI的使用

ILMerge-GUI的使用

Python 学习第三天--GUI桌面项目