Outline for Developing Apps Using Visual C# 2005

Outline for Developing Apps Using Visual C# 2005

Developing Apps Using Visual C# 2005 page 1 Meet the expert: Ken Getz is a featured instructor for several of our Visual Studio courses. He is a Visual Basic and Visual C# expert and has been recognized multiple times as a Microsoft MVP. Ken is a seasoned instructor, successful consultant, and the author or co-author of several best-selling books. He is a frequent speaker at technical conferences like Tech-Ed, VSLive, and DevConnections and he has written for several of the industry's most-respected publications including Visual Studio Magazine, CoDe Magazine, and MSDN Magazine. Robert Green is a Visual Studio expert and a featured instructor for several of our Visual Basic and Visual C# courses. He is currently a Technical Evangelist in the Developer Platform and Evangelism (DPE) group at Microsoft. He has also worked for Microsoft on the Developer Tools marketing team and as Community Lead on the Visual Basic team. Robert has several years of consulting experience focused on developer training and is a frequent speaker at technology conferences including TechEd, VSLive, VSConnections, and Advisor Live. Runtime: 24:08:16 Course description: In this course you will learn how to use Visual Studio 2005 and Visual C# 2005 to build Windows applications to run on the .NET 2.0 platform. You will become familiar with the Windows Forms and Windows Forms controls, focusing on new Visual Studio 2005 features. Access data using ADO.NET and its DataTable, DataReader, DataAdapter, and DataSet classes. Take advantage of new Visual Studio 2005 data binding features, and explore the range of controls and components provided by Visual Studio 2005. Build solid applications using structured exception handling, and debug your applications using new Visual Studio 2005 debugging features. Access legacy code in COM components, Win32 APIs using P/Invoke, and remote code in Web Services. Add professional-looking menus and toolbars using the new ToolStrip controls, and add unprecedented flexibility to your user interfaces using the new container controls. Deploy and maintain your application easier than ever before, taking advantage of Click-Once deployment. Course outline: Overview of Windows Forms • Adding Code for the MenuStrip • Examine the MouseClick Event • Investigating ControlEvents • Introduction • Adding Access/Shortcut Keys • Call a Procedure • Validating User Input • Create a C# Windows App • Non-Graphical Components • Handles Clause in Code • The Validating Event • Hide/Show Other Windows • Adding a ToolTip Component • Handling Multiple Controls • View Validating Event Example • Set Properties of the Form • Adding a Timer Component • MC with Single Procedure • The ErrorProvider Component • Add Controls to the Form • Summary • MC with Same Event Handler • Creating a Cancel Button • Investigate the Snap Lines • One Event/Multiple Handlers • Error Provider/Cancel Demo • Adjust Controls Sizes/Loc. Working with Events • AddHandler/RemoveHandler • Summary • Label AutoSize Property • Introduction • Summary • TextBox MultiLine Property • How VB Handles Events Label/TextBox/Button Controls • Format the Controls • Working with Events Form and Control Events • Introduction • Controlling Tab Order • Add Button Click Event • Introduction • Label Control • View the Code • Add Mouse Click Event • Explore Form/Control Events • TextBox Control • Dispose Method • MouseEventArgs Parameter • Form Events • Label/TextBox Demo • InitializeComponent() Proc. • Working with Forms • Investigating Form Events • Investigate Label Properties • Summary • Using Forms as Dialog Boxes • Keyboard Events • Show/Hide a Label Control • Demonstrate a Dialog Form • KeyPress vs KeyDown/KeyUp • Display Help in a Label Overview of Event Handling • Examine the Dialog Form • KeyPress/Up/Down Events • Change BackColor of TextBox • Introduction • Set Dialog Result Properties • Investigating Keyboard Events • Validate Text Length in a TB • Adding Event Handling Code • The Using Construct • View Code for KB Events • Add Cut/Copy/Paste Features • Rename the Controls • Starting the Application • Mouse Events • Auto Completion for a TextBox • Adding Code to the Button • Selecting an Initial Form • MouseMove Event • Button Control • Adding a Menu to the Form • Event Covers • MouseUp/Down Events • Button Demo • Component Tray • Introducing Delegates • Investigating Mouse Events • Control Button Click • Set Properties of the MenuStrip • Examine the Click Event • Control Events • Button Appearances (Continued on page 2) LearnNowOnline www.LearnNowOnline.com powered by Developing Apps Using Visual C# 2005 page 2 • Code to Control Buttons • Unhandled Exceptions • Shared Static Methods • Data Binding Basics • Investigate Button Properties • Using an Exception Object • Localized Date Information • Creating a Data Source • Images on a Button • Catching Specific Exceptions • Run Dates and Times Demo • Data Source Config Wizard • Button Default or Cancel • Multiple Exceptions • View the Code for the Demo • Data Sources Window • Summary • Inheritance Hierarchy • Date/Time Methods Demo • Creating Data-Bound Forms • Specific Exception Code • Date/Time Globalization Demo • Data Binding Demo Option and List Controls • Summary • Handling Elapsed Time • Create a Data Source • Introduction • Creating TimeSpan Values • Data Sources Window • CheckBox Control Creating/Throwing Exceptions • TimeSpan Instance Members • Create Data Bound Form • RadioButton Control • Introduction • TimeSpan Fields • Components and Controls • CheckBox/RadioButton Demo • Using the Throw Keyword • Measuring Elapsed Time • The DataSet • CheckBox Properties • Searching for Handlers • TimeSpan Demo • The TableAdapter • Is the CheckBox Checked • Exception Handling Options • StopWatch Class Demo • View Code that Binds the Data • RadioButton Selection • Throwing Exceptions • StopWatch Class Code • View Code to Save an Entry • Respond to RadioButton • Throw an Exception Demo • Summary • BindingSource Component • ComboBox Control • Inner Exception Property • BindingNavigator Control • ListBox Control • Running Code Unconditionally Accessing Data • Investigate the Components • CheckedListBox Control • Finally and/or Catch • Introduction • Investigate the TableAdapter • Combo/List/Checked Demo • Finally Block Code Demo • Overview of ADO.NET • Summary • Populating a ComboBox • Implement the Using Block • ADO.NET Classes • Populate a ListBox • Unhandled Exceptions • OleDb vs SqlClient Relationships/Lookup Tables • Select Items in a ComboBox • Set Up UE Demo • ADO.NET Architecture • Introduction • Limit Items to Display • Run UE Demo • DataTable Object • Data From Related Tables • Select Items in a ListBox • Creating an Exception • DataTable Object Demo • Categories/Products Form • Multiple Values in a ListBox • Exception Class Demo • Connecting to a Data Source • Data Components • Items in a CheckedListBox • Summary • Setting Up Connections • BindingSource Properties • Items in the CheckedListBox • Config File Conn Strings • Lookup Tables Data • Summary Strings • Making the Connections • Modify Form with DLT • Introduction • Exception Handling • Summary Additional Common Controls • Working with Text • Use the Using Block • Introduction • String Class • Cmds/Cmd Methods Searching and Filtering • LinkLabel Control • Creating Strings • Reading Data • Introduction • NumericUpDown Control • String Properties • Close the Connection • Add Search Capabilities • Demo • Shared/Static String Methods • SqlDataReader Demo • TableAdapter Query Config • LinkLabel_ValueChanged • Instance String Methods • Summary • Call the TableAdapter Query • RadioButton_CheckChanged • Work with Strings Demo • Search Criteria Builder • PictureBox Control • String Properties Demo Working with Data • Search Capabilities Demo • ProgressBar Control • Shared/Static Methods Demo • Introduction • Add Queries to TableAdapter • PictureBox/ProgressBar Demo • String Methods Demo • Using a Data Adapter • Add Search Controls to Form • Change the Image • StringBuilder Class • Getting Data into a DataSet • Add Wildcard to Query • Load an Image • Multiple Line Text Output • Filling a DataSet • Filtering by Values • Load Image Asynchronously • StringBuilder Class • DataTable Rows and Columns • Add Category Lookup to Form • Methods to Display Progress • StringBuilder Class Demo • Using DataRows • Add Code for the Lookup • Summary • Add Up ML of Text Demo • DataColumns and Schema • Summary • Show StringBuilder Properties • Retrieve OleDb DataSet Demo Intro to Exception Handling • Summary • SQL DataTable Demo Data Validation • Introduction • Choosing ADO.NET Provider • Introduction • Exception Handling in .NET Dates and Times • SQL Server Data Provider • Overview of Data Validation • VB 6 vs .NET • Introduction • OLE DB .NET Data Provider • Determine User Changes • Structured Exception Handling • Working with Dates/Times • ODBC Data Provider • Validate Data at Form Level Example • DateTime Constructors • Multiple Providers • Form Level Validation Demo • No Error Handling • Shared/Static Members • Writing Code for MP • Validate User Entered Data • Exception Assistant • Simple Properties • Summary • Validate Data Level Data • Disable Exception Assistant • Conversion Methods • Data Level Validation Demo • Error that the User Sees • Calculation Methods Data Binding • ErrorProvider Component • Add a Simple Try/Catch Block • Introduction (Continued on page 3) LearnNowOnline www.LearnNowOnline.com powered by Developing Apps Using Visual C# 2005 page 3 • Add DataSet Data Validation • System.IO Namespace

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    5 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us