private void AddRelation_Click(object sender, System.EventArgs e) { using (AddRelationDialog addRelationDlg = new AddRelationDialog(_descriptor, _project)) { if (addRelationDlg.ShowDialog(this) == DialogResult.OK) { FillClassRelationships(_descriptor); } } }
private void AddRelation_Click(object sender, System.EventArgs e) { using(AddRelationDialog addRelationDlg = new AddRelationDialog(_descriptor, _project)) { if (addRelationDlg.ShowDialog( this ) == DialogResult.OK) { FillClassRelationships( _descriptor ); } } }