private void Window_Loaded(object sender, RoutedEventArgs e) { updateTitle(); Statics.ReadOptions(); splashScreen.Close(); if (Application.Current.Properties["InputFileName"] != null) { string inputFileName = Application.Current.Properties["InputFileName"].ToString(); OpenPath(inputFileName, false); return; } if (Statics.IsShowStratupScreen) { var form = new StartupForm(this); form.ShowDialog(); } }
private void StartupButton_Click(object sender, RoutedEventArgs e) { var form = new StartupForm(this); form.ShowDialog(); }