コード例 #1
0
        public MassRenameControl()
        {
            // The controls
            this.tbBrowse = new Tb(this);

            this.btnBrowseFiles        = new Btn("Browse files", this);
            this.btnBrowseFiles.Click += this.browseFiles;

            this.btnBrowseDir        = new Btn("Browse dir", this);
            this.btnBrowseDir.Click += this.browseDir;

            this.btnRename        = new Btn("Rename", this);
            this.btnRename.Click += this.rename;

            int color = 250;

            this.tbOld           = new RichTb(this);
            this.tbOld.ReadOnly  = true;
            this.tbOld.BackColor = Color.FromArgb(color, color, color);
            this.tbOld.ForeColor = Color.Black;

            this.tbNew           = new RichTb(this);
            this.tbNew.BackColor = Color.FromArgb(color, color, color);
            this.tbNew.ForeColor = Color.Black;
        }
コード例 #2
0
        public MassRenameControl()
        {
            // The controls
            this.tbBrowse = new Tb(this);

            this.btnBrowseFiles = new Btn("Browse files", this);
            this.btnBrowseFiles.Click += this.browseFiles;

            this.btnBrowseDir = new MassRename.Btn("Browse dir", this);
            this.btnBrowseDir.Click += this.browseDir;

            this.btnRename = new Btn("Rename", this);
            this.btnRename.Click += this.rename;

            int color = 250;
            this.tbOld = new RichTb(this);
            this.tbOld.ReadOnly = true;
            this.tbOld.BackColor = Color.FromArgb(color, color, color);
            this.tbOld.ForeColor = Color.Black;

            this.tbNew = new RichTb(this);
            this.tbNew.BackColor = Color.FromArgb(color, color, color);
            this.tbNew.ForeColor = Color.Black;
        }