private void Modify(object obj) { var dialog = new ModifyDialog((ProcessViewModel)obj); dialog.Show(); }
/// <summary> /// EventHandler for buttonAccountSettings.Click /// Shows ModifyAccount dialog /// </summary> private void buttonAccountSettings_Click(object sender, EventArgs e) { ModifyDialog.Show(); }