private void callModifyTransit(ref object value) { GetTransitView transitForm = new GetTransitView(ref value); transitForm.WindowStartupLocation = WindowStartupLocation.CenterScreen; transitForm.ShowDialog(); }
private void callTransitInputForm(string _flightID) { GetTransitView transitForm = new GetTransitView(_flightID); transitForm.WindowStartupLocation = WindowStartupLocation.CenterScreen; transitForm.ShowDialog(); }