예제 #1
0
        public AudioTrackSizeTab()
        {
            InitializeComponent();
            this.audio1Type.Items.AddRange(ContainerManager.AudioTypes.ValuesArray);

            DragDropUtil.RegisterSingleFileDragDrop(this, selectAudioFile, this.filter);
        }
예제 #2
0
파일: FileBar.cs 프로젝트: pphh77/MeGui
        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);
            }
        }
예제 #3
0
 public FileBar()
 {
     InitializeComponent();
     DragDropUtil.RegisterSingleFileDragDrop(filename, setFilename, delegate() { return(Filter); });
 }
예제 #4
0
 public void enableDragDrop()
 {
     // only enable drag&drop when the main form is visible
     DragDropUtil.RegisterSingleFileDragDrop(input, setFileName, delegate() { return(Filter); });
 }