Click here to Skip to main content
16,004,969 members
Home / Discussions / C#
   

C#

 
AnswerRe: Custom Session Pin
Ennis Ray Lynch, Jr.29-Jun-10 5:38
Ennis Ray Lynch, Jr.29-Jun-10 5:38 
QuestionQestion about FieldInfo[] reflection Pin
andreas0428-Jun-10 19:51
andreas0428-Jun-10 19:51 
AnswerRe: Qestion about FieldInfo[] reflection Pin
Nish Nishant29-Jun-10 3:19
sitebuilderNish Nishant29-Jun-10 3:19 
GeneralRe: Qestion about FieldInfo[] reflection Pin
andreas0429-Jun-10 4:15
andreas0429-Jun-10 4:15 
GeneralRe: Qestion about FieldInfo[] reflection Pin
Nish Nishant29-Jun-10 4:18
sitebuilderNish Nishant29-Jun-10 4:18 
GeneralRe: Qestion about FieldInfo[] reflection Pin
Nish Nishant29-Jun-10 4:22
sitebuilderNish Nishant29-Jun-10 4:22 
GeneralRe: Qestion about FieldInfo[] reflection Pin
andreas041-Jul-10 5:32
andreas041-Jul-10 5:32 
QuestionCloning Controls Within A Library Project - Found A Solution (no pun intended) Pin
Roger Wright28-Jun-10 17:40
professionalRoger Wright28-Jun-10 17:40 
I've just spent a few days creating a User Control in a library, and for a project I want several similar controls. The new controls will contain some of the same elements, in different positions perhaps, and with different names, but the overall User Controls should be of the same size, color, font, etc.

Is there an easier way than manually creating each User Control and adding back all the elements, just to make something almost, but not quite identical to the original?

[EDIT]
I opened the project folder, located the three basic files for the control - .cs, .resx, .Designer - and copied them to a subfolder. I then renamed them and copied them back to the original project folder. Then I used Add Existing Item in VS to locate the renamed files and add them to my project. It choked, of course, because of ambiguity. Using Find and Replace, I opened all the new files, closed all the files I wanted to keep, and selected the option to Find and Replace in all open files, using the original filename and new file name as arguments. It worked like a charm, and will save me hours of manual editing. It even builds without error... Big Grin | :-D
[/EDIT]
"A Journey of a Thousand Rest Stops Begins with a Single Movement"

AnswerRe: Cloning Controls Within A Library Project Pin
PIEBALDconsult28-Jun-10 17:54
mvePIEBALDconsult28-Jun-10 17:54 
GeneralRe: Cloning Controls Within A Library Project Pin
Roger Wright28-Jun-10 18:23
professionalRoger Wright28-Jun-10 18:23 
GeneralRe: Cloning Controls Within A Library Project Pin
PIEBALDconsult29-Jun-10 3:39
mvePIEBALDconsult29-Jun-10 3:39 
GeneralRe: Cloning Controls Within A Library Project Pin
Roger Wright29-Jun-10 7:40
professionalRoger Wright29-Jun-10 7:40 
QuestionMySQL data connection Pin
xilefxilef28-Jun-10 10:03
xilefxilef28-Jun-10 10:03 
AnswerRe: MySQL data connection Pin
Ennis Ray Lynch, Jr.28-Jun-10 10:12
Ennis Ray Lynch, Jr.28-Jun-10 10:12 
GeneralRe: MySQL data connection Pin
PIEBALDconsult28-Jun-10 15:35
mvePIEBALDconsult28-Jun-10 15:35 
GeneralRe: MySQL data connection Pin
Roger Wright28-Jun-10 16:12
professionalRoger Wright28-Jun-10 16:12 
GeneralRe: MySQL data connection Pin
Ennis Ray Lynch, Jr.28-Jun-10 16:19
Ennis Ray Lynch, Jr.28-Jun-10 16:19 
GeneralRe: MySQL data connection Pin
PIEBALDconsult28-Jun-10 16:40
mvePIEBALDconsult28-Jun-10 16:40 
GeneralRe: MySQL data connection Pin
Roger Wright28-Jun-10 16:57
professionalRoger Wright28-Jun-10 16:57 
GeneralRe: MySQL data connection Pin
PIEBALDconsult28-Jun-10 16:39
mvePIEBALDconsult28-Jun-10 16:39 
GeneralRe: MySQL data connection Pin
Roger Wright28-Jun-10 16:55
professionalRoger Wright28-Jun-10 16:55 
AnswerRe: MySQL data connection Pin
PIEBALDconsult28-Jun-10 15:37
mvePIEBALDconsult28-Jun-10 15:37 
GeneralRe: MySQL data connection Pin
xilefxilef29-Jun-10 6:15
xilefxilef29-Jun-10 6:15 
QuestionAD-User must change password at next logon Pin
noamtzu0028-Jun-10 3:32
noamtzu0028-Jun-10 3:32 
AnswerRe: AD-User must change password at next logon Pin
Ravi Bhavnani28-Jun-10 3:50
professionalRavi Bhavnani28-Jun-10 3: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.