mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-14 19:05:48 +12:00
25 lines
569 B
C#
25 lines
569 B
C#
|
using Microsoft.VisualBasic.ApplicationServices;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace ShareX
|
|||
|
{
|
|||
|
class ShareXApplicationBase : WindowsFormsApplicationBase
|
|||
|
{
|
|||
|
public ShareXApplicationBase(bool isSingleInstance)
|
|||
|
{
|
|||
|
IsSingleInstance = isSingleInstance;
|
|||
|
EnableVisualStyles = true;
|
|||
|
}
|
|||
|
|
|||
|
public new Form MainForm
|
|||
|
{
|
|||
|
get { return base.MainForm; }
|
|||
|
set { base.MainForm = value; }
|
|||
|
}
|
|||
|
}
|
|||
|
}
|