0
我想利用我的計劃,我已經建立並指定爲運行在我的GUI界面onrunapplication單擊按鈕時:分配程序按鈕GUI界面
using System;
using Gtk;
public partial class MainWindow: Gtk.Window
{
public MainWindow(): base (Gtk.WindowType.Toplevel)
{
Build();
}
protected void OnDeleteEvent (object sender, DeleteEventArgs a)
{
Application.Quit();
a.RetVal = true;
}
protected void OnExitbuttonClicked (object sender, EventArgs e)
{
Application.Quit();
}
protected void OnRunapplicationClicked (object sender, EventArgs e)
{
???
}
}
這裏是我的節目開始,我想運行:
using System;
using Gtk;
using System.IO;
using System.Net;
namespace namelookup
{
class MainClass
{
public static void Main(string[] args)
{