private void _miCharacterEdit_Click(object sender, EventArgs e) { var form = new NewCharacter(); var result = form.ShowDialog(this); if (result == DialogResult.OK) { return; } else { Close(); } }
private void _miCharacterDelete_Click(object sender, EventArgs e) { var form = new NewCharacter(); var result = form.ShowDialog(this); MessageBox.Show("Do you want to delete this character?,", _lstCharacterName); if (result == DialogResult.OK) { //public void Delete ( int id ); return; } else { Close(); } }
private void OnCharacterNew_Click(object sender, EventArgs e) { var form = new NewCharacter(); form.ShowDialog(); }
public NewCharacter(NewCharacter character) : this() { }
internal object TryValidateFullObject(NewCharacter character) { throw new NotImplementedException(); }
public TryValidateFullObject(NewCharacter character) { _character = character; }