mirror of
https://github.com/forrest-orr/moneta
synced 2026-06-08 14:14:09 +00:00
28 lines
827 B
C#
28 lines
827 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Windows.Forms;
|
|
using System.Diagnostics;
|
|
using System.ComponentModel;
|
|
|
|
namespace DotNetFrameworkExe
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
Process currentProcess = Process.GetCurrentProcess();
|
|
Console.Out.WriteLine("Current PID: " + currentProcess.Id);
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Application.Run(new Form1());
|
|
var result = MessageBox.Show("test", ".NET framework EXE",
|
|
MessageBoxButtons.YesNo,
|
|
MessageBoxIcon.Question);
|
|
}
|
|
}
|
|
}
|