public AudioTrackSizeTab() { InitializeComponent(); this.audio1Type.Items.AddRange(ContainerManager.AudioTypes.ValuesArray); DragDropUtil.RegisterSingleFileDragDrop(this, selectAudioFile, this.filter); }
public FileBar() { InitializeComponent(); DragDropUtil.RegisterSingleFileDragDrop(filename, SetFilename, delegate() { return(Filter); }); if (MainForm.Instance == null) { return; } // DPI rescale if (MainForm.Instance != null) { openButton.Height = filename.Height + MainForm.Instance.Settings.DPIRescale(3); } }
public FileBar() { InitializeComponent(); DragDropUtil.RegisterSingleFileDragDrop(filename, setFilename, delegate() { return(Filter); }); }
public void enableDragDrop() { // only enable drag&drop when the main form is visible DragDropUtil.RegisterSingleFileDragDrop(input, setFileName, delegate() { return(Filter); }); }