mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add GUI skeleton.
This commit is contained in:
31
DiscImageChef.Gui/MainForm.xeto.cs
Normal file
31
DiscImageChef.Gui/MainForm.xeto.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Eto.Forms;
|
||||
using Eto.Drawing;
|
||||
using Eto.Serialization.Xaml;
|
||||
|
||||
namespace DiscImageChef.Gui
|
||||
{
|
||||
public class MainForm : Form
|
||||
{
|
||||
public MainForm()
|
||||
{
|
||||
XamlReader.Load(this);
|
||||
}
|
||||
|
||||
protected void HandleClickMe(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("I was clicked!");
|
||||
}
|
||||
|
||||
protected void HandleAbout(object sender, EventArgs e)
|
||||
{
|
||||
new AboutDialog().ShowDialog(this);
|
||||
}
|
||||
|
||||
protected void HandleQuit(object sender, EventArgs e)
|
||||
{
|
||||
Application.Instance.Quit();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user