void OnCameraAdded(CameraAddedEventArgs e) { var handler = CameraAdded; if (handler != null) { handler(this, e); } }
private void api_OnCameraAdded(CameraAddedEventArgs e) { scanForCamerasToolStripMenuItem_Click(null, new EventArgs()); }
void AddCameraModel_CameraAdded(object sender, CameraAddedEventArgs e) { OnCameraAdded(e); }
void addWindow_CameraAdded(object sender, CameraAddedEventArgs e) { ModelList.Add(e.Camera); }