コード例 #1
0
        private void AddNewStateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            addstatewindow.WaitOne();
            AddState form2 = new AddState();

            //var dialogResult = form2.ShowDialog();
            form2.ShowDialog();
            addstatewindow.ReleaseMutex();
            Update();
        }
コード例 #2
0
        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();
        }