|
using System;
using System.ComponentModel;
using System.Windows.Forms;
using XmlGuiGenerator;
//using Cipio.Admin;
namespace WindowsClient {
public class AppMain {
public static Form appForm;
private AppMain() {
appForm=(Form)Generator.LoadForm("Admin.xml", "Logon", this, null);
appForm.Show();
}
public void OnLoad(object sender, EventArgs e)
{
}
public void OnMyEvent(object sender, EventArgs e) {
MessageBox.Show("Clicked!");
}
private void OnCloseEvent(object sender, CancelEventArgs e) {
Application.Exit();
}
[STAThread]
static void Main() {
new AppMain();
Application.Run();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.