static public void showStatusForm(Dictionary <string, string> IPDic) { StatusForm fm = new StatusForm(IPDic); fm.StartPosition = FormStartPosition.CenterParent; fm.ShowDialog(); fm.Dispose(); }
/// <summary> /// menu status proc /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void statusToolStripMenuItem_Click(object sender, EventArgs e) { StatusForm.showStatusForm(localIPDic); }