public static void Main(string [] args) { String pathtoSource = System.Reflection.Assembly.GetEntryAssembly().Location; Application.Init(); UpdatesWindow win = new UpdatesWindow(); win.Show(); Application.Run(); }
private void Update_Click(object sender, EventArgs e) { var wind = new UpdatesWindow(); wind.Show(this); }