Development of applications under Win8, is often said Metro style application, but this title has been changed. No matter what it is called, look at the picture below and I will give it a Chinese name called “Brick Brick”.
After the image was uploaded, it was somewhat distorted, not easy to adjust.
How to develop & ldquo; bricks & rdquo; style application? Very simple, install VS on the line, nothing, and we have developed other applications such as WinForm, WPF, ASP.NET, etc., you Understand, MS toys are very uniform.
At present, VS for Windows8 has RC version, that is, "talent" version, of course, the high-profile leaked flagship version (English version), like to install which, you pick, tell you, after all, Beta version, Bug is there.
Start VS, then <;New”->“Project”, then you will see many project templates. The languages supported by Win8 development are more comprehensive, such as VB, C#, JavaScrip, C++, etc. Pick one that you like or that you are used to.
Project templates are nothing more than two types, visible and invisible, visible different layouts, invisible such as class libraries. In general, choosing the first one is a blank page.
Enter the project name and create a "bricks" application.
After the project is established, we may wish to take a look at the contents of the project. In fact, if you carefully observe, you will find that it is very similar to WP development.
Like it? Now open MainPage.xaml, then we will see the familiar stuff ——XAML.
Is it familiar enough?
Now, let's warm up, please keep the MainPage.xaml file open, we see that there is a Grid control in the page, now, we are in the Grid Plus our code.
When running, we see some drop-down menus near the toolbar buttons.
We have three ways to run the program,
1, local computer;
2, simulator;
3, remote computer.
The simulator is not the same as the WP mobile phone simulator. The simulator running on the Win8 application is simulated according to the system installed on your current machine. This explains why the Win 8 application development is on Windows 8. It’s going on.
Ok, let's choose the local computer and run the program to see.
We see that the "brick" style app is full screen, just like a mobile app.
Next, let's take a look at running with the simulator.
Look, the simulator is more like a tablet.
Obviously, this simulator uses my current system as a mirror.
Let's take a look at the toolbar on the right.
It can switch between mouse operations or touch screen operations. This makes it easier to test apps on your tablet. The touch screen mode is divided into single point and multi-point, and the zoom operation can also be selected. At this time, the mouse pointer becomes two points, and the zooming and zooming can be performed by rolling the mouse wheel to simulate our gesture operation.
1, Alt+F4 shortcut key, press Alt+F4 under Windows desktop to pop up the shutdown menu (guarantee th
Recently, many users have reported to the system home Xiaobian: After upgrading Win
Today we want to introduce a handy gadget, which makes it easier and easier to create Windows 8 boot
Friends who use Win8 dont know if they have found that some software in Win8 system
Win 8 uses ClearType to adjust the font effect
Windows 8 system external screen setting skills
Win8.1 system Ethernet is disabled, can't start? What should I do?
Why can't I find the Win8.1/RT8.1 update in the app store?
Win8.1 system how to use Windows online update Updata upgrade Win10
How to open Win8.1 device manager?
How to know if the game is compatible with Windows 8 system
Win8 system DNS resolution error solution
Windows 8 set VPN properties method
Win8 computer boot black screen unlimited restart how to deal with?
After the official version of win10 is automatically restarted after the upgrade, how to do
Multiple ways to open the Win8 system control panel
Win7 system closes unnecessary port graphic tutorial
Mobile storage device can not display the drive letter solution
After the computer is turned on, the entire screen is green after a while
Windows 8 built-in killing software will automatically close
Lenovo supports Windows 8.1 system model
How does the Windows 7 system use the Shutdown.exe program to shut down regularly?
Steps for connecting LCD TV with HDMI cable under Windows XP