If this helps this is all the code that I am using on this form;
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;
namespace Matrix{ public partial class OpenForm : Form { public OpenForm() { InitializeComponent();
if (!automaticUpdater1.ClosingForInstall) LoadSettings(); } void LoadSettings() { }
private void exitToolStripMenuItem_Click(object sender, EventArgs e) { this.Close();
}
private void ChangeWharehouseButton_Click(object sender, EventArgs e) { WharehouseChange remoteWharehouseChange; remoteWharehouseChange = new WharehouseChange(); remoteWharehouseChange.ShowDialog();
}
private void TechMotorsButton_Click(object sender, EventArgs e) { TechMotors remoteTechMotors; remoteTechMotors = new TechMotors(); remoteTechMotors.ShowDialog();
}
private void automaticUpdater1_ClosingAborted(object sender, EventArgs e) { LoadSettings();
} }}