|
i want to show/hide control in mdiparent from the code inside childform
ma_refay
|
|
|
|
|
try childform.parent.control.visible = bvisible
If u can Dream... U can do it
|
|
|
|
|
Actually the parent form's control cannot be accessed this way, you need to cast the this.MdiParent to the parent form.
MyMdiContainer frmParent = (MyMdiContainer)this.MdiParent;<br />
frmParent.ControlName.Visible = false;<br />
|
|
|
|
|
yeah , thats right(otherwise there is no suck child control in the parent window.Form class ) . But i just mean it in that code snippet..
If u can Dream... U can do it
|
|
|
|
|
hi
How to display Directory of windows in listview.
|
|
|
|
|
Directory of windows? Do you mean a list of open windows?
|
|
|
|
|
Please kindly help me how to add a ComboBox (or another window control) to a datagrid (or datagridview) when a cursor is moving over a cell needs to add this control....
Hope to your helps. Thank you.
|
|
|
|
|
pls look this link -> http://www.csharphelp.com/archives/archive279.html
If u can Dream... U can do it
|
|
|
|
|
while at runtime how we can delete that items in dropdown using c#.net while we select the one item in one dropdown box.so we have to get only few items but we have selected the ie taking properties for dropdown box adding the items in that in properties itself. but we have to disable the few items in that only we required only few items in that remaining are not be visible to customer that's it.
thanks & regards
anand m
|
|
|
|
|
In my program i need to convert Tool strip Menu item to menu item
ravi
|
|
|
|
|
hi, i have a store procedure from which i want to know the filed of dataabse table that storprocedure will act on.
i.e i want to know the parameter of store procedure.
|
|
|
|
|
Hi I'm not sure if this will answer your question entirely as I did not fully understand it. but I wrote a blog post last year sometime that helps to explain how you can get the parameters of a stored proc by using code.
Hopefully this will help in some way.
Stored Procedure discovery routine
|
|
|
|
|
hi, does anyone knows how
to set properties to folders or files
outside my application
for example ' if I want to set all windows's
folders to be transparent...
thanks
shaul
|
|
|
|
|
What exactly do you mean with 'transparant'? Dot you mean you want to set the windows folder's property to hidden or so??
|
|
|
|
|
ya, that what I mean
I know it can be done
anyone?
|
|
|
|
|
You can set a file property to hidden
create a FileInfo object (System.IO.FileInfo) and use the SetAttribute function
|
|
|
|
|
Hy,
I have Problems to use the Updater Application Block. Have anyone an an example how to use it?
Thanks
Daniel
|
|
|
|
|
Hi,
I need to know what will be effective way to track if any value changed on form in windows application other than writting text changed or selcted value chnaged event on controls.
Ritesh
Ritesh
|
|
|
|
|
May be you can store all values of controls, converted to strings, into some string array, before enter to the form. And then, when you exit the from you can compare all values with values in this array in alike loop, converting them to strings again.
Alexander
|
|
|
|
|
Thanks for Reply, I thought of doing it but my form contains grid control also. Can you give some idea how other application handle this.
Thanks
Ritesh
Ritesh
|
|
|
|
|
How to know left coordinate of the current column in DataGridView relatively top left corner of the parent container?
Alexander
|
|
|
|
|
|
Muammar© wrote: it took me 3 hours just posting and editing to end up with this sh*t
It takes me about 5 minutes to post an article. However, I write it up fist in an HTML editor then copy and paste it. This means I can spell check it, check the formatting and so on. That process takes quite a few hours.
From the things I saw.
1. Put code inside <pre> tags. It will preserve the formatting. NOTE: There is a slight bug and any empty line needs to contain at least one whitespace character
2. Don't apply your own formatting. The styles of the website will be applied. Stick with <a> <img> <p> <h1> <h2> <h3> <br> <code> and <pre> tags. Some minor additions such as bold and italic can be used, but sparingly. Much more than that and you start fighting with the styles of the website.
3. Do not colourise your code. The parser will do that for you. e.g. if you put the lang=cs attribute in the <pre> tag the code project parser will colour your code for C#
4. Spell check your article. I don't know what "coop" means. "cope", possibly.
5. I don't really see what you are demonstrating. In both article you have some code and an explanation of the code, but there is no focus.
6. Unless you are showing a contrived example to get a point across the code should adhere to some generally good practices (it doesn't have to be "best practice", unless that it what you are demonstrating). For example, you have hard coded file names into the source. Not only that but they were as string literals at the point of use (rather than declared as a const). This is very bad practice and the correct alternative usually taught around the third or fourth lesson in a programming couse. The better appoach would be to have the file names relative to the application, or if they must come from the windows directory, then to find out what the windows directory is called rather than assume C:\WINDOWS (I have several computers and only one use C:\WINDOWS)
Those are just my opinions on areas that could use some improvement. Other people may have differing opinions.
|
|
|
|
|
thank you colin for taking so lont to write to me, i'll give it a shoot tomorrow i guess cuz im already fed up with the article
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
I need to create help file to my application but i don't know how to create it or what software to use
ma_refay
|
|
|
|