Example #1
0
 public Customer(string nfname, string nlname, string nlicense, string ntag, string nzone, Deer ndeer, string deerT)
 {
     fname    = nfname;
     lname    = nlname;
     license  = nlicense;
     tag      = ntag;
     zone     = nzone;
     deer     = ndeer;
     deertype = deerT;
 }
Example #2
0
 public Customer()
 {
     fname    = null;
     lname    = null;
     license  = null;
     tag      = null;
     zone     = null;
     deer     = null;
     deertype = null;
 }
Example #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form5 f5   = new Form5();
            Deer  temp = cus.getDeer();

            temp.setWeight(Convert.ToDouble(Weight.Text));
            cus.setDeer(temp);
            this.Hide();
            XMLwriter.write(cus);
            f5.Show();
        }
Example #4
0
 public void setDeer(Deer deer1)
 {
     deer = deer1;
 }