private void AddNewStateToolStripMenuItem_Click(object sender, EventArgs e) { addstatewindow.WaitOne(); AddState form2 = new AddState(); //var dialogResult = form2.ShowDialog(); form2.ShowDialog(); addstatewindow.ReleaseMutex(); Update(); }
private void Visit_A_State_Click(object sender, EventArgs e) { addstatewindow.WaitOne(); AddState form2 = new AddState(); //var dialogResult = form2.ShowDialog(); form2.ShowDialog(); addstatewindow.ReleaseMutex(); Update(); }