Full-Screen Application

Yesterday I posted a quick update to an article I wrote back in 2007 entitled How to make a full-screen Windows app using VB.NET. Aside from 1 or 2 people saying “Oh man why don’t you be a man and write it using C#?” I reckon it’s a good idea to do that anyway. Thanks Scott for the suggestion. ;) And thanks Phil for pointing me in the right direction with the DLL import stuff. :)

So, without any mucking about here’s the exact same complete application example only this time in C#. You can download the application’s source on the Digital Formula Downloads page or, alternatively, from the application source’s direct link. For those that want to see the main form’s complete source before they download, it can be found at the end of this article.

Please feel to ask any questions necessary. Thanks!

Form1’s complete source:

[code lang=”csharp”]
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace Play
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

}
[/code]

출처 : http://digitalformula.net/development/c-full-screen-application-complete-application-example/

zemna

Programmer/Web/Mobile/Desktop

You may also like...

Leave a Reply