12/19/2023 0 Comments Nfo viewer windowsWe want to be able to close our program with a X-Button. Size and Location: Drag around and resize in Design mode, or type the numbers.BackColor and ForeColor: Change the color style of button and text.Cursor: I changed this to Hand, so you can better see it's clickable.Text: Change it to something that says: 'close me'.Buttons/ KeyPress Events for Speed Options: Pause, Slower, Faster Īs I make different app designs and versions, this may differ a lot, but it works.This means you can't interact with any event, but you can click on it and drag the application around, like the image of the 'form'. I also disabled all possible interactions with it. I didn't want a scroller, so I decided to 'hide' it. When it reaches the end, it will go back to the start and loop the scrolling. nfo file, converts it before presenting, load all the text and uses my edited autoscroll code to keep the text going up with a specific speed all the time. The most important one for this app: The richTextBox!.It will open the default user's webbrowser and go to my link (Left side) A pictureBox that you can click on.A checkBox which will pause (mute) the music (mod format) when it is unchecked.A Button (X) to close the application once you run it.With a small piece of code, you can make the picture drag the whole application around. I've used a big picture and set the Transparency option to White, to remove all around the actual picture. The mainframe (Windows Form, without border).The above application contains the following parts: Picture 'Argaï NFO Viewer v1.4 Final' (Full image from below) Changes since 1.3: No close button (2) anymore (press Escape instead), Test Speedbuttons removed (7), changed speed options (1x +, 1x - instead of both 2x). I'll leave the old options as is, so people can still use those as well. Since this is a new update, some buttons/functions are different. So I decided to create them myself! The Application + Options I wanted that too, but couldn't change those files. Eventually I got some NFO Viewer samples that ran instantly and had a lot of custom things. Notepad doesn't show all correct symbols by default and doesn't position everything in the right place. I had a lot of NFO files, which I had to set 'open with notepad' to show them. Using this article you can pick any part of code to create your own viewer or use the source to create a custom Viewer of the one provided here. It has to be presented like the end credits of a movie! In this box I will load the NFO file (text), which will be presented in custom colors, scrolls down automatically and loops, and a last thing: you can't interact with the text. This application has a custom ' Form', Functions to close application and mute music, custom icon, picture that goes to a website if you click it and the main thing is the richTextBox. NET 4.5 and I use Microsoft Visual Studio 2010. Having a few more months of C# hobby-experience by trial and error and some new updates for this NFO Viewer, I once again updated this article. I hope you'll enjoy this hopefully Final version! Introduction Appearance changed, new improvements and bugfixes (See History at bottom for changes). I have 4 versions, all have Source code and Application only downloads.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |