public MainWindow() { mainWindow = this; // Reference for the MainWindow in other classes Directories.DirectoriesInit(mainWindow); Merger.MergerInit(mainWindow); InitializeComponent(); }
public static void DirectoriesInit(MainWindow mainWindowInstance) { mainWindow = mainWindowInstance; }
public static void MergerInit(MainWindow mainWindowInstance) { mainWindow = mainWindowInstance; }