Click here to Skip to main content
15,900,906 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionHow come I can call Public Methods of a Form as if they were Shared? Pin
Sander Rossel11-May-11 8:49
professionalSander Rossel11-May-11 8:49 
AnswerRe: How come I can call Public Methods of a Form as if they were Shared? Pin
Luc Pattyn11-May-11 9:47
sitebuilderLuc Pattyn11-May-11 9:47 
GeneralRe: How come I can call Public Methods of a Form as if they were Shared? Pin
Sander Rossel11-May-11 10:27
professionalSander Rossel11-May-11 10:27 
GeneralRe: How come I can call Public Methods of a Form as if they were Shared? Pin
Dave Kreskowiak11-May-11 10:56
mveDave Kreskowiak11-May-11 10:56 
GeneralRe: How come I can call Public Methods of a Form as if they were Shared? Pin
Sander Rossel11-May-11 11:09
professionalSander Rossel11-May-11 11:09 
GeneralRe: How come I can call Public Methods of a Form as if they were Shared? Pin
Luc Pattyn11-May-11 12:41
sitebuilderLuc Pattyn11-May-11 12:41 
AnswerRe: How come I can call Public Methods of a Form as if they were Shared? Pin
Eddy Vluggen11-May-11 10:44
professionalEddy Vluggen11-May-11 10:44 
GeneralRe: How come I can call Public Methods of a Form as if they were Shared? Pin
Sander Rossel11-May-11 11:05
professionalSander Rossel11-May-11 11:05 
StackOverflower wrote:
VB6 programmers had a hard time with seeing the difference between a type and a reference to an object of that type. Form1 vs frm in your snippet. There's history for that, VB didn't get classes until VB4 while forms go all the way back to VB1. This is otherwise quite crippling to the programmer's mind


I spent about 30 minutes looking for some global variable today with no luck... Encapsulation is one of the most important aspects of Object Oriented Programming and Microsoft decides to NOT use it for Forms. I ask you, what is more crippling to the programmer's mind? Dead | X|
This sort of stuff leads to very unexpected behaviour in software... Microsoft should have dropped it in VB4 Unsure | :~
It's an OO world.

GeneralRe: How come I can call Public Methods of a Form as if they were Shared? Pin
Eddy Vluggen11-May-11 11:34
professionalEddy Vluggen11-May-11 11:34 
GeneralRe: How come I can call Public Methods of a Form as if they were Shared? Pin
MicroVirus30-May-11 4:55
MicroVirus30-May-11 4:55 
AnswerRe: How come I can call Public Methods of a Form as if they were Shared? Pin
CS140124-Jun-11 0:53
CS140124-Jun-11 0:53 
GeneralRe: How come I can call Public Methods of a Form as if they were Shared? Pin
Sander Rossel24-Jun-11 7:58
professionalSander Rossel24-Jun-11 7:58 
QuestionOnly one Exe at an instance Pin
pix_programmer23-Apr-11 6:19
pix_programmer23-Apr-11 6:19 
AnswerRe: Only one Exe at an instance Pin
Luc Pattyn23-Apr-11 7:18
sitebuilderLuc Pattyn23-Apr-11 7:18 
AnswerRe: Only one Exe at an instance Pin
Shameel26-Apr-11 2:00
professionalShameel26-Apr-11 2:00 
QuestionHow can i create a receipt(size 400*400) in crystal report C# 2.0 windows application [modified] Pin
Member 436368017-Apr-11 20:14
Member 436368017-Apr-11 20:14 
AnswerRe: How can i create a receipt(size 400*400) in crystal report C# 2.0 windows application Pin
thatraja7-Jun-11 1:15
professionalthatraja7-Jun-11 1:15 
QuestionWindows 7 doest launch application on startup Pin
Xmen Real 17-Apr-11 3:06
professional Xmen Real 17-Apr-11 3:06 
AnswerRe: Windows 7 doest launch application on startup Pin
RobCroll17-Apr-11 4:46
RobCroll17-Apr-11 4:46 
GeneralRe: Windows 7 doest launch application on startup Pin
Xmen Real 17-Apr-11 5:22
professional Xmen Real 17-Apr-11 5:22 
GeneralRe: Windows 7 doest launch application on startup Pin
Dave Kreskowiak17-Apr-11 5:37
mveDave Kreskowiak17-Apr-11 5:37 
GeneralRe: Windows 7 doest launch application on startup Pin
Xmen Real 17-Apr-11 5:42
professional Xmen Real 17-Apr-11 5:42 
GeneralRe: Windows 7 doest launch application on startup Pin
Luc Pattyn17-Apr-11 6:07
sitebuilderLuc Pattyn17-Apr-11 6:07 
GeneralRe: Windows 7 doest launch application on startup Pin
Xmen Real 17-Apr-11 6:12
professional Xmen Real 17-Apr-11 6:12 
GeneralRe: Windows 7 doest launch application on startup Pin
Luc Pattyn17-Apr-11 6:24
sitebuilderLuc Pattyn17-Apr-11 6:24 

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.