Click here to Skip to main content
15,900,565 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problems sending bulk e-mails using system.net.mail Pin
Ravenet16-Feb-08 2:09
Ravenet16-Feb-08 2:09 
Questionhow to put media player control in MTATHREAD in C# Pin
jimmy2shoes15-Feb-08 6:04
jimmy2shoes15-Feb-08 6:04 
AnswerRe: how to put media player control in MTATHREAD in C# Pin
Dave Kreskowiak15-Feb-08 6:31
mveDave Kreskowiak15-Feb-08 6:31 
GeneralRe: how to put media player control in MTATHREAD in C# Pin
jimmy2shoes15-Feb-08 6:54
jimmy2shoes15-Feb-08 6:54 
GeneralRe: how to put media player control in MTATHREAD in C# Pin
Dave Kreskowiak15-Feb-08 7:18
mveDave Kreskowiak15-Feb-08 7:18 
GeneralRe: how to put media player control in MTATHREAD in C# Pin
Luc Pattyn15-Feb-08 10:24
sitebuilderLuc Pattyn15-Feb-08 10:24 
Generaltrying to write a c# datagridview wrapper class Pin
Member 394658215-Feb-08 6:01
Member 394658215-Feb-08 6:01 
GeneralRe: trying to write a c# datagridview wrapper class [modified] Pin
Gareth H15-Feb-08 6:59
Gareth H15-Feb-08 6:59 
Member 3946582,

You just need to do: i_grid_o = (Grid)dataGridView3;

Also, on a side note, you don't need to create a DataGridView in your Grid class. You could change your code to:

private DataGridView _gridView

public Grid(DataGridView dataGridView)
{
 _gridView = dataGridView;
}


Then, when ever you want to create a Grid object, just do:

Grid i_grid_o = new Grid(dataGridView3);
i_grid_o.UpdateGrid();


Regards,
Gareth.

modified on Friday, February 15, 2008 1:14 PM

GeneralRe: trying to write a c# datagridview wrapper class Pin
Member 394658215-Feb-08 11:42
Member 394658215-Feb-08 11:42 
GeneralSimple listview question. Pin
BenGriffiths15-Feb-08 5:12
BenGriffiths15-Feb-08 5:12 
GeneralRe: Simple listview question. Pin
phannon8615-Feb-08 5:18
professionalphannon8615-Feb-08 5:18 
GeneralRe: Simple listview question. Pin
led mike15-Feb-08 5:35
led mike15-Feb-08 5:35 
GeneralRe: Simple listview question. Pin
BenGriffiths15-Feb-08 5:36
BenGriffiths15-Feb-08 5:36 
GeneralRe: Simple listview question. Pin
phannon8615-Feb-08 5:38
professionalphannon8615-Feb-08 5:38 
GeneralRe: Simple listview question. Pin
BenGriffiths15-Feb-08 5:39
BenGriffiths15-Feb-08 5:39 
GeneralRe: Simple listview question. Pin
phannon8615-Feb-08 5:45
professionalphannon8615-Feb-08 5:45 
GeneralRe: Simple listview question. Pin
BenGriffiths15-Feb-08 5:48
BenGriffiths15-Feb-08 5:48 
GeneralRe: Simple listview question. Pin
led mike15-Feb-08 5:38
led mike15-Feb-08 5:38 
GeneralRe: Simple listview question. Pin
Ravenet16-Feb-08 2:13
Ravenet16-Feb-08 2:13 
QuestionFile IO Permissions without Framework configuration Pin
PSIcos15-Feb-08 4:05
PSIcos15-Feb-08 4:05 
GeneralRe: File IO Permissions without Framework configuration Pin
Ravenet16-Feb-08 2:18
Ravenet16-Feb-08 2:18 
Generalbump mapping for water modeling Pin
sakirah15-Feb-08 3:25
sakirah15-Feb-08 3:25 
GeneralRe: bump mapping for water modeling Pin
Paddy Boyd15-Feb-08 4:46
Paddy Boyd15-Feb-08 4:46 
GeneralRe: bump mapping for water modeling Pin
User 665815-Feb-08 5:42
User 665815-Feb-08 5:42 
GeneralRe: bump mapping for water modeling Pin
sakirah15-Feb-08 11:36
sakirah15-Feb-08 11:36 

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.