private void Radera(object obj) { RaderaKonto radera = new RaderaKonto(BusinessManager); radera.ShowDialog(); if (BusinessManager.OK == true) { TillbakaAction(); } else if (BusinessManager.OK == false) { } }
private void Radera(object obj) { RaderaKonto radera = new RaderaKonto(BusinessManager); radera.ShowDialog(); if (radera.DialogResult == true) { //this.DialogResult = true; TillbakaAction(); } else if (radera.DialogResult == false) { //this.DialogResult = false; } }