Project Setup
Create a new project in the Engineering Tools solution called "MicrowaveTools" using Windows Forms App (.NET Framework) template and C#. Select the .NET 4.8 framework so we can use the Chart widget.
Set MicrowaveTools as the start up project.
Change the name of Form1.cs to MainForm.cs.
Set the MainForm properties:
- Text: Microwave Tools
- StartPosition: CenterScreen
- BackColor: Black
- ForeColor: White
- Size: 1200, 800
Add Menus and PictureBox
Add the following widgets in the following order
- Flow Layout Panel
- Name: panelMainMenu
- Dock: Left
- BorderStyle: FixedSingle
- Width: 150
- FlowDirection: TopDown
- Property Grid
- Name: propertyGrid
- Dock: Right
- BackColor: Black
- CategoryForeColor: White
- HelpBackColor: Black
- HelpForeColor: White
- HelpBorderColor: DimGray
- ViewBackColor: Black
- ViewForeColor: White
- ViewBorderColor: DimGray
- Flow Layout Panel
- Name: panelCompMenu
- Dock: Top
- BorderStyle: FixedSingle
- Height: 40
- FlowDirection: LeftToRight
- PictureBox
- Name: schematicCanvas
- Dock: Fill
This source code for this post is available on GitHub.
No comments:
Post a Comment