Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (File.Exists("data.xml"))
            {
                XmlSerializer xs   = new XmlSerializer(typeof(Information));
                FileStream    read = new FileStream("data.xml", FileMode.Open, FileAccess.Read, FileShare.Read);
                Information   info = (Information)xs.Deserialize(read);
                MessageBox.Show(Text = info.Data1);
            }

            //MessageBox.Show(Form1En.Car[1]);

            Reserve r1 = new Reserve("Reserve", "Ground", "A4");



            Location L1 = new Location(r1);

            L1.Cetak1();
        }
Пример #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            Reserve r = new Reserve();

            r.Show();
        }
Пример #3
0
 public Location(Reserve rsv1, Disabled oku1)
 {
     this.rsv1 = rsv1;
     this.oku1 = oku1;
 }
Пример #4
0
 public Location(Reserve rsv1)
 {
     this.rsv1 = rsv1;
 }