Skip to content

Instantly share code, notes, and snippets.

@egtra
Created January 12, 2014 19:08
Show Gist options
  • Select an option

  • Save egtra/8388988 to your computer and use it in GitHub Desktop.

Select an option

Save egtra/8388988 to your computer and use it in GitHub Desktop.
C++/CLIによるWPF最小限のコード例。
#using <PresentationCore.dll>
#using <PresentationFramework.dll>
#using <WindowsBase.dll>
using namespace System;
namespace wpf = System::Windows;
namespace input = System::Windows::Input;
[STAThread]
int main()
{
auto w = gcnew wpf::Window;
auto app = gcnew wpf::Application;
return app->Run(w);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment