Forum: Java Oct 23rd, 2009 |
| Replies: 5 Views: 433 Can someone please tell me why I have been down-voted for previous post? I really wanted to solution this problem. I am used to explaint a lot of students facts like this so that's why I gave ki72... |
Forum: Java Oct 22nd, 2009 |
| Replies: 5 Views: 433 int a=0,b=0,c=0,d=0;
int n=4875;
int rest=0,i=1;
while(n!=0)
{
rest = n%10;//ghet the last digit of the number
n=(n-rest)/10; //the... |
Forum: Java Oct 16th, 2009 |
| Replies: 11 Views: 371 Add "import java.io.File;" then use this code:
File f = new File("./");
System.out.println(f.getAbsolutePath());
This will tell you the absolute path of the folder in which... |
Forum: Java Oct 16th, 2009 |
| Replies: 11 Views: 403 I need more details. I don't understand what you are actualy doing. The best method would be to make a JTable in which you can see your database table records. Then you can go further. I mean how can... |
Forum: C# Jan 26th, 2009 |
| Replies: 12 Views: 2,751 sorry in my post i didn't mean AutoSizeChanged event but SizeChanged event:
private void Form1_SizeChanged(object sender, EventArgs e)
{
this.Refresh();
} |
Forum: C# Jan 26th, 2009 |
| Replies: 12 Views: 2,751 for minimize/maximize try AutoSizeChanged event:
private void Form1_AutoSizeChanged(object sender, EventArgs e)
{
this.Refresh();
}
If you open other programs (windows) over... |
Forum: C# Jan 26th, 2009 |
| Replies: 12 Views: 2,751 your description is a little bit confusing but let me guess: trigger the refresh() method for the form:
this.Refresh(); // for immediate redraw of the form and it's components |
Forum: C# Jan 24th, 2009 |
| Replies: 5 Views: 371 LOL YOU ARE FUNNY !
did he mention that Label5 has Text property set to "" or something else? i thing anyone can figur this out. So don't feel to SMART:twisted: |
Forum: C# Jan 24th, 2009 |
| Replies: 5 Views: 371 It's wrong. you assigned the string element every time to Label5.
This is correct:
protected void Button4_Click(object sender, EventArgs e)
{
string[] stringArray... |