Click here to Skip to main content
15,916,188 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Question'Load balancing' CPU cores in multithreaded applications [modified] Pin
CDP180218-Apr-11 19:54
CDP180218-Apr-11 19:54 
AnswerRe: 'Load balancing' CPU cores in multithreaded applications Pin
Bernhard Hiller18-Apr-11 20:38
Bernhard Hiller18-Apr-11 20:38 
GeneralRe: 'Load balancing' CPU cores in multithreaded applications Pin
CDP180218-Apr-11 22:22
CDP180218-Apr-11 22:22 
AnswerRe: 'Load balancing' CPU cores in multithreaded applications Pin
GenJerDan19-Apr-11 4:03
GenJerDan19-Apr-11 4:03 
GeneralRe: 'Load balancing' CPU cores in multithreaded applications Pin
CDP180219-Apr-11 4:07
CDP180219-Apr-11 4:07 
GeneralRe: 'Load balancing' CPU cores in multithreaded applications Pin
GenJerDan19-Apr-11 4:17
GenJerDan19-Apr-11 4:17 
QuestionHow to get F# IDE? Pin
swampwiz14-Apr-11 6:49
swampwiz14-Apr-11 6:49 
AnswerRe: How to get F# IDE? [modified] Pin
DaveyM6914-Apr-11 9:36
professionalDaveyM6914-Apr-11 9:36 
If you compare a C# winforms project with a console project you will see the main difference is the Program.cs file calls Application.Run with a new instance of the start up form. Also the project output type (in project properties) is set to Windows Application instead of Console Application.

You can do this in F# too. First change the project output type to Windows Application.
Then, you can create a form in code and send it to Application.Run:
open System.Windows.Forms

let formMain = new Form()
// set formMain properties here

Application.Run(formMain)

I'm not sure if it's possible to use the designer to create/modify forms though.

[Edit] You will also need to add a reference to System.Windows.Forms of course! [/Edit]
[Edit2] Just found this article[^] [/Edit2]
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



modified on Thursday, April 14, 2011 3:53 PM

AnswerRe: How to get F# IDE? Pin
Richard MacCutchan14-Apr-11 22:30
mveRichard MacCutchan14-Apr-11 22:30 
QuestionGenerics instead of parameters? Pin
Sander Rossel13-Apr-11 7:55
professionalSander Rossel13-Apr-11 7:55 
AnswerRe: Generics instead of parameters? Pin
jschell13-Apr-11 8:39
jschell13-Apr-11 8:39 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel13-Apr-11 11:51
professionalSander Rossel13-Apr-11 11:51 
AnswerRe: Generics instead of parameters? Pin
dasblinkenlight13-Apr-11 11:56
dasblinkenlight13-Apr-11 11:56 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel13-Apr-11 19:50
professionalSander Rossel13-Apr-11 19:50 
GeneralRe: Generics instead of parameters? Pin
dasblinkenlight14-Apr-11 5:40
dasblinkenlight14-Apr-11 5:40 
GeneralRe: Generics instead of parameters? Pin
jschell14-Apr-11 9:09
jschell14-Apr-11 9:09 
AnswerRe: Generics instead of parameters? Pin
MicroVirus14-Apr-11 1:42
MicroVirus14-Apr-11 1:42 
AnswerRe: Generics instead of parameters? Pin
Prasanta_Prince16-Apr-11 4:37
Prasanta_Prince16-Apr-11 4:37 
AnswerRe: Generics instead of parameters? Pin
ToddHileHoffer20-Apr-11 10:47
ToddHileHoffer20-Apr-11 10:47 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel20-Apr-11 10:51
professionalSander Rossel20-Apr-11 10:51 
AnswerRe: Generics instead of parameters? Pin
David Farrow29-Apr-11 5:26
David Farrow29-Apr-11 5:26 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel29-Apr-11 7:45
professionalSander Rossel29-Apr-11 7:45 
GeneralRe: Generics instead of parameters? Pin
David Farrow29-Apr-11 8:20
David Farrow29-Apr-11 8:20 
GeneralRe: Generics instead of parameters? Pin
Sander Rossel29-Apr-11 9:05
professionalSander Rossel29-Apr-11 9:05 
QuestionData security: Encryption? Hashing? Which method? Pin
Gregory Gadow13-Apr-11 4:14
Gregory Gadow13-Apr-11 4:14 

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.