|
Look it!
You go to solutions explorer
right click to the name of your project
click to "add"
then, choose "add windows forms"
put the name that you want in this form, and
click to submit
to another window, you put in the source of a button:
[THE NAME OF YOUR WINDOW] f[A STRING];
f[YOUR STRING] = new [THE NAME OF YOUR WINDOW]();
f[YOUR STRING].Show();
Thanks!!
|
|
|
|
|
thanks for ur reply, will this give me msn like window look, that appear when anyone come online? let me try it. thankx
|
|
|
|
|
notifyIcon is good approch,but i want to copy the idea of MSN,how my window will appear from the botton right corner of my computer screen and display some message. thankx
|
|
|
|
|
How does one go about finding the type of a given token or variable?
Mainly, I'm looking for a way to tell if a token is a numerical value, rather than a string.
Thanks in advance!
|
|
|
|
|
What do you mean by 'token' ? You can use tryparse to find out if a string is a number or not.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I am having trouble closing my application properly. I have a MDI environment. Each child can have a usercontrol loaded.
I have in my Parent the following. All is psudo-code.
ExitApp()<br />
{<br />
if(childForm != null)<br />
{<br />
childForm.ExitFunction();<br />
}<br />
else<br />
{<br />
App.Close();<br />
}<br />
}
in Childform,
ExitFunction()<br />
{<br />
if(userControl != null)<br />
{<br />
userControl.ExitFunction();<br />
}<br />
else<br />
{<br />
}<br />
}
A similar function in the userControl.
I had called a event handler that relaunched the ExitApp function. But obviously, the childform is not unloaded, so this just loops like crazy. How can I verify that the child is unloaded prior to Re-launching the Exit app function.
Thanks in advance...
*****************
"We need to apply 21st-century information technology to the health care field. We need to have our medical records put on the I.T." —GW
|
|
|
|
|
Can't you avoid calling ExitApp recursively? If not, I think the only way is to add a flag that is set to true when the "else" part executes for the first time and then conditionally skip execution from the next time.
ExitFunction()
{
if (isRecursive)
return;
else
isRecursive = true;
if(userControl != null)
{
userControl.ExitFunction();
}
else
{
}
}
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
how do i get the current caret position in a rich text box. Anyone, Please.
Nana
|
|
|
|
|
|
Hi, I would love to inform you that my req is here....> I have to make to class diagram of custom Table... here custom table is own custom table.. No Back end is being is used... could u help me to creat the custom Table class..Table is being used on Client Side
Syed Naseer Asghar
|
|
|
|
|
what do u mean?
can u explain more what u need here?
<< >>
|
|
|
|
|
Hey all,
I am looking for a managed .NET MODBUS component. Anyone know of one. Everything I have found is ActiveX or C++ dlls. I can go with one of these, but would like to avoid it if possible.
Thanks in advance.
*****************
"We need to apply 21st-century information technology to the health care field. We need to have our medical records put on the I.T." —GW
|
|
|
|
|
i was wondering if any one know how to limit tcp transfers , something like NetLimiter i guess i won't find and .Net code about it but i'm looking for a direction
thanks Gil
|
|
|
|
|
The .NET framework isn't designed to do low-level stuff like limiting the number of packets that can come in via TCP.
You probably *could* do this in C#, however, you'd just be making a bunch of Win32 calls via P/Invoke. And in that case, it may be better to use the right tool for the job, which would be C/C++.
Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Cops & Robbers
Judah Himango
|
|
|
|
|
well i expected this answer but i wonder do you know any open to public library that i can use throw c# (my c++ skills are very basic) ?
|
|
|
|
|
There are some articles on CP that deal with low level TCP, packet sniffing, etc. here[^], for example.
|
|
|
|
|
i know this article but i can't find anything that talk about limit transfers speed
|
|
|
|
|
Hello,
There is no List class attributes, if I use 1.1 version of .NET framework.
Thank you.
|
|
|
|
|
Well, yes there is no List object in the .Net Framework 1.1. Do you have a question?
There are plenty of objects that implement IList that will behave like a list. Pick the one that is appropriate for your needs.
|
|
|
|
|
Thanks.
I did not formulate the question properly.;)
|
|
|
|
|
zaboboa wrote: I did not formulate the question properly.
..........................................And that question would be???????????????????????????
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
The question was if there is a List class, in 1.1 version.
I pretty much answered my own question.
Thank you.
|
|
|
|
|
Hello there,
i am developing a custom TabControl.
Have you seen the standard TabControl? From the properties window one can add or remove tabs...
I want to do the same!
Do you know guys if there is a way to achieve my goal?
Montezuma
|
|
|
|
|
I think these are called verbs . You can also see them by right-clicking on the control in the design window.
You will need to do some reading on Designers. I would tell you more but I've never used them myself.
|
|
|
|
|
Great man,
thanks to your keyword (i would never guess such a biblic name) i have been able to find this article
http://www.codeproject.com/csharp/CustomDesigner.asp
which explains exactly what i want to implement.
Thanks a lot!
Montezuma
|
|
|
|