public DialogInput(Buses window) { InitializeComponent(); buses = window; try { pasNumTxt.Text = window.shift.tempJob.pass_num.ToString(); } catch (Exception e) { } }
private void BusSelection_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { Buses window = new Buses(this, adminGui); window.ShowDialog(); }