|
It's a generic parameter. It basically means that you can pass the value in without having to box it to an object then unbox it. Without this, you would have to declare object value .
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
I have a MdiParent Form, that contains MdiChild forms. That MdiParent also contains some controls on it (panels). Default MdiChild Form behavior is that it is displayed behind all control's on MdiParent. So if there is a panel on MdiParent and I drag a MdiChild so it interferes with panel, panel is in front of it and I can't see the MdiChild part behind the panel.
Is there any simple way how to change this default behavior, so that MdiChildren are in front of all MdiParent - controls ?
zilo
|
|
|
|
|
Hello,
I think there is only the possibility of "BringToFront()"
All the best,
Martin
|
|
|
|
|
Hi,
didn't help, I removed those controls...
thanx for aswer
zilo
|
|
|
|
|
Zilo(svk) wrote: Is there any simple way how to change this default behavior
No. This cannot be changed. All MDIChild forms are rendered on a control docked as Full in the MDIParent form. This control is called the MDIClient. Any other controls you place on the MDIParent form will always hover over the top of the MDIClient control.
You will have to either get the reference to the MDIClient control (it's in the MDIParent form's Controls collection, just like any other control), and turn off it's Dock property, and resize it to give you room to put your other controls on the MDIParent, OR you put all of you're other controls in their own seperate window.
|
|
|
|
|
Hi,
I want to that then click a back and forword internet explorer button then appear message in asp.net C#
|
|
|
|
|
What sort of message ? Do you want to forbid it, or just pop up some message ? I'm not sure that javascript can tell that you've pushed those buttons, if it can, then you can write javascrpt to do that.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
what the best biometric fingerprint scanner or reader that is easy to manipulate using c# or vb.net?
im about to purchase one to be used in one of my client. we will be using it for employee daily time record.
can anyone point me to the right direction of what type/model/brand to use? i have not used this type of equipment before.
thanks in advance
-TheCardinal
|
|
|
|
|
Not sure what is the best. Have you browsed around?
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
|
|
|
|
|
Hi!!
Maybe I can help you. In a recent project I have test two models from different manufacturers:
-DigitalPersona...
-FingKey Hamster
We decided to decline DigitalPersona because is too slow starting when operating system starts and to capture fingerprint. Hamster doesn't not. IS very fast and has a payment sdk with samples to c# with a low cost. And now you have a second version on Hamster(Hamster II). I recommend it.
Look here -> http://www.nitgen.com/New_site/eng/product/pc_hamster.asp
I hope this help you.
Visit my blog at http://dotnetforeveryone.blogspot.com/
|
|
|
|
|
thanks il_masacratore!
Your reply is highly appreciated. ill take a look and it.
-TheCardinal
|
|
|
|
|
Hi all
I have a requirement to get the http port number,Server location and web server port in which the web site is running using CSharp.Any web reference or code help is appreciated.
Regards
Krish
|
|
|
|
|
Try looking at these keywords/classes HttpWebRequest,HttpWebResponse....
VirtualVoid.NET
|
|
|
|
|
Is it possible to write C# coding and VB.Net Coding in the ASPX page
Regards,
LEE
|
|
|
|
|
yes u can write coding in aspx pages
in <% %> Server tags.
Thanks and Regards
Aavesh Agarwal
|
|
|
|
|
I tried using <% %> Server tags but i got error msg.....
Can you give me an examples or Sample coding
Regards,
LEE
|
|
|
|
|
Yes and no. The separate languages have to be in separate files. You can write a C# class and use in a VB page, or vice versa.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi,
How to set formate(Font Size,Color etc) of data written into text file
by StreamWriter in C# Windows applications.Mainlly i want to change font size
of written data.
Ranjeet Singh
|
|
|
|
|
There is no font information in a text file. If you want to add any formatting at all to the text, you have to use a file format that supports it, like for example rtf.
---
single minded; short sighted; long gone;
|
|
|
|
|
yes i want to change formatting for all to the text,then how will
change it.
Ranjeet Singh
|
|
|
|
|
I am not sure you understood the answer you where given.
A text file (.txt) simply can not contain any formatting. It can contain characters only - and even then you need to know the codepage to decode them correctly, unless you use UTF8 or UTF16 with a Byte Order Mark.
If you want to write formatted text, two obvious solutions spring to mind:
Use rtf format - create a small example text in Write (not Word, it clutters the rtf with too many codes) save it as rtf, rename it to .txt and then open it in notepad. Alternatively create a RichTextControl (it can be hidden) and set the text and formatting in this control and get the RTF from it.
Instead of RTF, you should consider simply writing HTML.
|
|
|
|
|
What file format have you chosen?
---
single minded; short sighted; long gone;
|
|
|
|
|
How i can get an UserName from a Process?
(like TaskBar)
|
|
|
|
|
u can use System.Diagnostics.Process namespace eg:
to get the current process
System.Diagnostics.Process p= System.Diagnostics.Process.GetCurrentProcess();
now p.ProcessName will give the name of the process...
Koushik
|
|
|
|
|