public ImageCombinerForm(ImageCombinerOptions options) { Options = options; InitializeComponent(); cbOrientation.Items.AddRange(Enum.GetNames(typeof(Orientation))); cbOrientation.SelectedIndex = (int)Options.Orientation; nudSpace.Value = Options.Space; }
public ImageCombinerForm(ImageCombinerOptions options) { Options = options; InitializeComponent(); Icon = ShareXResources.Icon; cbOrientation.Items.AddRange(Enum.GetNames(typeof(Orientation))); cbOrientation.SelectedIndex = (int)Options.Orientation; nudSpace.SetValue(Options.Space); }
public ImageCombinerForm(ImageCombinerOptions options, IEnumerable <string> imageFiles) : this(options) { if (imageFiles != null) { foreach (string image in imageFiles) { lvImages.Items.Add(image); } } }