public VideoComponent(LiveSplitState state, AxVLCPlugin2 vlc) : base(state, vlc, ex => ErrorCallback(state.Form, ex)) { Settings = new VideoSettings(); State = state; VLC = vlc; state.OnReset += state_OnReset; state.OnStart += state_OnStart; state.OnPause += state_OnPause; state.OnResume += state_OnResume; }
public VideoComponent(LiveSplitState state, AxVLCPlugin2 vlc) : base(state, vlc, ex => ErrorCallback(state.Form, ex)) { Settings = new VideoSettings(); Settings.txtVideoPath.TextChanged += txtMRL_TextChanged; State = state; VLC = vlc; //Control.Visible = false; state.OnReset += state_OnReset; state.OnStart += state_OnStart; state.OnPause += state_OnPause; state.OnResume += state_OnResume; }