private void button6_Click(object sender, EventArgs e) { WaypointWriter WPW = new WaypointWriter(); WPW.ShowDialog(); WPW.Dispose(); }