public DialogResult ShowOptions(ACTFBIncidentSourceOptions SourceOptions) { mOptions = SourceOptions; SetupOptions(); //Disable apply btnApply.Enabled = false; return this.ShowDialog(); }
public bool Initialize(IIncidentWatcher IncidentWatcher, IWatchList Watches) { mIncidentWatcher = IncidentWatcher; mWatchList = Watches; mOptions = new ACTFBIncidentSourceOptions(); //Create a new Incident List mIncidentList = new ACTFBIncidentItemList(this); return true; }
public ACTFBWatchNotification(ACTFBIncidentItem IncidentItem, IWatchList Parent, ACTFBIncidentSourceOptions Options, ACTFBIncidentSource ParentSource) { InitializeComponent(); mIncidentItem = IncidentItem; mParent = Parent; mOptions = Options; mParentSource = ParentSource; mfFadeOut = true; UpdateDialog(); //Check if a stream exists for this region if (String.IsNullOrEmpty(mOptions.StreamURL) == false && String.IsNullOrEmpty(mParentSource.GetIncidentWatcher().GetStreamListenerPath()) == false) { //If we have it set to open the stream if (mParentSource.GetIncidentWatcher().GetAutoOpenStreamOnWatch() == true) { OpenStream(); } } }