473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to access a window form control from another

2
hi
i am new to C# and i want to access a window form control from another form. I am creating a browser(using web browser tool) and when i want to add a bookmark another window comes and i enter the bookmark name.when i click add button in the bookmark form i want to create a button in the toolstrip of browser form.How can i do it. Please help
Oct 5 '11 #1
1 1964
GaryTexmo
1,501 Expert 1GB
Have a look at the following insight...

http://bytes.com/topic/c-sharp/insig...ny-other-forms

In it, Curtis Rutland talks about several different methods one can use to access data on one form from another. I think the one you will be most interested in is events, as you can use this to trigger an event on the form you want to control, which can then take the appropriate action.

Read through that and do some experiments. If you have troubles with the code, post back here and we'll try to help you through it. Please include the code you are having trouble with if you do :)
Oct 5 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Kevin Myers | last post by:
Hello, Please forgive my reposting of this note with hopefully a more relevant subject line. On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to...
0
by: Nancy Li | last post by:
Hi, There, Could someone help me please about hosting a window form control on my web page? I know I can use <object> tag on my page to reference my window form control. But my problem is how...
1
by: sympatico | last post by:
i already make a component with window.form.control, now i want to make it run in browser like web control, does anyone know how to convert them?? the window control library has 6000 lines of code,...
0
by: Filippo Bettinaglio | last post by:
C# 2005 I have a window form control embeded in a HTM page. How can I access to some HTLM fields in the page? or better... How can I access to the DOM of the HTML page? Many Thanks, Filippo
2
by: Sharon | last post by:
I wish to get a reference to a Window/Form of another process to cause it to get into focus. I know the window's title. There is the native FindWindow and FindWindowEx. Is there any...
3
by: chessitguy | last post by:
I have a simple Wizard page.aspx <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0" > <WizardSteps> <asp:WizardStep ID="WizardStep1" runat="server" Title="Main"> <Acme:Main...
0
by: siddh | last post by:
in C# windows form controls have PRIVATE modifier............... but in VB.net forms Controls have FRIEND moidfier ..........need 2 change this 2 to private ,,,,,,,,,,? or its...
1
by: Mike Thompson | last post by:
I have an event handler defined within a class. It has the following signature: static void XYZ_EventHandler (object sender, XYZEventArgs e) From within this event handler, I want to access...
5
by: sphinney | last post by:
Basic question: Does anyone know how to go about adding a control to an Access 2007 form that will allow viewing a Word 2007 document? Reason for asking: My office is about to receive 100+/-...
3
by: youngPG | last post by:
i have Form1 then i want to access the datetimepicker in the other form(Form2).. how do i do that? Answers are highly appreciated! thanks!
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.