- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Codes 4 F00d
- Interests
- Computers, Programming, Swimming, Nature
- PC Specs
- Dual Boot: Windows 7 x64 & Fedora 14 x86_64
6 Posted Topics
Re: For charting I use Microsoft's MSDN's "Samples Environment for Microsoft Chart Controls" [QUOTE]Samples Environment for .NET Framework 4 Chart Controls Released! You can now download Visual Studio 2010 projects that contain all the samples targeting .NET Framework 4. Download Description The samples environment for Microsoft Chart Controls for .NET Framework … | |
Re: Can't you program functionality to make the application work for a trial period of time (15 or 30 days for example) and then after the trial expires disable the program and pop up a message saying "Trial period expired" whenever the user tries to open it again. | |
Re: openFileDialog.FileName returns a string representing the full path of the selected file including the extension, since it's a string you can use the static String method Contains to check if the file name coantians .foo or .bar, like this: [CODE=c#] if (openFileDialog.FileName.Contains(".foo")) { MessageBox.Show("You opened a .foo file"); } else … | |
Re: You can convert the response variable from Char to a String using the ToString() method and then use the ToUpper() method of the String class on the response variable in the switch which makes sure that anything you enter is converted to upper case so if you enter either "m" … | |
Re: I just made this code based on what I understood from your post. [code=c#] using System; using System.Windows.Forms; namespace DataGridViewTest { public partial class Form1 : Form { private DataGridView dataGridView1 = new DataGridView(); private LinkLabel link1 = new LinkLabel(); private LinkLabel link2 = new LinkLabel(); public Form1() { InitializeComponent(); … | |
Re: What I notice here is that you haven't started the timer (Timer1.Start()) which will trigger the Timer1_Tick event. Double click the form, a new event will be generated called Form1_Load, this event is triggered when the form is first loaded which in turn will start the timer. [code=c#] private void … |
The End.