- Beginning C# 7 Hands-On:Advanced Language Features
- Tom Owsiak
- 112字
- 2021-07-02 15:29:16
Creating a button to exchange and then comparing two values
Open up a project and click on the <html> tab. The only thing to put in there is a button. This time, we will not read any values from the user just to save time. So, go to Toolbox and grab a Button control. Drag and drop it below the line beginning with <form id=... (you can delete the <div> lines, as we won't be needing them). Change the text on the button to say Exchange And Compare. So, this will exchange two values and then compare them. Your complete Default.aspx file should look like the one shown in Figure 2.2.1:

Figure 2.2.1: The complete HTML file for this chapter
推薦閱讀
- Learning ROS for Robotics Programming(Second Edition)
- Photoshop智能手機APP UI設計之道
- 青少年軟件編程基礎與實戰(圖形化編程三級)
- Spring Boot+Spring Cloud+Vue+Element項目實戰:手把手教你開發權限管理系統
- Apache Spark Graph Processing
- Python Data Analysis(Second Edition)
- Visual Basic學習手冊
- C語言開發基礎教程(Dev-C++)(第2版)
- Procedural Content Generation for C++ Game Development
- OpenCV with Python Blueprints
- Python函數式編程(第2版)
- Django Design Patterns and Best Practices
- C#面向對象程序設計(第2版)
- Oracle 12c從入門到精通(視頻教學超值版)
- Instant GLEW