| | |
Access to a master form, from a component class
Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
Hello,
I create a component class in Visual Studio 2008 in a windows form application. This component has a property named "MasterFormName", which should contain name of the form that component will place on it. I want that the MasterFormName property be a read only property and when I dragging it to my form at design time, it automatically take the master form name that contains the component, without directly writing by user. How could I achieve this ability? I think that I should found a way to access any master form from the component class, But how do this?
Regards…
I create a component class in Visual Studio 2008 in a windows form application. This component has a property named "MasterFormName", which should contain name of the form that component will place on it. I want that the MasterFormName property be a read only property and when I dragging it to my form at design time, it automatically take the master form name that contains the component, without directly writing by user. How could I achieve this ability? I think that I should found a way to access any master form from the component class, But how do this?
Regards…
![]() |
Similar Threads
- Need help with TagaSaurus PLEASE!!! (Viruses, Spyware and other Nasties)
Other Threads in the C# Forum
- Previous Thread: getting value of return value of stored procedure to code behined,with patterns prace
- Next Thread: CLR parameter-length?
| Thread Tools | Search this Thread |
.net access algorithm alignment app application array bitmap box c# c#gridviewcolumn check checkbox client color combo combobox communication concurrency control conversion csharp custom data database datagrid datagridview dataset datatable datetime degrees draganddrop drawing enabled encryption enum excel file focus form format forms function gdi+ getoutlookcontactusinfcsvfile globalization hospitalmanagementsystem image input install java list localization mandelbroth math messagebox microsoftc#visualexpress mono mouseclick mysql operator path photoshop picturebox pixelinversion plotting pointer post programming radians read regex remote remoting richtextbox save server sleep socket sql sql-server statistics string stringformatting sun table text textbox thread time timer update usercontrol validate validation visualstudio webbrowser winforms wpf xml





