Exemple #1
0
        public FileViewTab(string filePath, FileView control)
        {
            control.CheckForNullArg("control");

            this.ToolTipText = filePath;
            this.Text        = Path.GetFileName(filePath);

            control.Dock = DockStyle.Fill;

            this.Controls.Add(control);
        }
Exemple #2
0
        public FileViewTab(string filePath, FileView control)
        {
            control.CheckForNullArg("control");

            this.ToolTipText = filePath;
            this.Text = Path.GetFileName(filePath);

            control.Dock = DockStyle.Fill;

            this.Controls.Add(control);
        }