|
Create a function that you'll call with Invoke via a delegate .
That function (if called via invoke) should have access to the UI thread to update (redraw) the circle.
V.
|
|
|
|
|
can you write this code for me??
thx
|
|
|
|
|
Sure !
I charge about 400 € / day.
Does that sound reasonable to you?
V.
|
|
|
|
|
OOpsss ....
y are joking ?
this is jus sample ...
good luck !
|
|
|
|
|
yes I was joking, but I will not give you code. Please read the guidelines for posting in a forum.
V.
|
|
|
|
|
sorry
i dont know anything about rules !!
can u give me a test for this program ??
|
|
|
|
|
The answer to that is: no.
Here are the rules, they're on top of this forum:
For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside
tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
V.
|
|
|
|
|
thx so muhc
|
|
|
|
|
This is Vishal Post at 2.01pm
|
|
|
|
|
|
|
thx dear
i start working on !!
|
|
|
|
|
Dear Friends,
I need help in my project, please kindly help me out..
I am having 2 application
Application 1:
database( MY SQL ) which will updating as per events occurring in it.
Application 2:
Database ( SQL SERVER) which is working in co-ordination with its hardware.
now i want to take data from 1 application and push it in application 2.. and from application 2 i will be sending request to its hardware.
Doubts i have
1. How to keep track of latest update in application 1. ( data is continuously getting updated).
So for this in my application i will using connection and other classes to connect it. but how to keep it running( using windows services / Timer or what ?) as whenever there is new entry in the database of 1st application i want to retrieve it in my application.
so that i can send it to the second application.
Thanks in advance.
|
|
|
|
|
|
Thanks any more suggestions pls
|
|
|
|
|
hi
can someone be of help, i want develop my first application which is based on Examination attendance management sysetem.. I need source code and interface design layout
|
|
|
|
|
If you need source code then you are not developing this application, you are asking others to do it for you.
Start with writing your requirements.
Failure is not an option; it's the default selection.
|
|
|
|
|
lawal olanrewaju Daniel wrote: I need source code and interface design layout
Good, I charge about 400 € / day. Does that sound reasonable to you?
V.
|
|
|
|
|
How about you actually pay attention in your lectures and do the course you're on properly?
|
|
|
|
|
Assume an array in form1 like this
public class ARR1
{
public Int64 code;
public string name;
public bool sup;
public bool[] chb = new bool[100];
public string[] param = new string[100];
public void reset()
{
int i;
code = 0;
name = "";
sup = false;
for (i = 0; i < 100; i++) chb[i] = false;
for (i = 0; i < 100; i++) param[i] = "";
}
}
public ARR1 MainArr = new ARR1();
and ofcourse we have done something with this
aaray and it is full of data, in form2 its new
data is not accessible. how can we delegate this
array in form2 to use its data.
this format ( form1 frm1=new form1(); ) doesn't work.
thus how can we delegate an array in deferent forms?
|
|
|
|
|
1. Please use the pre tags to post code (the code button on top of the edit field)
2. Your question does not make sense at all, what are you trying to achieve?
3. What do you mean with: "this format ( form1 frm1=new form1(); ) doesn't work"
4. What do you mean with delegate, because a delegate is a more complex term to explain and I doubt you need that here. I assume you mean something else.
5. You're code looks terrible, if you're a beginner, I suggest you buy a book and follow it from start to end.
V.
|
|
|
|
|
Ill do all your advices and forget my question.
as we can delegate for example a textBoxes between
forms, I want to know how can we delegate arrays
between forms.
|
|
|
|
|
You mean you want to pass the information from one form to the next?
You can do so by passing it through the constructor or via using a property.
V.
|
|
|
|
|
I've got an issue with my MDI child forms, where the form objects 'contain' data from previous instances.
I'm assuming its relating to the fact that when I open the form from the MDI parent I use the following:
frmDTC frm = new frmDTC(true);
frm.MdiParent = this;
frm.Show();
I think the errors are occurring because I don't dispose of frm. Usually I would use using , but that will close the form instantly.
So should I do something like:
frm.FormClosed += (s, ev) => frm.Dispose();
Or should this be in the form class itself?
Or have I missed something else...and the user closing the form should mean it gets disposed eventually...and I've got something else stopping it.
|
|
|
|
|
Dispose won't remove references that you've added (as fields of your form object). And yes, closing a form will generally immediately Dispose it as well, so this is probably not your problem.
My guess is you're storing frm in a collection somewhere, and not removing it when the form is closed. You can either ditch that collection entirely and use MdiChildren, or you need to add a close handler to remove subforms from any collections in your code.
|
|
|
|