internal static void Initialize(UcModBrowserCkan view) { View = view; EventDistributor.AsyncTaskStarted += AsyncTaskStarted; EventDistributor.AsyncTaskDone += AsyncTaskDone; EventDistributor.LanguageChanged += LanguageChanged; // ModSelectionController.CreateModNode += CreateModNode; // Add your stuff to initialize here. View.Model = model; }
internal static void Initialize(ucModBrowserView view) { View = view; EventDistributor.AsyncTaskStarted += AsyncTaskStarted; EventDistributor.AsyncTaskDone += AsyncTaskDone; // Add your stuff to initialize here. if (ModBrowserInitComplete != null) { ModBrowserInitComplete(); } var modBrowser = new UcModBrowserCkan(); RegisterModBrowser(modBrowser); View.Load += ViewOnLoad; }