Beispiel #1
0
        private void _miCharacterEdit_Click(object sender, EventArgs e)
        {
            var form   = new NewCharacter();
            var result = form.ShowDialog(this);

            if (result == DialogResult.OK)
            {
                return;
            }
            else
            {
                Close();
            }
        }
Beispiel #2
0
        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();
            }
        }
Beispiel #3
0
        private void OnCharacterNew_Click(object sender, EventArgs e)
        {
            var form = new NewCharacter();

            form.ShowDialog();
        }
Beispiel #4
0
 public NewCharacter(NewCharacter character) : this()
 {
 }
Beispiel #5
0
 internal object TryValidateFullObject(NewCharacter character)
 {
     throw new NotImplementedException();
 }
Beispiel #6
0
 public TryValidateFullObject(NewCharacter character)
 {
     _character = character;
 }