Click here to Skip to main content
15,921,959 members
Home / Discussions / C#
   

C#

 
Generaltext color Pin
Larsson16-Apr-05 2:04
Larsson16-Apr-05 2:04 
GeneralRe: text color Pin
Heath Stewart16-Apr-05 9:09
protectorHeath Stewart16-Apr-05 9:09 
GeneralRe: text color Pin
Larsson16-Apr-05 10:12
Larsson16-Apr-05 10:12 
GeneralRe: text color Pin
Heath Stewart16-Apr-05 10:23
protectorHeath Stewart16-Apr-05 10:23 
QuestionSDL.Net on WinForm possible? Pin
RATC16-Apr-05 1:56
RATC16-Apr-05 1:56 
AnswerRe: SDL.Net on WinForm possible? Pin
Heath Stewart16-Apr-05 8:37
protectorHeath Stewart16-Apr-05 8:37 
GeneralRe: SDL.Net on WinForm possible? Pin
RATC16-Apr-05 10:01
RATC16-Apr-05 10:01 
GeneralRe: SDL.Net on WinForm possible? Pin
Heath Stewart16-Apr-05 10:38
protectorHeath Stewart16-Apr-05 10:38 
I'm well aware of what SDL is, but you didn't describe what you were trying to do. If you were trying to interop SDL windows and had to use their handles to, say, play video or create a drawing surface you would need to access the window handle of a window. Without specific use cases with such open-ended questions, it's difficult to provide an answer.

Windows Forms does work in some alternative implementations like Mono and Portable.NET (and yes, there are others), if you have the right libraries. Mono can, for example, use the Wine libraries to provide compatible Windows Forms using the existing System.Windows.Forms.dll assembly. Other implementations and bindings - even for Mono - may use GTK or Qt to provide Windows Forms support. Do keep in mind, however, that Windows Forms is not defined by the CLI as standard so a CLI implementation like .NET, Mono, or Portable.NET doesn't have to implement it.

InitializeComponent is not a standard at all, but merely a method that Visual Studio places all the design-time calls into. If you wrote your own from scratch - or even started with the design-time output that Visual Studio outputs - you can call it anything you like or refactor the code into different methods, including the constructor itself.

What I am wondering is why you're creating two different Windows Forms here. SDL can handle input as well, so it could be used in lieu of Windows Forms. Why is it that you require Windows Forms in this case?

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
GeneralRe: SDL.Net on WinForm possible? Pin
RATC16-Apr-05 10:53
RATC16-Apr-05 10:53 
GeneralRe: SDL.Net on WinForm possible? Pin
Heath Stewart16-Apr-05 11:12
protectorHeath Stewart16-Apr-05 11:12 
GeneralRe: SDL.Net on WinForm possible? Pin
RATC16-Apr-05 11:16
RATC16-Apr-05 11:16 
GeneralEncryption/decryption problem Pin
Kordzik16-Apr-05 0:38
Kordzik16-Apr-05 0:38 
Questionanyone help with this ??? Pin
Imran Adam16-Apr-05 0:33
Imran Adam16-Apr-05 0:33 
AnswerRe: anyone help with this ??? Pin
DavidNohejl16-Apr-05 1:13
DavidNohejl16-Apr-05 1:13 
AnswerRe: anyone help with this ??? Pin
Heath Stewart16-Apr-05 8:30
protectorHeath Stewart16-Apr-05 8:30 
QuestionHow to use CStringArray in C# using p/invoke Pin
shusong15-Apr-05 23:57
shusong15-Apr-05 23:57 
AnswerRe: How to use CStringArray in C# using p/invoke Pin
Heath Stewart16-Apr-05 8:23
protectorHeath Stewart16-Apr-05 8:23 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
shusong16-Apr-05 15:00
shusong16-Apr-05 15:00 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
Heath Stewart16-Apr-05 22:53
protectorHeath Stewart16-Apr-05 22:53 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
shusong16-Apr-05 23:19
shusong16-Apr-05 23:19 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
Heath Stewart16-Apr-05 23:47
protectorHeath Stewart16-Apr-05 23:47 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
shusong17-Apr-05 1:04
shusong17-Apr-05 1:04 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
shusong17-Apr-05 15:15
shusong17-Apr-05 15:15 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
Heath Stewart17-Apr-05 16:28
protectorHeath Stewart17-Apr-05 16:28 
GeneralRe: How to use CStringArray in C# using p/invoke Pin
shusong17-Apr-05 16:49
shusong17-Apr-05 16:49 

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.