public static ImportModelWindow GetInstance() { if (staticInstance == null) { staticInstance = new ImportModelWindow(); } return staticInstance; }
public static ImportModelWindow GetInstance() { if (staticInstance == null) { staticInstance = new ImportModelWindow(); } return(staticInstance); }
private void ImportModel_Click(object sender, RoutedEventArgs e) { ImportModelWindow.GetInstance().ShowDialog(); }
private void WindowOnClosed(object sender, System.EventArgs e) { staticInstance = null; }
private void WindowOnClosed(object sender, System.EventArgs e) { staticInstance = null; }