Forum: C# Nov 22nd, 2008 |
| Replies: 5 Views: 519 case 3:
// output = " \tWithdraw";
//UnderConstruction(output);
WithDraw(balance);
should read |
Forum: C# Nov 22nd, 2008 |
| Replies: 5 Views: 519 Everytime you enter the Deposit() method you are setting the deposit amount to 94.37 :. its not really ever going to change. I mean you will return a different balance from that method but as soon as... |
Forum: C# Mar 31st, 2008 |
| Replies: 11 Views: 4,468 Advantage of that later is you cannot simply change the name of the executable and then run two instances of the application. |
Forum: C# Mar 20th, 2008 |
| Replies: 5 Views: 1,923 You will have to use the interop services according to MSDN (http://msdn2.microsoft.com/en-us/library/ms172517.aspx) and the GetSystemTime function located in coredll.dll |
Forum: C# Mar 19th, 2008 |
| Replies: 5 Views: 1,923 I am a little uncertain of what you wan't so I apologize if I am completly off the mark. But if you want the current time in ticks the actual datetime structure has a Ticks property... |
Forum: C# Jan 20th, 2008 |
| Replies: 1 Views: 723 You will have to take a look at regular expressions in C# found in the System.Text.RegularExpressions System.Text.RegularExpressions Namespace... |
Forum: C# Jan 19th, 2008 |
| Replies: 11 Views: 2,126 If your second class has been defined as class2 and is accessible within your current form ( in the same project and within the same namespace ) it should work. That error suggests that it is unable... |
Forum: C# Jan 19th, 2008 |
| Replies: 2 Views: 5,174 Um, I don't know if there is anything out there for this personally, But I may be able to point you in the right direction if you want to make something like this. You will have to use... |
Forum: C# Jan 19th, 2008 |
| Replies: 11 Views: 2,126 if(txtUser.Text == "MJ12" && txtPass.Text == "Roswell1947")
{
// Create instance of the mainForm class
Form nextForm = new Class2();
// We may need to make it visable
nextForm.Visible=true;... |
Forum: C# Jan 19th, 2008 |
| Replies: 2 Views: 956 It may be that you are missing some librarys that are required for running, If your using visual studio 2008 try creating an installer ( I can't remember where this is in VS2008, but It is definitely... |
Forum: C# Jan 19th, 2008 |
| Replies: 11 Views: 2,126 if(txtUser.Text == "MJ12" && txtPass.Text == "Roswell1947")
{
//need help here!
}
I am guessing that you want to create another windows forum at this point.
so you may want to do... |
Forum: C# Jun 14th, 2005 |
| Replies: 3 Views: 16,651 Or perhaps use Perl .NET for the perl part ?
http://aspn.activestate.com/ASPN/NET |
Forum: C# Jun 14th, 2005 |
| Replies: 2 Views: 32,475 I was more looking for different approches people have used.
They way I ended up doing it wasn't very nice.
But I was thinking more like perhaps using a factory design pattern, but the real... |
Forum: C# Jun 3rd, 2005 |
| Replies: 2 Views: 5,946 I was wondering if there is anyway to make Windows Forms do certain tasks whenever its shown ?
- Thanks in advance Paul |
Forum: C# May 28th, 2005 |
| Replies: 2 Views: 32,475 What kinda appoch would people here take for tacking a gui on an already existant console program. |
Forum: C# Apr 10th, 2005 |
| Replies: 13 Views: 5,445 I havent really had much success with IDE's, I find them really unintutitive. I seem to find myself using a texteditor (usuly nano or gedit). They are exceedingly useful for building GUI's but when... |