private void InputDataButton_Click(object sender, EventArgs e) { if (inputDataView == null) { inputDataView = new InputDataView(this) { TopLevel = false, }; inputDataView.MdiParent = this; inputDataView.Show(); } }
public void DeleteSelfReference(Form f) { if (f == inputDataView) { inputDataView = null; } if (f == managementView) { managementView = null; } if (f == fileView) { fileView = null; } }