public Monaco() { Address = $"file:///{Environment.CurrentDirectory.Replace("\\", "/")}/bin/Monaco.html"; LoadingStateChanged += (sender, args) => { if (args.IsLoading) { return; } MonacoLoaded = true; MonacoReady?.Invoke(); }; }
public Monaco() { Opacity = 0; Address = $"file:///{Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location).Replace("\\", "/")}/Monaco.html"; LoadingStateChanged += (sender, args) => { if (args.IsLoading) { return; } MonacoLoaded = true; MonacoReady?.Invoke(); }; }