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(); }
private void button4_Click(object sender, EventArgs e) { Reserve r = new Reserve(); r.Show(); }
public Location(Reserve rsv1, Disabled oku1) { this.rsv1 = rsv1; this.oku1 = oku1; }
public Location(Reserve rsv1) { this.rsv1 = rsv1; }