public static SyllableForm GetForm() { if (Instance == null || Instance.IsDisposed) { Instance = new SyllableForm(); } return(Instance); }
private void mnuSyllable_Click(object sender, EventArgs e) { var form = SyllableForm.GetForm(); form.Left = this.Left; form.Top = this.Top; form.WindowState = this.WindowState; form.Show(); this.Hide(); }