|
You can try out the following link to sart with Visual Studio 2008 -
http://msdn.microsoft.com/en-us/vstudio/default.aspx[^]
I can suggest you to use some 3rd party product for rich user interfaces. Among them DevExpress is a very good produc per my experience. There are several other products also availble which you can use based on your requirement,cost etc.
Btw, welcome .NET world 
|
|
|
|
|
ty very much! The library wfp is exactly what i'm looking for.....
|
|
|
|
|
Hi,
I need to change dynamically one parameter value of this attribute : SoapRpcMethodAttribute.
My goal is to extract an Action identifier and put it in the SOAP Message to send.
Do you have some other ideas.
I will very appreciate.
Reda.
|
|
|
|
|
Hi, I use the standard webbrowser control (not the extended version that is available here) (.net framework version is 3.5) in my C# application. When I input data in a text field a javascript function checks that input and displays a YES/NO Messagebox based on that input. Is there any way to get the Dialogresult of that messagebox (i.e. what button was pressed) or better yet a way to intercept this event in order to display my own messagebox?
|
|
|
|
|
I think you are using confirm() function. If not then try out the following -
<html>
<head>
<script type="text/javascript">
<!--
function confirmUserInput() {
var ans = confirm("Are you sure?")
if (ans){
alert("Thank you for your answer")
}
else{
alert("Please made your mind first")
}
}
</script>
</head>
<body>
<form>
<input type="button" onclick="confirmUserInput()" value="Confirmation">
</form>
</body>
</html>
|
|
|
|
|
It's possible to print a form (in format A4) with all controls included in it as the form appear on the desktop ? without manual creation of a specific PrintDocument.
Is there a class that realize this print ?
|
|
|
|
|
why can't you use PrintDocument?
it's as simple as this[^]
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
thanks...it's perfect. But the quality of the print it's low quality.
|
|
|
|
|
Hi everybody
I want to know what does this code do, why do they put a delegate? please explain me the topics and concepts behind every word
Thanks
Converter<int, String> converter = new Converter<int, String>(delegate(int value){return Convert.ToString(value);});
|
|
|
|
|
Angel Romero wrote: please explain me the topics and concepts behind every word
Why? They are already explained on the MSDN Web site. If I type it into a forum message you still have to READ IT. What's the point?
|
|
|
|
|
Well it doesn't explain why they use "delegate" or Generics for this conversion 
|
|
|
|
|
Angel Romero wrote: Well it doesn't explain why they
And how would anyone but "them" know why "they" did it?
You might want to check this out[^]
|
|
|
|
|
Well thanks for your answers
I can't find what I need from you
Thanks anyway
|
|
|
|
|
Angel Romero wrote: Well thanks for your answers
And thank you for answering my question.
Good luck, you're going to need it.
|
|
|
|
|
It fits in their design pattern? It was required by some part of the .NET library? Who knows? Up to them, right? Whoever they might be..
|
|
|
|
|
the difference is that is you do the running around then the OP only needs look at 1 page lol
So... Go Fetch!
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Explaining this seems a bit pointless, as if you cannot understand the general purpose of the delegate keyword in this context then you need to read up on the C# language.
Saying that working backwards:
delegate(int value){return Convert.ToString(value);}
This line is an inline way of writing:
public static string MyConvertMethod(int value)
{
return Convert.ToString(value);
}
new Converter<int, String>(...)
This instantiates a Generic class (or delegate) named Converter with the item in parenthesis being the delegate itself.
Converter<int, String> converter = ...
The instantiated class (or delegate) is assigned to a variable named 'converter'.
I hope ive explained every word for you!
|
|
|
|
|
J4amieC wrote: read
What is the meaning of this word?
only two letters away from being an asset
|
|
|
|
|
Taken out of context, it could be the present or past tense of the verb "to read". It could be an item made of wood that is placed in the mouthpiece of a wind instrument, a mis-spelling of a common plant found beside a lake or finally an acronym for "Relative Element Address Designate" from the field of cryptography.
Take your pick and run with it.
|
|
|
|
|
J4amieC wrote: It could be an item made of wood that is placed in the mouthpiece of a wind instrument
I belive that is spelled "reed"...
|
|
|
|
|
He must yoose a splell chekker!
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Goood
Thanks!!
I really appreciate your help!
|
|
|
|
|
The Thread object getting with Thread ID <---- is possible?
There will be what kind of method and peels?
exam 1)
System.Diagnostics.ProcessThreadCollection ptc = curProc.Threads;
foreach (System.Diagnostics.ProcessThread ptt in curProc.Threads)
{
System.Threading.Thread th = ptt.id <--------- casting failed : ID is int type
Or
System.Threading.Thread th = (System.Threading.Thread)ptt.id <-------- casting failed
}
exam 2)
System.Diagnostics.ProcessThreadCollection ptc = curProc.Threads;
System.Diagnostics.StackTrace[] st = new System.Diagnostics.StackTrace[ptc.Count];
foreach (System.Diagnostics.ProcessThread ptt in curProc.Threads)
{
st[iPtCnt] = new System.Diagnostics.StackTrace(ptt, true); <--- casting failed ptt
}
MSDN) OverLoad List ---> StackTrace(Thread, Boolean)
.
|
|
|
|
|
Hi,
AFAIK you can't get a Thread unless you are creating one, as in Thread thr=new Thread(...);
The ManagedThreadId is a number that helps you in differentiating threads, I use it when logging application progress and intermediate results.
Luc Pattyn [Forum Guidelines] [My Articles]
DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
|
|
|
|
|
Didn't you ask a verbatim question here[^] and get the same answer?
|
|
|
|