Wednesday, April 6, 2022

2-Project Setup

 In this post we will setup the project in VS2019. If you do not have VS2019 installed on your windows PC, you can download the free community edition from Microsoft. If you need training on the basic C# language, I recommend the following:

  • Udemy - "Naked C#: A Beginner's Guide to Coding" by Dr. Penny de Byl
  • Udemy - "Object Oriented Programming with C# - Beginner to Advanced" by Tod Vachev
  • Website - "C# Helper" by Rod Stephens
  • YouTube - "RJ Code Advance EN" for modern C#/WinForms UI development

Project Setup

Create a new project in VS2019:
  • Project template: Windows Forms App (.NET Framework) for C#
  • Project name: EngineeringTools
  • Location: Directory where you want to store project, I use C: root directory.
  • Solution name: EngineeringTools
  • Framework: .NET Framework 4.8
I use .NET 4.8 which includes the Chart widget which was dropped in later versions of .NET 😕. Rename Form1.cs to EngineeringToolsMainForm.cs. We will be using multiple projects in the same solution, giving each project main form a unique name eliminates confustion in the IDE when multiple forms are open.

Create a new project in the same solution (Right click on Solution name > Add > New Project:

  • Project template: Windows Forms App (.NET Framework) for C#
  • Project name: TestDiagram
  • Location: Same directory as EngineeringTools
  • Framework: .NET Framework 4.8
Rename Form1.cs to TestDiagramMainForm.cs. Set TestDiagram as the start up project (RC on TestDiagram > Set as Startup Project).


Source code for this project is on GitHub.






No comments:

Post a Comment

34-Microwave Tools with Analysis (Series Final Post)

In this final blog post, I have integrated Y-Matrix analysis into the Microwave Tools project. This version has addition Lumped, Ideal, Micr...