Step 1) Take a Form and Add Below Code in Class.
Step 2) Run application its open a window with Notepad.
using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using System.Windows.Forms;namespace MyNotepad{static class Program{[STAThread]static void Main(){Application.EnableVisualStyles();Application.SetCompatibleTextRenderingDefault(false);Application.Run(new Form1());}}}
Step 2) Run application its open a window with Notepad.
No comments:
Post a Comment