...loading
salim.codes...loading
salim.codesA Notepad-inspired desktop application built with C# and Windows Forms, featuring robust file management, document state tracking, drag-and-drop support, and live text statistics.
Screenshots
Features
Document Management
Create, open, edit, and save text documents using native Windows file dialogs with support for both Save and Save As operations.
Unsaved Change Detection
Automatically tracks document modifications and prompts users to save their work before creating a new document, opening another file, or exiting the application.
Live Document Statistics
Displays real-time counts for characters, characters excluding whitespace, words, and manually inserted line breaks as the document is edited.
Drag & Drop File Import
Supports intuitive drag-and-drop file handling with modifier keys for opening, appending, or inserting file contents at the current cursor position.
Why it was built
Desktop Text Editor is a Notepad-inspired Windows desktop application designed to demonstrate desktop application development using C# and Windows Forms. The project focuses on creating a responsive and user-friendly editing experience while implementing robust file handling, document state management, exception handling, and event-driven programming. Additional functionality such as live document statistics and advanced drag-and-drop behavior further enhances usability and showcases practical desktop software engineering techniques.
Tech stack
C#
Implements the application's business logic, event handling, and file management.
.NET Framework
Provides the runtime environment and core libraries for the desktop application.
Windows Forms
Creates the native graphical user interface and manages user interactions.
File I/O
Handles reading, writing, opening, and saving text documents.
Exception Handling
Ensures robust error recovery and user-friendly feedback during file operations.