Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: GDI+ - line chart Pin
Alex Korchemniy16-Oct-04 9:22
Alex Korchemniy16-Oct-04 9:22 
QuestionHow can i close my Form Pin
Zapss16-Oct-04 1:31
Zapss16-Oct-04 1:31 
AnswerRe: How can i close my Form Pin
sreejith ss nair16-Oct-04 4:45
sreejith ss nair16-Oct-04 4:45 
GeneralRe: How can i close my Form Pin
Zapss16-Oct-04 20:40
Zapss16-Oct-04 20:40 
GeneralSubclass control over main class Pin
Nekosan16-Oct-04 1:00
Nekosan16-Oct-04 1:00 
GeneralRe: Subclass control over main class Pin
J4amieC16-Oct-04 2:36
J4amieC16-Oct-04 2:36 
GeneralRe: Subclass control over main class Pin
Nekosan16-Oct-04 2:47
Nekosan16-Oct-04 2:47 
GeneralRe: Subclass control over main class Pin
Alex Korchemniy16-Oct-04 9:40
Alex Korchemniy16-Oct-04 9:40 
The button has to be declared "public" (or "internal" if you are in the same project and dont want other projects to be able to do the same). And this should work:

Form1 f = new Form1();<br />
if (blargh == verc)<br />
{<br />
     f.btn_Start.Visible = true;<br />
     f.btn_Patcher.Visible = false;<br />
}<br />
else<br />
{<br />
     f.btn_Start.Visible = false;<br />
     f.btn_Patcher.Visible = true;<br />
}<br />
f.Show(); // or f.ShowDialog();


This posting is provided "AS IS" with no warranties, and confers no rights.

Alex Korchemniy
GeneralRe: Subclass control over main class Pin
Nekosan16-Oct-04 10:01
Nekosan16-Oct-04 10:01 
GeneralRe: Subclass control over main class Pin
Alex Korchemniy16-Oct-04 10:25
Alex Korchemniy16-Oct-04 10:25 
QuestionHow to draw a custom graph/2D plot? Pin
Kiran Satish15-Oct-04 19:24
Kiran Satish15-Oct-04 19:24 
AnswerRe: How to draw a custom graph/2D plot? Pin
Alex Korchemniy16-Oct-04 8:42
Alex Korchemniy16-Oct-04 8:42 
GeneralRe: How to draw a custom graph/2D plot? Pin
Kiran Satish16-Oct-04 18:23
Kiran Satish16-Oct-04 18:23 
GeneralResource Globalization Pin
codes/w15-Oct-04 19:07
codes/w15-Oct-04 19:07 
GeneralRe: Resource Globalization Pin
Alex Korchemniy16-Oct-04 10:00
Alex Korchemniy16-Oct-04 10:00 
QuestionHow to use the play list function of the Pin
skywen15-Oct-04 17:47
skywen15-Oct-04 17:47 
GeneralDatabase access error Pin
StephenMcAllister15-Oct-04 16:11
StephenMcAllister15-Oct-04 16:11 
GeneralRe: Database access error Pin
Carl Mercier15-Oct-04 17:14
Carl Mercier15-Oct-04 17:14 
GeneralRe: Database access error Pin
Alex Korchemniy16-Oct-04 10:13
Alex Korchemniy16-Oct-04 10:13 
QuestionC# interop with type System.__ComObject? Pin
vista2715-Oct-04 15:01
vista2715-Oct-04 15:01 
AnswerRe: C# interop with type System.__ComObject? Pin
Heath Stewart15-Oct-04 15:50
protectorHeath Stewart15-Oct-04 15:50 
GeneralPosting a File on a Form Pin
Member 138504915-Oct-04 11:27
Member 138504915-Oct-04 11:27 
GeneralRe: Posting a File on a Form Pin
Alvaro Mendez15-Oct-04 11:41
Alvaro Mendez15-Oct-04 11:41 
GeneralRe: Posting a File on a Form Pin
Member 138504915-Oct-04 15:33
Member 138504915-Oct-04 15:33 
GeneralRe: Posting a File on a Form Pin
Alvaro Mendez15-Oct-04 21:27
Alvaro Mendez15-Oct-04 21:27 

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.