public EditorConfigViewModel( IEditorConfiguration editorConfiguration, IEditorLanguage editorLanguage) { EditorConfiguration = editorConfiguration; EditorLanguage = editorLanguage; }
/// <summary> /// Default constructor so we can initiate this from MEF /// </summary> public EditorDestination( ICoreConfiguration coreConfiguration, IGreenshotLanguage greenshotLanguage, EditorFactory editorFactory, IEditorLanguage editorLanguage) : base(coreConfiguration, greenshotLanguage) { _editorFactory = editorFactory; _editorLanguage = editorLanguage; }
public EditorDestination( ICoreConfiguration coreConfiguration, IGreenshotLanguage greenshotLanguage, EditorFactory editorFactory, IEditorLanguage editorLanguage, IImageEditor editor) : this(coreConfiguration, greenshotLanguage, editorFactory, editorLanguage) { _editorFactory = editorFactory; _editor = editor; }
public ResizeSettingsForm(ResizeEffect effect, IEditorLanguage editorLanguage, IGreenshotLanguage greenshotLanguage) : base(greenshotLanguage) { _effect = effect; InitializeComponent(); var valuePixel = editorLanguage.EditorResizePixel; _valuePercent = editorLanguage.EditorResizePercent; combobox_width.Items.Add(valuePixel); combobox_width.Items.Add(_valuePercent); combobox_width.SelectedItem = valuePixel; combobox_height.Items.Add(valuePixel); combobox_height.Items.Add(_valuePercent); combobox_height.SelectedItem = valuePixel; textbox_width.Text = effect.Width.ToString(); textbox_height.Text = effect.Height.ToString(); _newWidth = effect.Width; _newHeight = effect.Height; combobox_width.SelectedIndexChanged += Combobox_SelectedIndexChanged; combobox_height.SelectedIndexChanged += Combobox_SelectedIndexChanged; checkbox_aspectratio.Checked = effect.MaintainAspectRatio; }
public EditorDestination(EditorFactory editorFactory, IEditorLanguage editorLanguage, IImageEditor editor) : this(editorLanguage) { _editorFactory = editorFactory; _editor = editor; }
public EditorDestination(IEditorLanguage editorLanguage) { _editorLanguage = editorLanguage; }