예제 #1
0
        void Pn4ButtonClick(object sender, EventArgs e)
        {
            string name;
            AddDog addDialog = new AddDog(coat, chihu.dog_type.adult);

            addDialog.ShowDialog();
            pn4_id          = addDialog.return_id;
            name            = addDialog.return_name;
            pn4NameBox.Text = name;
        }
예제 #2
0
        void VspPuppyButtonClick(object sender, EventArgs e)
        {
            string name;
            AddDog addDialog = new AddDog(coat, chihu.dog_type.puppy);

            addDialog.ShowDialog();
            vsp_id           = addDialog.return_id;
            name             = addDialog.return_name;
            vspPuppyBox.Text = name;
        }
예제 #3
0
        void RopVetButtonClick(object sender, EventArgs e)
        {
            string name;
            AddDog addDialog = new AddDog(coat, chihu.dog_type.veteran);

            addDialog.ShowDialog();
            rop_id         = addDialog.return_id;
            name           = addDialog.return_name;
            ropVetBox.Text = name;
        }