![]() You can open a PDF file by right-clicking on a PDF entry in the DataGrid and choosing Open PDF file from the context menu. The second non-modal dialog is used to open a PDF file in a WebBrowser control. A non-modal dialog is used to display PDF file properties when the user double clicks on a PDF entry in the DataGrid or right-clicks on a PDF entry in the DataGrid and chooses Show PDF file properties from the context menu. Non-modal or modeless dialogs are used to display information that is not essential for continuation of the application, thus allowing the dialog to remain open while work in the application continues. In addition to the modal unlock dialog, the PDF split and merge tool also uses two non-modal dialogs. (()parameter).Password = string.Empty ĮrrorContent = " Failed to unlock PDF file, please try again." If (LockedFile.Open((()parameter).Password) = Define.Success) ![]() Private void OnOkCmdExecute( object parameter) At startup, the MainView is created and its DataContext set, after which the MainView is shown to the user. ![]() The PDF split and merge tool is created using the MVVM pattern. The two screenshots below show how the UI of the application looks like, simple and easy to use. The source of the PDF split and merge tool can be found on top of this article. This tool makes use of the iTextSharp library, which allows you to create and modify documents in the Portable Document Format (PDF). Inspired by several commercial products, I decided to create a PDF split and merge tool. The most recent code can be found in my Github repository here, the Window Installer can be found hereĪnd the ClickOnce deployment can be launched here. In this article, I will discuss a PDF split and merge tool that I created in WPF using Visual Studio 2015. I recently followed the 70-511 WPF course, the skills I have learned I want to share with you. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |