473,320 Members | 1,848 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,320 software developers and data experts.

calling controls

I have a frmNewHD.cs form with some textboxes. I would like to creat a new
classcalled resetform.cs and I would like to have all the txtbox.clear in the
restform.cs and call it from frmNewHD.cs.
When I do this
frmNewHD hd - new frmNewHD
for the resetform.cs I do not see the txtboxes
I am new to programming
Nov 16 '05 #1
2 903
Ron
Do you mean you do not see anything at all, or do you see the form, but not
the textboxes on it?

Ron

"freddy" <fr****@discussions.microsoft.com> wrote in message
news:D9**********************************@microsof t.com...
I have a frmNewHD.cs form with some textboxes. I would like to creat a new
classcalled resetform.cs and I would like to have all the txtbox.clear in the restform.cs and call it from frmNewHD.cs.
When I do this
frmNewHD hd - new frmNewHD
for the resetform.cs I do not see the txtboxes
I am new to programming

Nov 16 '05 #2
Are you you saying you dont see them in the intellisense or while running
the app?

"freddy" <fr****@discussions.microsoft.com> wrote in message
news:D9**********************************@microsof t.com...
I have a frmNewHD.cs form with some textboxes. I would like to creat a
new
classcalled resetform.cs and I would like to have all the txtbox.clear in

the
restform.cs and call it from frmNewHD.cs.
When I do this
frmNewHD hd - new frmNewHD
for the resetform.cs I do not see the txtboxes
I am new to programming


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Andrew Banks | last post by:
I've got the following code as part of a C# web form but am having problems calling a command. I create a dataset and put some data on the screen. This works fine. (relevant sample below) ...
5
by: Krishna | last post by:
Hi all, Can i call my javascript functions from the web controls.Any appropriate site which will be tell more on this will be helpfull. Regards.., Krishna
1
by: robertm | last post by:
I have the following method written in C# public static void Substitute(ControlCollection controls, ArrayList affectedControls, ref CCase objCase) { // .................. }
2
by: a | last post by:
Hi Extremely easy question for someone who knows the answer I'm sure :-) (aren't they all) What exactly does LoadControl do? Whats the difference between calling this and just constructing a...
0
by: Lars Netzel | last post by:
I have manually written an achor in the HTML mode like this: <a name="expenses"></a> Then at a button_click() I have this code in the code behind: Page.Controls.Add(New LiteralControl("<script...
0
by: teddysnips | last post by:
I have Search form that allows users to retrieve records into a DataGrid. There are two search criteria - a Month and a Year, which are selected from drop-down lists. There is a server-side...
0
by: teddysnips | last post by:
I have Search form that allows users to retrieve records into a DataGrid. There are two search criteria - a Month and a Year, which are selected from drop-down lists. There is a server-side...
5
by: matthewtec | last post by:
This may be something that is painfully easy and I'm just missing, or it could be something that I should learn a bit more in order to do. But, if I have a simple windows form application, with...
4
by: Bugs | last post by:
Hi, I wonder if anyone can help me out. I'm building a vb.net application that has a form with a panel that contains several other sub forms (as a collection of controls). What I'm wanting to...
5
by: sck10 | last post by:
Hello, I am converting a class in the App_Code folder from c# to vb and am having problems calling the sub procedure. I have created a Sub called HidePanels in the class "General". When I try...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.