Click here to Skip to main content
15,890,609 members
Home / Discussions / C#
   

C#

 
AnswerRe: can floats be multiplied and come up with a fraction? Pin
Richard MacCutchan26-Feb-13 6:26
mveRichard MacCutchan26-Feb-13 6:26 
AnswerRe: can floats be multiplied and come up with a fraction? Pin
notahack26-Feb-13 6:35
notahack26-Feb-13 6:35 
GeneralRe: can floats be multiplied and come up with a fraction? Pin
Richard Deeming26-Feb-13 7:39
mveRichard Deeming26-Feb-13 7:39 
GeneralRe: can floats be multiplied and come up with a fraction? Pin
notahack26-Feb-13 7:44
notahack26-Feb-13 7:44 
GeneralRe: can floats be multiplied and come up with a fraction? Pin
Richard Deeming26-Feb-13 8:03
mveRichard Deeming26-Feb-13 8:03 
GeneralRe: can floats be multiplied and come up with a fraction? Pin
notahack26-Feb-13 8:13
notahack26-Feb-13 8:13 
GeneralRe: can floats be multiplied and come up with a fraction? Pin
Dave Kreskowiak26-Feb-13 9:03
mveDave Kreskowiak26-Feb-13 9:03 
GeneralRe: can floats be multiplied and come up with a fraction? Pin
Dave Kreskowiak26-Feb-13 8:58
mveDave Kreskowiak26-Feb-13 8:58 
QuestionC# EF5 List<ENum> Persisting ? Pin
Khorne26-Feb-13 4:01
Khorne26-Feb-13 4:01 
AnswerRe: C# EF5 List<ENum> Persisting ? Pin
Ssyxz26-Feb-13 15:14
Ssyxz26-Feb-13 15:14 
GeneralRe: C# EF5 List<ENum> Persisting ? Pin
Khorne26-Feb-13 20:41
Khorne26-Feb-13 20:41 
AnswerRe: C# EF5 List<ENum> Persisting ? Pin
Jegan Thiyagesan27-Feb-13 6:42
Jegan Thiyagesan27-Feb-13 6:42 
QuestionNeed code Pin
jelintaric25-Feb-13 22:41
jelintaric25-Feb-13 22:41 
AnswerRe: Need code Pin
Manfred Rudolf Bihy25-Feb-13 23:06
professionalManfred Rudolf Bihy25-Feb-13 23:06 
AnswerRe: Need code Pin
Mycroft Holmes25-Feb-13 23:43
professionalMycroft Holmes25-Feb-13 23:43 
AnswerRe: Need code Pin
Amir Mohammad Nasrollahi29-Jul-13 21:33
professionalAmir Mohammad Nasrollahi29-Jul-13 21:33 
Questionformatting issue with iTextSharp Pin
krishnapnv25-Feb-13 19:10
krishnapnv25-Feb-13 19:10 
QuestionRe: formatting issue with iTextSharp Pin
Richard MacCutchan25-Feb-13 21:55
mveRichard MacCutchan25-Feb-13 21:55 
AnswerRe: formatting issue with iTextSharp Pin
krishnapnv28-Feb-13 18:03
krishnapnv28-Feb-13 18:03 
Questionexport or save as pdf format Pin
abhishek91111925-Feb-13 17:50
abhishek91111925-Feb-13 17:50 
AnswerRe: export or save as pdf format Pin
Pete O'Hanlon25-Feb-13 20:02
mvePete O'Hanlon25-Feb-13 20:02 
AnswerRe: export or save as pdf format Pin
Abhinav S25-Feb-13 20:22
Abhinav S25-Feb-13 20:22 
QuestionChanging tabbed form over to tiled Pin
MichCl25-Feb-13 9:27
MichCl25-Feb-13 9:27 
AnswerRe: Changing tabbed form over to tiled Pin
Dave Kreskowiak25-Feb-13 9:33
mveDave Kreskowiak25-Feb-13 9:33 
GeneralRe: Changing tabbed form over to tiled Pin
MichCl26-Feb-13 9:16
MichCl26-Feb-13 9:16 
Cool. That helped. I'm doing this to add it to my existing form and add the existing control that I was previously showing in the tab:

Form newForm = new Form();
InitializeControls(controls[i]);
newForm.Size = (controls[i].Size);
newForm.Width += 20;
newForm.Height += 100;
this.Width = newForm.Width + 20;
this.Height = newForm.Height + 50;
newForm.Controls.Add(controls[i]);
newForm.ShowDialog();


But it's filling up my entire area. Do you know how to scale the control's contents down to 1/4 the size? I think once I do that, it won't be tough to figure out how to position it (tiled) in the right location in my form with the other 4 controls I'm adding. It didn't let me say newForm.size = controls[i].size/4. (operator / can't be applied to system.drawing.size and int)

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.