Exemplo n.º 1
0
        public ParentForm(ExtensionList videoExtensions, ExtensionList subExtensions, string[] args)
        {
            VideoExtensions = videoExtensions;
            SubExtensions = subExtensions;

            InitializeComponent();
            ((ToolStripDropDownMenu)Settings2DropDownButton1.DropDown).ShowImageMargin = false;
            ((ToolStripDropDownMenu)HelpDropDownButton3.DropDown).ShowImageMargin = false;

            _tsUserControl = new ToolStripUserControl(this);            //add usercontrol to drop down menu
            Settings2DropDownButton1.DropDownItems.Insert(0, _tsUserControl);

            string allFiles="";
            foreach (string arg in args)
                allFiles = allFiles+ arg + Environment.NewLine;
            textBoxSubs.Text = allFiles;
            toolStripStatusLabel1.Text = myStringArray[0];
        }
Exemplo n.º 2
0
        public ParentForm(ExtensionList videoExtensions, ExtensionList subExtensions, string[] args)
        {
            VideoExtensions = videoExtensions;
            SubExtensions   = subExtensions;

            InitializeComponent();
            ((ToolStripDropDownMenu)Settings2DropDownButton1.DropDown).ShowImageMargin = false;
            ((ToolStripDropDownMenu)HelpDropDownButton3.DropDown).ShowImageMargin      = false;

            _tsUserControl = new ToolStripUserControl(this);            //add usercontrol to drop down menu
            Settings2DropDownButton1.DropDownItems.Insert(0, _tsUserControl);

            string allFiles = "";

            foreach (string arg in args)
            {
                allFiles = allFiles + arg + Environment.NewLine;
            }
            textBoxSubs.Text           = allFiles;
            toolStripStatusLabel1.Text = myStringArray[0];
        }