Salam (Peace) everyone! I've recently started learning C# coding. After mastering the basics and console apps, I've moved on to GUI using WinForms to gain more experience and develop my skills in C#. I hope someone here can assist me in developing this notepad application. I'm facing several issues, particularly with the find & replace feature. I've tried numerous times, but unfortunately, it's not working for me :( Your help would be greatly appreciated. Thank you!
GitHub: DZ-T/Notepad (the website doesn't allow me to post my link)
I just code new version with better functions. I faced a problem in replace & find so i delete the code till i find a solution Thanks again. Let's make this Notepad less "stupid" and more awesome together!
Riddhi ValechaPosted Jun 24, 2024, 11:28 AM
Hello,
Please check the post -
https://www.c-sharpcorner.com/UploadFile/1e050f/process-class-in-C-Sharp/
I think - The following code will be of your use -
using System; using System.Diagnostics;
using System.Threading;
class program { static void Main() { Process.Start("notepad"); //Wordpad open after 1 sec Thread.Sleep(1000); Process.Start("wordpad"); } }
Dharmeshwaran SPosted Jun 22, 2024, 2:54 AM
Try using below code for Find Functionality