private void DoubleClickDevice(object sender, EventArgs e) { var clickedGrid = (DataGridView)sender; var selectedGuid = clickedGrid.CurrentRowStringValue(DevicesBaseCols.DeviceGuid); if (!string.IsNullOrEmpty(selectedGuid)) { var device = new Device(selectedGuid); ChildFormControl.LookupDevice(this.ParentForm, device); } }
private void InfoLabel_Click(object sender, EventArgs e) { ChildFormControl.LookupDevice(Helpers.ChildFormControl.MainFormInstance(), currentDevice); }