|
Hot-Link Menu in Right-Side Column |
Last Updated 6-30-2010 |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Multiform Project Example - Part IIWhen you are finished placing your controls on MainForm the result could look something like the diagram below:
The next step in this multiform project example is to add the second form to our project. The following steps detail how to perform the necessary tasks: Adding a Form to a VB.NET ProjectTo add a second form to your project. Select Project ==> Add Windows Form... from the Visual Studio File Menu as indicated in the diagram below:
Selecting the Add Windows Form option will bring up the following dialog window:
The following 5 steps are required to add a Form to your project:
Change the Form properties as indicated in the diagram below:
Add the following controls to frmChangeName as indicated in the diagram below:
Change the properties of the controls as indicated below:
After changing the appropriate properties and arranging the controls on the form, it may look similar to:
In order to continue with this guide, and follow the final discussion on multiform projects... Press the Button below:
|
Home Visual Basic Introduction to VB.NET.NET Framework VS2008 IDE How VB is Compiled Start Visual Studio Windows Form App Save Your Work VB OOP ProgrammingVisual Basic Code Exit Code Button Event Code Coding RecommendationsIf/Then/Else Error List Window Comment Syntax Help Window Language Essentianl Built-In Data Types Declare Variables Declare ConstantsCode Arithmetic Expressions Assignment Statements Operator Precedence Type Casting Math Class String DeclarationConversion Functions Conversion Methods Formatting Functions String Formatting Variable Scope EnumerationsNullable Types Loop Constructs For Next LoopDo While Loop Do Until Loop Do...Loop-WhileDo...Loop-Until Exit Do | Exit For Do...LoopNested Loops Arrays Array DeclarationRnd( ) Function Listbox ControlKeyPressEventArgs Parallel Arrays Key Event ArgsDynamic Arrays Redimension ArraySet Breakpoint Start Debugger ReDim Preserve MultiDimensional Arrays DataGridView ControlLength and Sort Methods Structures Pad RightSplit Method IsNumeric Function Multiform Projects Add Form To Project Form Object Methods Form Show Method ShowDialog Method Form Close Method Form Accept Button Multiform Project Example ASP.NET Web Programming Create Data SourceConfigure Access Data Source Add Product Class Extract Local Database Data Order PageLoad VB CodeAdd New Web Page Set Start Page Display Cart Aspx CodeDisplay Cart Design View Sorted List Definition VB.NET Session State Create CartItem Class GetCartContents FunctionAdd To Cart Event Handler Remove Cart Item EventClear Cart Event Handler |