public static FormLocationEditor GetFormLocationEditor() { if (_formInstance == null || _formInstance.IsDisposed) { _formInstance = new FormLocationEditor(); if (_formLocation != null) _formInstance.Location = _formLocation; } return _formInstance; }
private void buttonOpenLocationEditor_Click(object sender, EventArgs e) { FormLocationEditor.GetFormLocationEditor().ShowWithBorder(this); }