当前位置:网站首页>Getting started with Silverlight development 1
Getting started with Silverlight development 1
2022-06-25 05:55:00 【bcbobo21cn】
VS2012 Create a new silver project ;

Silverlight Applications cannot run independently , In the dialog box that pops up later, we can choose to create a ASP.NET Web Site perhaps Web Application Project For hosting Silverlight Applications ;
After creation, the project structure is as follows ;
Let's have a project, sir ; More than one. ClientBin Folder , There is a .xap file ; This is the assembly run by the silver project ; This must be present during deployment ;
Take a look at the generated aspx Containing the silver light js;
Go to interface design xaml part ; Add a button ;
understand xaml For grammar, please refer to some of my WPF post , Or related tutorials ;
Name the button btn1, And add an event handling code ;
private void Button_Click_1(object sender, RoutedEventArgs e)
{
this.btn1.Background = new SolidColorBrush(Colors.Orange);
}
function ; Click button , Button background color changes ;
边栏推荐
- 3.2.3 use tcpdump to observe TCP header information (supplement common knowledge of TCP protocol)
- Depth of binary tree
- About the definition of pointer variables (personal notes)
- Day22(File,DiGui,FileOutputStream)
- C language - minesweeping
- BUUCTF(web:1-50)
- What is the use of the subprocess module
- Use of MySQL variables
- I got to know data types and function variables for the first time. I learned data types and function variables together today and yesterday, so I saved them in the first issue to record.
- MySQL -- optimize query statements and use not in with cases
猜你喜欢

50 days countdown! Are you ready for the Landbridge cup provincial tournament?
Linus' speech recordings, which were lost in 1994, were made public
[interview with a large factory] meituan had two meetings. Was there a surprise in the end?
Wind farm visualization: wind farm data
Trial version of routing history and routing back and history of SAP ui5

Semantic segmentation cvpr2019-advance: advantageous enterprise minimization for domain adaptation in semantic segmentation

Interface learning

Incorrect dependency of POM file

Voxel based and second network learning
What is SAP sup - Sybase unwired platform
随机推荐
Day17 (set)
Deep learning non local neural networks
About the definition of pointer variables (personal notes)
Vscode voice notes to enrich information (Part 1)
Soft exam information system project manager_ Management Science (Operations Research) -- senior information system project manager of soft test 033
JSON Library Tutorial from scratch (II): parsing digital learning and sorting notes
Guava common collection tool classes
Volatile and JMM memory models
Use generator-easy-ui5 to quickly create the engineering structure of SAP ui5 applications
Analysis of IM project framework
Monkey test of APP automation
[interview with a large factory] meituan had two meetings. Was there a surprise in the end?
What is the use of the subprocess module
Go microservice development toolkit
Farewell to Lombok in 996
Voxel based and second network learning
2022.1.21 diary
C language - minesweeping
A method of automatic continuation of previous tables in word table
Some common errors and solutions of using SAP ui5 to consume OData services