|
My BackgroundWorker experience is not so much but as I understood from MSDN, your code implemeantation is wrong.
I think instead of "Application.DoEvents()" you can use "FormClosing.RunAsync()" method where you want your BW to start. For instance you can put this method in the other Form constructor. Calling "FormClosing.RunAsync()" starts your thread, thread will stop when it finishes its job or when you wants to stopped it. Since I dont know your whole code, I cant give exact code examples.
|
|
|
|
|
can somebody give me the source code of this problem (TSP travelling salesman problem) in java ?? or somewhere similar ???
please ???
|
|
|
|
|
You have to be kidding. Do you own homework. By the way, this is a C# message board, not java.
|
|
|
|
|
if you have a specific problem with your code, ask and we will help. But don't just ask for the entire code.
|
|
|
|
|
Dear Sir or Madam,
I need an implementation of one of the applications of parallel cellular automata, like graph coloring, fire forest, encryption,...
Looking forward to hearing from you,
Thanks in advance,
|
|
|
|
|
If anybody have dump for, Exam 70–536: TS: Microsoft .NET Framework 2.0 - Application Development Foundation, pls provide me the zip file.
Thanks in advance
kumar
|
|
|
|
|
Whats the use of getting certified after reading the dumps. You will not get thru the interviews if you dont answer questions having shown your certified, it will straight away prove that you passed your exam using dumps and you dont know anything about the technology.
Take your time, probably a month for each paper. The internet has a lot of free materials/articles/forums to help you understand the stuff.
Tarakeshwar
MCP, CCIE Q(R&S)
Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
!sgub evah t'nseod margorp sihT ?sgub naem ayaddahW
|
|
|
|
|
I already have some experience in the .Net, i just want to know the pattern of the questions so that i can be focused.
|
|
|
|
|
hi kumar,
as per my knowledge, u will find the Eaxm papers(those are 90% accurate) in braindumps.com
good Luck for ur certification
Rahi
|
|
|
|
|
Hi,
I'm using an embedded usercontrol in a web form to be able to drag files from the windows explorer. I handel the dragdrop event with the following code
private void UserControl1_DragDrop(object sender, System.Windows.Forms.DragEventArgs e)
{
string[] files = (string[])e.Data.GetData( DataFormats.FileDrop, true );
foreach( string file in files )
{
// do something
}
}
The problem is that theres always just one file. If i use the control on a ordinary windows form i get all the files i drag onto the control.
I'm thankful for any advice.
|
|
|
|
|
Hi,
Can any one help me in changing the attribute value of a property outside the class .
eg
class First
{
[readonly(true)]
Class1 {get{return child;}set{child =value;}}
}
class Second
{
(change class1 readonly value)
}
for this eg if property Class1 has readonly attribute can i change that value in class second .
Thank you
regards
Praveen
|
|
|
|
|
How can u change its value and it is a READONLY???>>>
Its type is a READONLY and in english words read only means only for reading not for changing
Jamil Abou Khalil
|
|
|
|
|
readonly value change means
[readonly(true)]or[readonly(false)]
Here True or flase is the value.
|
|
|
|
|
create object of class first
first f = new first();
f.readonly = true;(according to your need)
if you want to access it without making its object then make it static
or use delegates
It is Good to be Important but!
it is more Important to be Good
|
|
|
|
|
The attribute determines how the code is compiled. You can't change that at run time.
---
b { font-weight: normal; }
|
|
|
|
|
hi,
Can anybody tell me how to work with the user control item. I know how to implement it and write the code in it; but i need to know how to use it inside another form and how to implement it from there.
best regards,
jamil abou khalil
|
|
|
|
|
It is ok i found how to do that.
Jamil Abou Khalil
|
|
|
|
|
just add it to the project, and drag it on the form.
|
|
|
|
|
hi!
i need to extract a htm file from a chm file to display.
i tried using
help.showhelp(this,"mk:@MSITStore:C:\Help.chm::/help1.htm");
but the url is not accepted as it is not in string format.
please help me display only the htm file using the chm file without opening chm help on whole.
with regards,
Asha.
hi!
|
|
|
|
|
Hi, Dear Respected Programmers
Kindly help me and convert following VB-commands into C# language.
Thank you
Screen.MousePointer = vbHourglass
Screen.MousePointer = vbDefault
|
|
|
|
|
this.Cursor = Cursors.WaitCursor; should get you the hourglass
Russ
|
|
|
|
|
|
In .NET 2.0 you could simply use the Control.UseWaitCursor property. Otherwise take a look at the Cursor class.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Good Morning.
Can anyone tell me whether there is an equivalent to CSS on Windows forms.
If want to be able to set the size, background colour and default font for a series of panels for my project.
Currently I have been setting these for each new panel.
Thanks
Mike
|
|
|
|
|
No there isn't.
If you want to set properties for a group of controls simply select them one by one while pressing Ctrl and then set the properties. If you want to create a new one with the same properties simply copy an existing control.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|