예제 #1
0
 private void IPhoneForceCPUButton_Click(object sender, EventArgs e)
 {
     using (var iOSDevicesForm = new IOSDeviceManager(IPhoneForceCPUField.Text.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)))
     {
         if (iOSDevicesForm.ShowDialog(this) == DialogResult.OK)
             IPhoneForceCPUField.Text = iOSDevicesForm.SelectedDevices;
     }
 }
예제 #2
0
 private void IPhoneResolutionExcludeButton_Click(object sender, EventArgs e)
 {
     string devicesData = (string)(IPhoneResolutionExcludeButton.Tag ?? string.Empty);
     string[] devices = devicesData.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
     using (var iOSDevicesForm = new IOSDeviceManager(devices))
     {
         if (iOSDevicesForm.ShowDialog(this) == DialogResult.OK)
             IPhoneResolutionExcludeButton.Tag = iOSDevicesForm.SelectedDevices;
     }
 }