#region GPL
// Copyright (c) Evan Hazlett, 2005
// Sourcefile: FrmMain.cs
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed WITHOUT ANY WARRANTY.
// See the GNU General Public License for more details.
//
// Evan Hazlett - linx@pixolight.com
//
#endregion
#region Using Directives
using System;
using Gtk;
#endregion
namespace FileSync.Gtk{
/// <summary>
/// Summary description for Driver.
/// </summary>
class FrmMain
{
private AccelGroup m_AccelGroup = null;
#region Constructor
public FrmMain ()
{
Application.Init();
Glade.XML gxml = new Glade.XML ( "FileSync.Gtk.glade", null );
gxml.Autoconnect ( this );
Application.Run();
}
#endregion
private void OnMyWindowDelete (object o, DeleteEventArgs args)
{
Application.Quit ();
args.RetVal = true;
}
#region Main
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
new FrmMain();
}
#endregion
}
}
|