Forum: C# Sep 10th, 2009 |
| Replies: 16 Views: 731 |
Forum: C# Sep 10th, 2009 |
| Replies: 16 Views: 731 You are trying to call a constructor that doesn't exist. Try changing:
matrix[i - 1, j] = new bool(temp);
to
matrix[i - 1, j] = //True or false |
Forum: C# Sep 10th, 2009 |
| Replies: 16 Views: 731 What is the classname that is listed in the error message?
is the error message number CS0143? |
Forum: C# Sep 10th, 2009 |
| Replies: 16 Views: 731 Can you post the code where you instantiate an object of Field class? |
Forum: C# May 23rd, 2008 |
| Replies: 3 Views: 1,117 You are welcome :) glad the link was useful! |
Forum: C# May 23rd, 2008 |
| Replies: 6 Views: 3,816 Did this solve your issue? If it did could you mark the thread as solved please so that others know it is solved!:) |
Forum: C# May 23rd, 2008 |
| Replies: 3 Views: 1,117 Hi again knoweldgelover, this link may help you out somewhat:
Hope this helps |
Forum: C# May 20th, 2008 |
| Replies: 6 Views: 3,816 Ahhh Codeproject - love that site Jerry! I think (not tested it) this will work:
OpenFileDialog op = new OpenFileDialog();
op.ShowDialog();
Hope that helps! Just put that in the event handler of... |
Forum: C# May 14th, 2008 |
| Replies: 5 Views: 2,049 Where have you cast the variable Y? |
Forum: C# May 14th, 2008 |
| Replies: 5 Views: 2,049 Hi there Traicey :)
Give this a try:
string x = "";
int parsex = Int32.Parse(x);
Or
string x = ""; |
Forum: C# May 1st, 2008 |
| Replies: 3 Views: 4,508 Hi there, this article may help..... |
Forum: C# Apr 19th, 2008 |
| Replies: 4 Views: 1,222 Did you try the .exe that is found under the bin/debug directory of your project? Oh and any pc you wish the exe to run on will need the .net framework I am afraid. One of the downsides of using... |
Forum: C# Apr 14th, 2008 |
| Replies: 7 Views: 705 JerryShaw, nice one buddy! Have been trying to solve this one for emilio for a while now lol |
Forum: C# Apr 14th, 2008 |
| Replies: 7 Views: 705 I have found this article that may help you a lot. look under 'events and delegates' |
Forum: C# Apr 14th, 2008 |
| Replies: 7 Views: 705 Have you added your custom controls to your project? If not, right click your project and select 'add existing item' then add your controls. hope this helps! |
Forum: C# Apr 14th, 2008 |
| Replies: 7 Views: 705 Hi there emilio, could you post your code so we can try to help you a little easier? |
Forum: C# Apr 13th, 2008 |
| Replies: 9 Views: 864 try to remove the "" around "<data>". Tell us what you see then... |
Forum: C# Apr 1st, 2008 |
| Replies: 3 Views: 3,999 Hi there, this link might be useful to you:
hope that helps! |
Forum: C# Apr 1st, 2008 |
| Replies: 5 Views: 2,886 are you using a checked list box? if so this might help you a lot: |
Forum: C# Mar 20th, 2008 |
| Replies: 9 Views: 8,388 Jx_man's solution is better than mine, as when you are debugging my solution means that the application is still running (the login form is there, just not visible). Jx_man's solution closes the... |
Forum: C# Mar 20th, 2008 |
| Replies: 9 Views: 8,388 you could hide the login form by adding the following under the instantiation of your next form(in login form class):
this.Hide(); |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 that code i just posted will work |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 label2 is what you need, label 1 was for testing. |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 public partial class Form1 : Form
{
int ctr = 0;
public Form1()
{
InitializeComponent();
}
private void textBox1_TextChanged(object... |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 what you need to do to get the label to say 4 or whatever is reduce the counter with this statement
ctr--
this needs to go in an event handler that is capable of detecting if the backspace is... |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 have you got the incrementor working yet ? |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 remember to declare ctr at the top of your class as such:
int ctr = 0; |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 ok, well so far I have this:
ctr++;
label1.Text= textBox1.Text;
label2.Text = ctr.ToString();
This, however, doesnt reduce the label to 4 if a character is deleted. But... |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 ok you need to write some code in the textbox text changed event. (double click the textbox to make event hander) are you using Visual studio ? |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 if a user types "hello" then presses backspace to remove the "o" what would you like to happen then ? the label to read 4 ? |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 ok I understand what you are doing, I will rack my brains for you hold on..... |
Forum: C# Mar 18th, 2008 |
| Replies: 22 Views: 6,167 do you mean
1.that if i type in "hello" in textbox, your label should reflect what has been typed (therefore the label text will be "hello")?
2.or do you mean that if I type in "hello"in to the... |
Forum: C# Feb 14th, 2008 |
| Replies: 7 Views: 1,093 you can try this instead
http://www.go-mono.com/mono-downloads/download.html |
Forum: C# Feb 14th, 2008 |
| Replies: 7 Views: 1,093 there you go buddy!
http://www.icsharpcode.net/OpenSource/SD/Download/ |