public MeasurmentsForm(MinoltaRig device, string resolution) { InitializeComponent(); if (!String.IsNullOrEmpty(projectorcomms)) { projector.InitialiseCommands("protocol\\", Properties.Settings.Default.ProjectorType); } minolta = device; resolutionLabel.Text = resolution; data.resolution = resolution; }