When you are all set to start a small business, you always end up looking for the chances to save money. But no business can run without Technology. You need computers, smart phones, file storage, a website, and a whole host of other tech assets. More importantly, you need software’s that you use for business […]
You can track the deleted folders in Windows Application by using FileSystemWatcher Class. 1) First add System.IO.FileSystem.Watcher.dll library. 2) Next Write the code as shown below. 3) If you need to track all the subdirectories which are deleted. The below code is important. fileSystemWatcher.IncludeSubdirectories = true; 4) Write the source code as […]
In this post you can see how to select all the items in checkedlistbox using c#.net Please check on the image As in the image, you add checkbox and checkedlistbox to the windows form and write code in CheckedChanged event of checkbox How to change default icon in […]
In this post you can see two different ways to fix size of window form. Please click on the image 1- Set FormBorderStyle property to FixedSingle or FixedDialog. 2- Set MaximumSize -width and height property to fix the size of form. […]
The following code illustrates on how to check if directory exists in specific path, if not then create directory. Here I show that how to create the directory with simple condition. private void TestDirectory() { string pathname = “C:\\Myfolder”; if(!Directory.Exists(pathname)) { Directory.CreateDirectory(pathname); } }