Click here to Skip to main content
15,923,689 members
Home / Discussions / C#
   

C#

 
GeneralMonitor Problem Pin
waiwai0910-Nov-04 3:18
waiwai0910-Nov-04 3:18 
GeneralPathfinding (path or no path) in 3D Pin
Sebastian Schneider10-Nov-04 3:04
Sebastian Schneider10-Nov-04 3:04 
GeneralFind and replace in text file Pin
sevan10-Nov-04 2:12
sevan10-Nov-04 2:12 
GeneralRe: Find and replace in text file Pin
Dave Kreskowiak10-Nov-04 3:27
mveDave Kreskowiak10-Nov-04 3:27 
GeneralRe: Find and replace in text file Pin
tom_dx10-Nov-04 12:39
tom_dx10-Nov-04 12:39 
GeneralRe: Find and replace in text file Pin
Dave Kreskowiak10-Nov-04 13:37
mveDave Kreskowiak10-Nov-04 13:37 
GeneralRe: Find and replace in text file Pin
Kraki11-Nov-04 9:06
Kraki11-Nov-04 9:06 
QuestionIs there a way to prevent InitializeComponent() regeneration? Pin
DizzyMobile10-Nov-04 1:26
DizzyMobile10-Nov-04 1:26 
Hi! I’m working on a simple Windows.Forms database project. It would be nice for me to work with DataGrid (set properties & behavior of its elements) mostly via designer. Before setting DataSource & DataMember of the DataGrid I need to fill relative dataset with data. For that purpose I call myDataAdapter.Fill method.
The question is: Where can I paste myDataAdapter.Fill method to get filled DataGrid in the designer?
I’ve tried to put fill method in InitializeComponent, but designer recreates this section every time I change any property with it. Putting fill method somewhere in myForm constructor takes no effect on the designer. So maybe there is an attribute saying [no recreate] to mark constant section of designer region?
Thanks!

Dizzy
AnswerRe: Is there a way to prevent InitializeComponent() regeneration? Pin
Skynyrd10-Nov-04 5:26
Skynyrd10-Nov-04 5:26 
AnswerRe: Is there a way to prevent InitializeComponent() regeneration? Pin
J4amieC10-Nov-04 5:34
J4amieC10-Nov-04 5:34 
GeneralRe: Is there a way to prevent InitializeComponent() regeneration? Pin
DizzyMobile10-Nov-04 8:35
DizzyMobile10-Nov-04 8:35 
GeneralRe: Is there a way to prevent InitializeComponent() regeneration? Pin
Skynyrd10-Nov-04 9:47
Skynyrd10-Nov-04 9:47 
Generaloverride WndProc allow form resize, move, max and min Pin
Lyhr10-Nov-04 0:51
Lyhr10-Nov-04 0:51 
GeneralRe: override WndProc allow form resize, move, max and min Pin
Jay Shankar10-Nov-04 19:36
Jay Shankar10-Nov-04 19:36 
GeneralGet ID of resource Pin
El'Cachubrey10-Nov-04 0:50
El'Cachubrey10-Nov-04 0:50 
GeneralRe: Get ID of resource Pin
Heath Stewart10-Nov-04 8:35
protectorHeath Stewart10-Nov-04 8:35 
GeneralSetPixel in C# Pin
Lost In China10-Nov-04 0:36
sussLost In China10-Nov-04 0:36 
GeneralRe: SetPixel in C# Pin
benjymous10-Nov-04 1:03
benjymous10-Nov-04 1:03 
GeneralRe: SetPixel in C# Pin
ACorbs11-Nov-04 19:10
ACorbs11-Nov-04 19:10 
GeneralRe: SetPixel in C# Pin
Lost In China11-Nov-04 19:56
sussLost In China11-Nov-04 19:56 
GeneralRemoting question Pin
Gavin Jeffrey10-Nov-04 0:18
Gavin Jeffrey10-Nov-04 0:18 
GeneralRe: Remoting question Pin
benjymous10-Nov-04 1:06
benjymous10-Nov-04 1:06 
GeneralRe: Remoting question Pin
Gavin Jeffrey10-Nov-04 5:21
Gavin Jeffrey10-Nov-04 5:21 
GeneralC# control with strong name in html page Pin
fridtjof9-Nov-04 21:50
fridtjof9-Nov-04 21:50 
GeneralAdditional information Pin
fridtjof9-Nov-04 21:53
fridtjof9-Nov-04 21:53 

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.