Click here to Skip to main content
15,915,501 members
Home / Discussions / C#
   

C#

 
GeneralRe: Transparent Color in Asp .Net C# Pin
Guffa13-Dec-05 7:27
Guffa13-Dec-05 7:27 
GeneralRe: Transparent Color in Asp .Net C# Pin
Vodstok13-Dec-05 7:30
Vodstok13-Dec-05 7:30 
GeneralRe: Transparent Color in Asp .Net C# Pin
Guffa13-Dec-05 13:08
Guffa13-Dec-05 13:08 
GeneralRe: Transparent Color in Asp .Net C# Pin
Vodstok14-Dec-05 1:48
Vodstok14-Dec-05 1:48 
AnswerRe: Transparent Color in Asp .Net C# Pin
Guffa18-Dec-05 1:26
Guffa18-Dec-05 1:26 
GeneralRe: Transparent Color in Asp .Net C# Pin
Vodstok19-Dec-05 1:56
Vodstok19-Dec-05 1:56 
Questiontextbox control Pin
John L. DeVito13-Dec-05 5:09
professionalJohn L. DeVito13-Dec-05 5:09 
AnswerRe: textbox control Pin
User 665813-Dec-05 5:29
User 665813-Dec-05 5:29 
John L. DeVito wrote:
How can I access the control from my file


Why would you want to do this?

You can either make the control varialbe "textbox1" public, or create a get-function (or property) to return the textbox variable like this:

public TextBox box { get { return textbox1; } }

You also need to have a reference to your main form, you can't just do MainForm.something unless something is declared static

regards

modified 12-Sep-18 21:01pm.

AnswerRe: textbox control Pin
Curtis Schlak.13-Dec-05 5:34
Curtis Schlak.13-Dec-05 5:34 
GeneralRe: textbox control Pin
John L. DeVito13-Dec-05 16:38
professionalJohn L. DeVito13-Dec-05 16:38 
GeneralRe: textbox control Pin
Curtis Schlak.14-Dec-05 4:34
Curtis Schlak.14-Dec-05 4:34 
GeneralRe: textbox control Pin
John L. DeVito15-Dec-05 15:16
professionalJohn L. DeVito15-Dec-05 15:16 
GeneralRe: textbox control Pin
TheGreatAndPowerfulOz15-Dec-05 16:49
TheGreatAndPowerfulOz15-Dec-05 16:49 
QuestionHow to pass array of string or doubles between C# and Managed C++ Pin
devinzhang13-Dec-05 5:04
devinzhang13-Dec-05 5:04 
AnswerRe: How to pass array of string or doubles between C# and Managed C++ Pin
Koushik Biswas13-Dec-05 9:47
Koushik Biswas13-Dec-05 9:47 
GeneralRe: How to pass array of string or doubles between C# and Managed C++ Pin
devinzhang13-Dec-05 14:42
devinzhang13-Dec-05 14:42 
QuestionHow to get message from Queue? Pin
Rashid.Mahmood13-Dec-05 4:32
Rashid.Mahmood13-Dec-05 4:32 
AnswerRe: How to get message from Queue? Pin
Judah Gabriel Himango13-Dec-05 4:39
sponsorJudah Gabriel Himango13-Dec-05 4:39 
Answer[Message Deleted] Pin
Judah Gabriel Himango13-Dec-05 4:39
sponsorJudah Gabriel Himango13-Dec-05 4:39 
GeneralRe: How to get message from Queue? Pin
Rashid.Mahmood13-Dec-05 18:33
Rashid.Mahmood13-Dec-05 18:33 
GeneralWebBrowser and Console Applications Pin
S. Senthil Kumar13-Dec-05 4:32
S. Senthil Kumar13-Dec-05 4:32 
GeneralRe: WebBrowser and Console Applications Pin
Judah Gabriel Himango13-Dec-05 4:43
sponsorJudah Gabriel Himango13-Dec-05 4:43 
GeneralRe: WebBrowser and Console Applications Pin
S. Senthil Kumar15-Dec-05 5:01
S. Senthil Kumar15-Dec-05 5:01 
GeneralRe: WebBrowser and Console Applications Pin
Judah Gabriel Himango15-Dec-05 5:22
sponsorJudah Gabriel Himango15-Dec-05 5:22 
GeneralRe: WebBrowser and Console Applications Pin
Dave Kreskowiak13-Dec-05 6:50
mveDave Kreskowiak13-Dec-05 6:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.