C# Windows Forms Application Commit