Click here to Skip to main content
15,920,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB.net 2010 form positioning Pin
Richard MacCutchan19-May-13 9:39
mveRichard MacCutchan19-May-13 9:39 
AnswerRe: VB.net 2010 form positioning Pin
NotPolitcallyCorrect19-May-13 10:51
NotPolitcallyCorrect19-May-13 10:51 
AnswerRe: VB.net 2010 form positioning Pin
claudiotronic19-May-13 20:37
claudiotronic19-May-13 20:37 
Questionneed VBA code!!! Pin
ssrd217-May-13 0:05
ssrd217-May-13 0:05 
AnswerRe: need VBA code!!! Pin
Richard MacCutchan17-May-13 1:09
mveRichard MacCutchan17-May-13 1:09 
QuestionHow To Print the Contents of a datagridview Pin
Evord16-May-13 2:12
professionalEvord16-May-13 2:12 
AnswerRe: How To Print the Contents of a datagridview Pin
Richard MacCutchan16-May-13 2:59
mveRichard MacCutchan16-May-13 2:59 
AnswerRe: How To Print the Contents of a datagridview Pin
Eddy Vluggen16-May-13 3:01
professionalEddy Vluggen16-May-13 3:01 
QuestionFinding Duplicate numbers Pin
CowlitzTroy13-May-13 21:29
CowlitzTroy13-May-13 21:29 
AnswerRe: Finding Duplicate numbers Pin
Dave Kreskowiak14-May-13 4:38
mveDave Kreskowiak14-May-13 4:38 
AnswerRe: Finding Duplicate numbers Pin
MicroVirus17-May-13 1:39
MicroVirus17-May-13 1:39 
GeneralRe: Finding Duplicate numbers Pin
Dave Kreskowiak17-May-13 2:19
mveDave Kreskowiak17-May-13 2:19 
QuestionLists of objects without losing class Intelli-sense Pin
Purge1t13-May-13 18:24
Purge1t13-May-13 18:24 
AnswerRe: Lists of objects without losing class Intelli-sense Pin
Dave Kreskowiak13-May-13 18:51
mveDave Kreskowiak13-May-13 18:51 
GeneralRe: Lists of objects without losing class Intelli-sense Pin
Purge1t13-May-13 19:21
Purge1t13-May-13 19:21 
GeneralRe: Lists of objects without losing class Intelli-sense Pin
Dave Kreskowiak14-May-13 3:44
mveDave Kreskowiak14-May-13 3:44 
GeneralRe: Lists of objects without losing class Intelli-sense Pin
Purge1t14-May-13 11:55
Purge1t14-May-13 11:55 
Thanks Dave.

Quote:
The same is true for the Draw method. Every object should draw itself, so you pass in a Graphics object that it uses to draw itself on. This is common for every object you mentioned, so it should go in the Base object they are inheriting from, not the specific objects.


The PlayerShip class draws a circle, the Missile class draws a triangle and the EnemyDrone class draws a square. How would i know how to depict each different class type if the drawing was done in the base class? Instead of having a MustOverRide .Draw method in the base class that each of the child-classes over-ride ?
GeneralRe: Lists of objects without losing class Intelli-sense Pin
Dave Kreskowiak14-May-13 13:33
mveDave Kreskowiak14-May-13 13:33 
QuestionTryParse String from InputBox to Integer Pin
Member 1004983713-May-13 16:06
Member 1004983713-May-13 16:06 
AnswerRe: TryParse String from InputBox to Integer Pin
PIEBALDconsult13-May-13 17:30
mvePIEBALDconsult13-May-13 17:30 
QuestionHow to get values from listview and display it to textbox using sql database ? Pin
Member 1001708312-May-13 4:58
professionalMember 1001708312-May-13 4:58 
AnswerRe: How to get values from listview and display it to textbox using sql database ? Pin
Eddy Vluggen13-May-13 7:23
professionalEddy Vluggen13-May-13 7:23 
QuestionTreeView Find Starting from Some Child Node Pin
treddie11-May-13 21:20
treddie11-May-13 21:20 
AnswerRe: TreeView Find Starting from Some Child Node Pin
Eddy Vluggen11-May-13 22:18
professionalEddy Vluggen11-May-13 22:18 
GeneralRe: TreeView Find Starting from Some Child Node Pin
treddie11-May-13 23:50
treddie11-May-13 23: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.