コード例 #1
0
ファイル: Form1.cs プロジェクト: van800/SubRenamer
        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];
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: van800/SubRenamer
        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];
        }