English 中文(简体)
How to start to create an application GUI using C#?
原标题:

HI!

I am new to C# and plan to use it for my application GUI. I am trying to make my GUI similar to SPSS:http://www.spss.com/images/08/statistics_screens/ez_rfm-big.jpg

Is this easy in C#? Is there a template that has done most of it? (Like MDI/SDI framework in MFC)

Could someone suggest some big examples(some working/half-working source code for me to study?)

Thanks, Yin

最佳回答

Yeah its very easy to create GUI using C# on .NET platform. For your purpose. You are going to need following classes/Controls:

  1. Form
  2. MenuStrip
  3. Toolstrip
  4. StatusStrip
  5. DataView/DataGridView
  6. TextBox
  7. Label
  8. TabControl
  9. TabPage
  10. PictureBox
  11. Button

and others (which you need to figure out).

just go through these classes in MSDN (you ll find many examples there). If you want to quickstart. Otherwise I get a good book to have solid foundations.

问题回答

there is lot of Win forms videos on controls you might need here just scroll down to Windows Forms Controls Series

First of all, in your Visual Studio simply create new WinForm project, where you can just drag-and-drop controls from the toolbar and edit their look&feel in design mode.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签