Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
GeneralRe: VS - change file name - HELP! Pin
seq-26-Nov-06 11:58
seq-26-Nov-06 11:58 
QuestionFire event when adding new object to list or collection Pin
Davids_Maguire26-Nov-06 4:45
Davids_Maguire26-Nov-06 4:45 
AnswerRe: Fire event when adding new object to list or collection Pin
Martin#26-Nov-06 9:54
Martin#26-Nov-06 9:54 
GeneralRe: Fire event when adding new object to list or collection Pin
Davids_Maguire26-Nov-06 10:35
Davids_Maguire26-Nov-06 10:35 
Questionhow to re-draw controls on a Form at a regular interval? Pin
George_George26-Nov-06 3:36
George_George26-Nov-06 3:36 
Questionencoding Pin
yamamah26-Nov-06 3:09
yamamah26-Nov-06 3:09 
AnswerRe: encoding Pin
Guffa26-Nov-06 4:04
Guffa26-Nov-06 4:04 
QuestionRemoving assembly references from VS.net Pin
DAGibbs26-Nov-06 1:55
DAGibbs26-Nov-06 1:55 
Hi I've recently started with VS 2005 using C# (Windows Forms) and have encountered a problem.

I added a reference from Solution Explorer to the System.Drawing assembly as I thought I would need this assembly. Once I'd added it I realised that it was some GDI stuff that I didn't actually need, so removed before doing anything further, by right clicking on System.drawing and selecting remove.

It successfully removed the assembly reference, however unfortunately when the reference was added it seemed to have added a whole lot of code to my file, main.designer.cs (I've only got one form), such as
this.cmdRefresh.location = new System.Drawing.Point(100,308).

This caused compilation errors because the reference is no longer there, and it didn't seem to do any clean up of the code it apparently added.

I did try removing the references manually (despite the warnings not to), but then the positioning of the controls on the form is lost.

I'd be grateful for any help on this and apologies if it's anything obvious.


Dave G

AnswerRe: Removing assembly references from VS.net Pin
Daniel Grunwald26-Nov-06 2:02
Daniel Grunwald26-Nov-06 2:02 
Questioninstallutil Pin
justintimberlake26-Nov-06 0:28
justintimberlake26-Nov-06 0:28 
AnswerRe: installutil Pin
Bassam Saoud26-Nov-06 2:08
Bassam Saoud26-Nov-06 2:08 
Questionfiles and folders Pin
caliph25-Nov-06 23:52
caliph25-Nov-06 23:52 
AnswerRe: files and folders Pin
S. Senthil Kumar26-Nov-06 1:27
S. Senthil Kumar26-Nov-06 1:27 
QuestionTruncate decimal in float Pin
edel_ong25-Nov-06 23:34
edel_ong25-Nov-06 23:34 
AnswerRe: Truncate decimal in float Pin
S. Senthil Kumar26-Nov-06 1:39
S. Senthil Kumar26-Nov-06 1:39 
GeneralRe: Truncate decimal in float Pin
edel_ong26-Nov-06 1:51
edel_ong26-Nov-06 1:51 
GeneralRe: Truncate decimal in float Pin
Guffa26-Nov-06 5:42
Guffa26-Nov-06 5:42 
GeneralRe: Truncate decimal in float Pin
S. Senthil Kumar26-Nov-06 5:54
S. Senthil Kumar26-Nov-06 5:54 
Questionpassing parameter to windows service. Pin
justintimberlake25-Nov-06 23:14
justintimberlake25-Nov-06 23:14 
QuestionDiscard and Add Pin
davvid25-Nov-06 21:55
davvid25-Nov-06 21:55 
AnswerYou're a bit vague... Pin
CPallini25-Nov-06 22:28
mveCPallini25-Nov-06 22:28 
AnswerRe: Discard and Add Pin
Christian Graus25-Nov-06 22:28
protectorChristian Graus25-Nov-06 22:28 
Questionupload file Pin
Mridang Agarwalla25-Nov-06 21:25
Mridang Agarwalla25-Nov-06 21:25 
AnswerRe: upload file Pin
Bassam Saoud25-Nov-06 22:04
Bassam Saoud25-Nov-06 22:04 
GeneralRe: upload file Pin
Mridang Agarwalla25-Nov-06 23:30
Mridang Agarwalla25-Nov-06 23:30 

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.