C#语言实例源码系列-实现批量更改文件名称大小写或扩展名

news2024/11/17 23:29:44
专栏分享
  • 点击跳转=>Unity3D特效百例
  • 点击跳转=>案例项目实战源码
  • 点击跳转=>游戏脚本-辅助自动化
  • 点击跳转=>Android控件全解手册

👉关于作者

众所周知,人生是一个漫长的流程,不断克服困难,不断反思前进的过程。在这个过程中会产生很多对于人生的质疑和思考,于是我决定将自己的思考,经验和故事全部分享出来,以此寻找共鸣 !!!
专注于Android/Unity和各种游戏开发技巧,以及各种资源分享(网站、工具、素材、源码、游戏等)
有什么需要欢迎私我,交流群让学习不再孤单

在这里插入图片描述

👉实践过程

😜效果

在这里插入图片描述

😜代码

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }
    string[] files;//选择文件的集合
    FileInfo fi;//创建一个FileInfo对象,用于获取文件信息
    string[] lvFiles=new string[7];//向控件中添加的行信息
    Thread td;//处理批量更名方法的线程
    private void 添加文件ToolStripMenuItem_Click(object sender, EventArgs e)
    {
        if (openFileDialog1.ShowDialog() == DialogResult.OK)
        {
            listView1.GridLines = true;
            listView1.Items.Clear();
            files = openFileDialog1.FileNames;
            for (int i = 0; i < files.Length; i++)
            {
                string path = files[i].ToString();
                fi = new FileInfo(path);
                string name = path.Substring(path.LastIndexOf("\\") + 1, path.Length - 1 - path.LastIndexOf("\\"));
                string ftype = path.Substring(path.LastIndexOf("."), path.Length - path.LastIndexOf("."));
                string createTime = fi.CreationTime.ToShortDateString();
                double a = Convert.ToDouble(Convert.ToDouble(fi.Length) / Convert.ToDouble(1024));
                string fsize = a.ToString("0.0")+" KB";
                lvFiles[0] = name;
                lvFiles[1] = name;
                lvFiles[2] = ftype;
                lvFiles[3] = createTime;
                lvFiles[4] = path.Remove(path.LastIndexOf("\\") + 1);
                lvFiles[5] = fsize;

                ListViewItem lvi = new ListViewItem(lvFiles);
                lvi.UseItemStyleForSubItems = false;
                lvi.SubItems[1].BackColor = Color.AliceBlue;
                
                listView1.Items.Add(lvi);
            }
            tsslSum.Text = listView1.Items.Count.ToString();
        }
    }


    bool flag = true;
    private void 总在最前ToolStripMenuItem_Click(object sender, EventArgs e)
    {
        if (flag)
        {
            总在最前ToolStripMenuItem.Checked = true;
            this.TopMost = true;
            flag = false;
        }
        else
        {
            总在最前ToolStripMenuItem.Checked = false;
            this.TopMost = false;
            flag = true;
        }
    }

    private void radioButton1_CheckedChanged(object sender, EventArgs e)//文件名大写
    {
        if (listView1.Items.Count > 0)
        {
            if (radioButton1.Checked)
            {
                for (int i = 0; i < listView1.Items.Count; i++)
                {
                    string name = listView1.Items[i].SubItems[1].Text;
                    string name1 = name.Remove(name.LastIndexOf("."));
                    string newName = name.Replace(name1,name1.ToUpper());
                    listView1.Items[i].SubItems[1].Text = newName;
                }
            }
        }
    }

    private void radioButton2_CheckedChanged(object sender, EventArgs e)//文件名小写
    {
        if (listView1.Items.Count > 0)
        {
            if (radioButton2.Checked)
            {
                for (int i = 0; i < listView1.Items.Count; i++)
                {
                    string name = listView1.Items[i].SubItems[1].Text;
                    string name1 = name.Remove(name.LastIndexOf("."));
                    string newName = name.Replace(name1, name1.ToLower());
                    listView1.Items[i].SubItems[1].Text = newName;
                }
            }
        }
    }

    private void radioButton3_CheckedChanged(object sender, EventArgs e)//第一个字母大写
    {
        if (listView1.Items.Count > 0)
        {
            if (radioButton3.Checked)
            {
                for (int i = 0; i < listView1.Items.Count; i++)
                {
                    string name = listView1.Items[i].SubItems[1].Text;
                    string name1 = name.Substring(0,1);
                    string name2 = name.Substring(1);
                    string newName = name1.ToUpper() + name2;
                    listView1.Items[i].SubItems[1].Text = newName;
                }
            }
        }
    }

    private void radioButton4_CheckedChanged(object sender, EventArgs e)//扩展名大写
    {
        if (listView1.Items.Count > 0)
        {
            if (radioButton4.Checked)
            {
                for (int i = 0; i < listView1.Items.Count; i++)
                {
                    string name = listView1.Items[i].SubItems[1].Text;
                    string name1 = name.Substring(name.LastIndexOf("."), name.Length - name.LastIndexOf("."));
                    string newName = name.Replace(name1, name1.ToUpper());
                    listView1.Items[i].SubItems[1].Text = newName;
                }
            }
        }
    }

    private void radioButton5_CheckedChanged(object sender, EventArgs e)
    {
        if (listView1.Items.Count > 0)
        {
            if (radioButton5.Checked)
            {
                for (int i = 0; i < listView1.Items.Count; i++)
                {
                    string name = listView1.Items[i].SubItems[1].Text;
                    string name1 = name.Substring(name.LastIndexOf("."), name.Length - name.LastIndexOf("."));
                    string newName = name.Replace(name1, name1.ToLower());
                    listView1.Items[i].SubItems[1].Text = newName;
                }
            }
        }
    }

    bool IsOK = false;//判断是否应用了模板
    private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)//选择模板的下拉框
    {
        int k = (int)nuStart.Value;
        if (comboBox2.Text != "")
        {
            txtTemplate.Text = comboBox2.Text.Remove(comboBox2.Text.LastIndexOf("_"));
            int B = comboBox2.SelectedIndex;
            switch (B)
            {
                case 0:
                    if (listView1.Items.Count > 0)
                    {
                        for (int i = 0; i < listView1.Items.Count; i++)
                        {
                            string name = listView1.Items[i].SubItems[1].Text;
                            string name1 = name.Remove(name.LastIndexOf("."));
                            string name2 = "pic_" + k.ToString();
                            k = k + (int)nuAdd.Value;
                            string newName = name.Replace(name1, name2);
                            listView1.Items[i].SubItems[1].Text = newName;
                        }
                        IsOK = true;
                    }
                    break;
                case 1:
                    if (listView1.Items.Count > 0)
                    {
                        for (int i = 0; i < listView1.Items.Count; i++)
                        {
                            string name = listView1.Items[i].SubItems[1].Text;
                            string name1 = name.Remove(name.LastIndexOf("."));
                            string name2 = "file_" + k.ToString();
                            k = k +(int) nuAdd.Value;
                            string newName = name.Replace(name1,name2);
                            listView1.Items[i].SubItems[1].Text = newName;
                        }
                        IsOK = true;
                    }
                    break;
            }
        }
    }

    private void StartNumAndAdd()//设置起始数字和增量值
    {
         int k = (int)nuStart.Value;
         if (comboBox2.Text != "")
         {
             if (listView1.Items.Count > 0)
             {
                 for (int i = 0; i < listView1.Items.Count; i++)
                 {
                     string name = listView1.Items[i].SubItems[1].Text;
                     string name1 = name.Remove(name.LastIndexOf("."));
                     string name2 = name1.Remove(name.LastIndexOf("_")+1)+k.ToString();
                     k = k + (int)nuAdd.Value;
                     string newName = name.Replace(name1, name2);
                     listView1.Items[i].SubItems[1].Text = newName;
                 }
                 IsOK = true;
             }
         }
    }


    private void nuStart_ValueChanged(object sender, EventArgs e)//选择起始数字
    {
        StartNumAndAdd();
    }

    private void nuAdd_ValueChanged(object sender, EventArgs e)//选择增量值
    {
        StartNumAndAdd();
    }

    private void txtTemplate_TextChanged(object sender, EventArgs e)//更换模板样式
    {
        if (listView1.Items.Count > 0)
        {
            if (IsOK&&txtTemplate.Text.Trim()!=""&&comboBox2.Text!="")
            {
                
                for (int i = 0; i < listView1.Items.Count; i++)
                {
                    string name = listView1.Items[i].SubItems[1].Text;
                    string name1 = name.Remove(name.LastIndexOf("_") + 1);
                    string newName = name.Replace(name1, txtTemplate.Text.Trim() + "_");
                    listView1.Items[i].SubItems[1].Text = newName;
                }
            }
        }
    }


    private void ChangeName()
    {
        int flag = 0;
        try
        {
            toolStripProgressBar1.Minimum = 0;
            toolStripProgressBar1.Maximum = listView1.Items.Count - 1;
            for (int i = 0; i < listView1.Items.Count; i++)
            {
                string path = listView1.Items[i].SubItems[4].Text;
                string sourcePath = path + listView1.Items[i].SubItems[0].Text;
                string newPath = path + listView1.Items[i].SubItems[1].Text;
                File.Copy(sourcePath, newPath);
                File.Delete(sourcePath);
                toolStripProgressBar1.Value = i;
                listView1.Items[i].SubItems[0].Text = listView1.Items[i].SubItems[1].Text;
                listView1.Items[i].SubItems[6].Text = "√成功";
            }
        }
        catch(Exception ex)
        {
            flag++;
            MessageBox.Show(ex.Message);
        }
        finally
        {
            tsslError.Text = flag.ToString() + " 个错误";
        }
    }

    private void 更名ToolStripMenuItem_Click(object sender, EventArgs e)//开始批量更名
    {
        if (listView1.Items.Count > 0)
        {
            for (int i = 0; i < listView1.Items.Count; i++)
            {
                listView1.Items[i].SubItems[6].Text = "";
            }
            tsslError.Text = "";
            td = new Thread(new ThreadStart(ChangeName));
            td.Start();
        }
    }

    private void Form1_Load(object sender, EventArgs e)
    {
        CheckForIllegalCrossThreadCalls = false;
    }

    private void 导出文件列表ToolStripMenuItem_Click(object sender, EventArgs e)
    {
        if (saveFileDialog1.ShowDialog() == DialogResult.OK)
        {
            StreamWriter sw;
            string txt = "";
            string path = saveFileDialog1.FileName;
            for (int i = 0; i < listView1.Items.Count; i++)
            {
                txt = listView1.Items[i].SubItems[0].Text + "  " + listView1.Items[i].SubItems[1].Text;
                sw = File.AppendText(path);
                sw.WriteLine(txt);
                sw.Close();
            }
        }
    }

    private void 退出ToolStripMenuItem_Click(object sender, EventArgs e)
    {
        Application.Exit();
    }

    private static string TraditionalChineseToSimplifiedChinese(string str)//繁体转简体
    {
        return (Microsoft.VisualBasic.Strings.StrConv(str,Microsoft.VisualBasic.VbStrConv.SimplifiedChinese,0));
    }

    private static string SimplifiedChineseToTraditionalChinese(string str)//简体转繁体
    {
        return (Microsoft.VisualBasic.Strings.StrConv(str as string ,Microsoft.VisualBasic.VbStrConv.TraditionalChinese,0));
    }

    private void 繁体转简体ToolStripMenuItem_Click(object sender, EventArgs e)
    {
        if (listView1.Items.Count > 0)
        {
            for (int i = 0; i < listView1.Items.Count; i++)
            {
                string name = listView1.Items[i].SubItems[1].Text;
                string name1 = TraditionalChineseToSimplifiedChinese(name);
                listView1.Items[i].SubItems[1].Text = name1;
            }
        }
    }

    private void 简体转繁体ToolStripMenuItem_Click(object sender, EventArgs e)
    {
        if (listView1.Items.Count > 0)
        {
            for (int i = 0; i < listView1.Items.Count; i++)
            {
                string name = listView1.Items[i].SubItems[1].Text;
                string name1 = SimplifiedChineseToTraditionalChinese(name);
                listView1.Items[i].SubItems[1].Text = name1;
            }
        }
    }

    private void Form1_FormClosed(object sender, FormClosedEventArgs e)
    {
        if (td != null)
        {
            td.Abort();
        }
    }

    private void 关于ToolStripMenuItem_Click(object sender, EventArgs e)
    {
        AboutBox1 ab = new AboutBox1();
        ab.ShowDialog();
    }
}
partial class Form1
{
    /// <summary>
    /// 必需的设计器变量。
    /// </summary>
    private System.ComponentModel.IContainer components = null;

    /// <summary>
    /// 清理所有正在使用的资源。
    /// </summary>
    /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
    protected override void Dispose(bool disposing)
    {
        if (disposing && (components != null))
        {
            components.Dispose();
        }
        base.Dispose(disposing);
    }

    #region Windows 窗体设计器生成的代码

    /// <summary>
    /// 设计器支持所需的方法 - 不要
    /// 使用代码编辑器修改此方法的内容。
    /// </summary>
    private void InitializeComponent()
    {
        this.components = new System.ComponentModel.Container();
        this.menuStrip1 = new System.Windows.Forms.MenuStrip();
        this.文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.添加文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.总在最前ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.导出文件列表ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.退出ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.更名PToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.更名ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.繁体转简体ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.简体转繁体ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.帮助HToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.关于ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
        this.statusStrip1 = new System.Windows.Forms.StatusStrip();
        this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
        this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel();
        this.tsslSum = new System.Windows.Forms.ToolStripStatusLabel();
        this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel();
        this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar();
        this.tsslError = new System.Windows.Forms.ToolStripStatusLabel();
        this.splitContainer1 = new System.Windows.Forms.SplitContainer();
        this.tabControl1 = new System.Windows.Forms.TabControl();
        this.tabPage1 = new System.Windows.Forms.TabPage();
        this.pictureBox1 = new System.Windows.Forms.PictureBox();
        this.groupBox2 = new System.Windows.Forms.GroupBox();
        this.radioButton5 = new System.Windows.Forms.RadioButton();
        this.radioButton4 = new System.Windows.Forms.RadioButton();
        this.groupBox1 = new System.Windows.Forms.GroupBox();
        this.radioButton3 = new System.Windows.Forms.RadioButton();
        this.radioButton2 = new System.Windows.Forms.RadioButton();
        this.radioButton1 = new System.Windows.Forms.RadioButton();
        this.tabPage2 = new System.Windows.Forms.TabPage();
        this.txtTemplate = new System.Windows.Forms.TextBox();
        this.label5 = new System.Windows.Forms.Label();
        this.nuAdd = new System.Windows.Forms.NumericUpDown();
        this.label4 = new System.Windows.Forms.Label();
        this.nuStart = new System.Windows.Forms.NumericUpDown();
        this.label3 = new System.Windows.Forms.Label();
        this.comboBox2 = new System.Windows.Forms.ComboBox();
        this.label2 = new System.Windows.Forms.Label();
        this.listView1 = new System.Windows.Forms.ListView();
        this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
        this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
        this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
        this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
        this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
        this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
        this.columnHeader7 = new System.Windows.Forms.ColumnHeader();
        this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
        this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
        this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
        this.menuStrip1.SuspendLayout();
        this.statusStrip1.SuspendLayout();
        this.splitContainer1.Panel1.SuspendLayout();
        this.splitContainer1.Panel2.SuspendLayout();
        this.splitContainer1.SuspendLayout();
        this.tabControl1.SuspendLayout();
        this.tabPage1.SuspendLayout();
        ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
        this.groupBox2.SuspendLayout();
        this.groupBox1.SuspendLayout();
        this.tabPage2.SuspendLayout();
        ((System.ComponentModel.ISupportInitialize)(this.nuAdd)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.nuStart)).BeginInit();
        this.SuspendLayout();
        // 
        // menuStrip1
        // 
        this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
        this.文件ToolStripMenuItem,
        this.更名PToolStripMenuItem,
        this.帮助HToolStripMenuItem});
        this.menuStrip1.Location = new System.Drawing.Point(0, 0);
        this.menuStrip1.Name = "menuStrip1";
        this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
        this.menuStrip1.Size = new System.Drawing.Size(597, 24);
        this.menuStrip1.TabIndex = 0;
        this.menuStrip1.Text = "menuStrip1";
        // 
        // 文件ToolStripMenuItem
        // 
        this.文件ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
        this.添加文件ToolStripMenuItem,
        this.总在最前ToolStripMenuItem,
        this.导出文件列表ToolStripMenuItem,
        this.退出ToolStripMenuItem});
        this.文件ToolStripMenuItem.Name = "文件ToolStripMenuItem";
        this.文件ToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
        this.文件ToolStripMenuItem.Text = "文件(&F)";
        // 
        // 添加文件ToolStripMenuItem
        // 
        this.添加文件ToolStripMenuItem.Image = global::FileBatchChangeName.Properties.Resources.图标__220_;
        this.添加文件ToolStripMenuItem.Name = "添加文件ToolStripMenuItem";
        this.添加文件ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
        this.添加文件ToolStripMenuItem.Text = "添加文件...";
        this.添加文件ToolStripMenuItem.Click += new System.EventHandler(this.添加文件ToolStripMenuItem_Click);
        // 
        // 总在最前ToolStripMenuItem
        // 
        this.总在最前ToolStripMenuItem.Name = "总在最前ToolStripMenuItem";
        this.总在最前ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
        this.总在最前ToolStripMenuItem.Text = "总在最前";
        this.总在最前ToolStripMenuItem.Click += new System.EventHandler(this.总在最前ToolStripMenuItem_Click);
        // 
        // 导出文件列表ToolStripMenuItem
        // 
        this.导出文件列表ToolStripMenuItem.Image = global::FileBatchChangeName.Properties.Resources.图标__166_;
        this.导出文件列表ToolStripMenuItem.Name = "导出文件列表ToolStripMenuItem";
        this.导出文件列表ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
        this.导出文件列表ToolStripMenuItem.Text = "导出文件列表";
        this.导出文件列表ToolStripMenuItem.Click += new System.EventHandler(this.导出文件列表ToolStripMenuItem_Click);
        // 
        // 退出ToolStripMenuItem
        // 
        this.退出ToolStripMenuItem.Image = global::FileBatchChangeName.Properties.Resources.图标__99_;
        this.退出ToolStripMenuItem.Name = "退出ToolStripMenuItem";
        this.退出ToolStripMenuItem.Size = new System.Drawing.Size(142, 22);
        this.退出ToolStripMenuItem.Text = "退出";
        this.退出ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click);
        // 
        // 更名PToolStripMenuItem
        // 
        this.更名PToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
        this.更名ToolStripMenuItem,
        this.繁体转简体ToolStripMenuItem,
        this.简体转繁体ToolStripMenuItem});
        this.更名PToolStripMenuItem.Name = "更名PToolStripMenuItem";
        this.更名PToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
        this.更名PToolStripMenuItem.Text = "更名(&P)";
        // 
        // 更名ToolStripMenuItem
        // 
        this.更名ToolStripMenuItem.Image = global::FileBatchChangeName.Properties.Resources.图标;
        this.更名ToolStripMenuItem.Name = "更名ToolStripMenuItem";
        this.更名ToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
        this.更名ToolStripMenuItem.Text = "应用";
        this.更名ToolStripMenuItem.Click += new System.EventHandler(this.更名ToolStripMenuItem_Click);
        // 
        // 繁体转简体ToolStripMenuItem
        // 
        this.繁体转简体ToolStripMenuItem.Image = global::FileBatchChangeName.Properties.Resources.netspell;
        this.繁体转简体ToolStripMenuItem.Name = "繁体转简体ToolStripMenuItem";
        this.繁体转简体ToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
        this.繁体转简体ToolStripMenuItem.Text = "繁体转简体";
        this.繁体转简体ToolStripMenuItem.Click += new System.EventHandler(this.繁体转简体ToolStripMenuItem_Click);
        // 
        // 简体转繁体ToolStripMenuItem
        // 
        this.简体转繁体ToolStripMenuItem.Image = global::FileBatchChangeName.Properties.Resources.netspell;
        this.简体转繁体ToolStripMenuItem.Name = "简体转繁体ToolStripMenuItem";
        this.简体转繁体ToolStripMenuItem.Size = new System.Drawing.Size(130, 22);
        this.简体转繁体ToolStripMenuItem.Text = "简体转繁体";
        this.简体转繁体ToolStripMenuItem.Click += new System.EventHandler(this.简体转繁体ToolStripMenuItem_Click);
        // 
        // 帮助HToolStripMenuItem
        // 
        this.帮助HToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
        this.关于ToolStripMenuItem});
        this.帮助HToolStripMenuItem.Name = "帮助HToolStripMenuItem";
        this.帮助HToolStripMenuItem.Size = new System.Drawing.Size(59, 20);
        this.帮助HToolStripMenuItem.Text = "帮助(&H)";
        // 
        // 关于ToolStripMenuItem
        // 
        this.关于ToolStripMenuItem.Image = global::FileBatchChangeName.Properties.Resources.图标__179_;
        this.关于ToolStripMenuItem.Name = "关于ToolStripMenuItem";
        this.关于ToolStripMenuItem.Size = new System.Drawing.Size(94, 22);
        this.关于ToolStripMenuItem.Text = "关于";
        this.关于ToolStripMenuItem.Click += new System.EventHandler(this.关于ToolStripMenuItem_Click);
        // 
        // statusStrip1
        // 
        this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
        this.toolStripStatusLabel1,
        this.toolStripStatusLabel2,
        this.tsslSum,
        this.toolStripStatusLabel3,
        this.toolStripProgressBar1,
        this.tsslError});
        this.statusStrip1.Location = new System.Drawing.Point(0, 412);
        this.statusStrip1.Name = "statusStrip1";
        this.statusStrip1.Size = new System.Drawing.Size(597, 22);
        this.statusStrip1.TabIndex = 2;
        this.statusStrip1.Text = "statusStrip1";
        // 
        // toolStripStatusLabel1
        // 
        this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
        this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17);
        // 
        // toolStripStatusLabel2
        // 
        this.toolStripStatusLabel2.Name = "toolStripStatusLabel2";
        this.toolStripStatusLabel2.Size = new System.Drawing.Size(59, 17);
        this.toolStripStatusLabel2.Text = "文件总数:";
        // 
        // tsslSum
        // 
        this.tsslSum.AutoSize = false;
        this.tsslSum.Name = "tsslSum";
        this.tsslSum.Size = new System.Drawing.Size(150, 17);
        this.tsslSum.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
        // 
        // toolStripStatusLabel3
        // 
        this.toolStripStatusLabel3.ForeColor = System.Drawing.Color.Gray;
        this.toolStripStatusLabel3.Name = "toolStripStatusLabel3";
        this.toolStripStatusLabel3.Size = new System.Drawing.Size(11, 17);
        this.toolStripStatusLabel3.Text = "|";
        // 
        // toolStripProgressBar1
        // 
        this.toolStripProgressBar1.Maximum = 10000;
        this.toolStripProgressBar1.Name = "toolStripProgressBar1";
        this.toolStripProgressBar1.Size = new System.Drawing.Size(200, 16);
        // 
        // tsslError
        // 
        this.tsslError.Name = "tsslError";
        this.tsslError.Size = new System.Drawing.Size(0, 17);
        // 
        // splitContainer1
        // 
        this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
        this.splitContainer1.Location = new System.Drawing.Point(0, 24);
        this.splitContainer1.Name = "splitContainer1";
        this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
        // 
        // splitContainer1.Panel1
        // 
        this.splitContainer1.Panel1.Controls.Add(this.tabControl1);
        // 
        // splitContainer1.Panel2
        // 
        this.splitContainer1.Panel2.Controls.Add(this.listView1);
        this.splitContainer1.Size = new System.Drawing.Size(597, 388);
        this.splitContainer1.SplitterDistance = 122;
        this.splitContainer1.SplitterWidth = 1;
        this.splitContainer1.TabIndex = 1;
        // 
        // tabControl1
        // 
        this.tabControl1.Controls.Add(this.tabPage1);
        this.tabControl1.Controls.Add(this.tabPage2);
        this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
        this.tabControl1.Location = new System.Drawing.Point(0, 0);
        this.tabControl1.Name = "tabControl1";
        this.tabControl1.SelectedIndex = 0;
        this.tabControl1.Size = new System.Drawing.Size(597, 122);
        this.tabControl1.TabIndex = 0;
        // 
        // tabPage1
        // 
        this.tabPage1.Controls.Add(this.pictureBox1);
        this.tabPage1.Controls.Add(this.groupBox2);
        this.tabPage1.Controls.Add(this.groupBox1);
        this.tabPage1.Location = new System.Drawing.Point(4, 21);
        this.tabPage1.Name = "tabPage1";
        this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
        this.tabPage1.Size = new System.Drawing.Size(589, 97);
        this.tabPage1.TabIndex = 0;
        this.tabPage1.Text = "基本设置";
        this.tabPage1.UseVisualStyleBackColor = true;
        // 
        // pictureBox1
        // 
        this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
        this.pictureBox1.Image = global::FileBatchChangeName.Properties.Resources.gg;
        this.pictureBox1.Location = new System.Drawing.Point(401, 12);
        this.pictureBox1.Name = "pictureBox1";
        this.pictureBox1.Size = new System.Drawing.Size(182, 79);
        this.pictureBox1.TabIndex = 5;
        this.pictureBox1.TabStop = false;
        // 
        // groupBox2
        // 
        this.groupBox2.Controls.Add(this.radioButton5);
        this.groupBox2.Controls.Add(this.radioButton4);
        this.groupBox2.Location = new System.Drawing.Point(8, 51);
        this.groupBox2.Name = "groupBox2";
        this.groupBox2.Size = new System.Drawing.Size(387, 40);
        this.groupBox2.TabIndex = 1;
        this.groupBox2.TabStop = false;
        this.groupBox2.Text = "扩展名";
        // 
        // radioButton5
        // 
        this.radioButton5.AutoSize = true;
        this.radioButton5.Location = new System.Drawing.Point(124, 18);
        this.radioButton5.Name = "radioButton5";
        this.radioButton5.Size = new System.Drawing.Size(83, 16);
        this.radioButton5.TabIndex = 4;
        this.radioButton5.TabStop = true;
        this.radioButton5.Text = "扩展名小写";
        this.radioButton5.UseVisualStyleBackColor = true;
        this.radioButton5.CheckedChanged += new System.EventHandler(this.radioButton5_CheckedChanged);
        // 
        // radioButton4
        // 
        this.radioButton4.AutoSize = true;
        this.radioButton4.Location = new System.Drawing.Point(6, 18);
        this.radioButton4.Name = "radioButton4";
        this.radioButton4.Size = new System.Drawing.Size(83, 16);
        this.radioButton4.TabIndex = 3;
        this.radioButton4.TabStop = true;
        this.radioButton4.Text = "扩展名大写";
        this.radioButton4.UseVisualStyleBackColor = true;
        this.radioButton4.CheckedChanged += new System.EventHandler(this.radioButton4_CheckedChanged);
        // 
        // groupBox1
        // 
        this.groupBox1.Controls.Add(this.radioButton3);
        this.groupBox1.Controls.Add(this.radioButton2);
        this.groupBox1.Controls.Add(this.radioButton1);
        this.groupBox1.Location = new System.Drawing.Point(8, 6);
        this.groupBox1.Name = "groupBox1";
        this.groupBox1.Size = new System.Drawing.Size(387, 40);
        this.groupBox1.TabIndex = 0;
        this.groupBox1.TabStop = false;
        this.groupBox1.Text = "文件名";
        // 
        // radioButton3
        // 
        this.radioButton3.AutoSize = true;
        this.radioButton3.Location = new System.Drawing.Point(244, 16);
        this.radioButton3.Name = "radioButton3";
        this.radioButton3.Size = new System.Drawing.Size(107, 16);
        this.radioButton3.TabIndex = 2;
        this.radioButton3.TabStop = true;
        this.radioButton3.Text = "第一个字母大写";
        this.radioButton3.UseVisualStyleBackColor = true;
        this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
        // 
        // radioButton2
        // 
        this.radioButton2.AutoSize = true;
        this.radioButton2.Location = new System.Drawing.Point(124, 16);
        this.radioButton2.Name = "radioButton2";
        this.radioButton2.Size = new System.Drawing.Size(83, 16);
        this.radioButton2.TabIndex = 1;
        this.radioButton2.TabStop = true;
        this.radioButton2.Text = "文件名小写";
        this.radioButton2.UseVisualStyleBackColor = true;
        this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
        // 
        // radioButton1
        // 
        this.radioButton1.AutoSize = true;
        this.radioButton1.Location = new System.Drawing.Point(6, 16);
        this.radioButton1.Name = "radioButton1";
        this.radioButton1.Size = new System.Drawing.Size(83, 16);
        this.radioButton1.TabIndex = 0;
        this.radioButton1.TabStop = true;
        this.radioButton1.Text = "文件名大写";
        this.radioButton1.UseVisualStyleBackColor = true;
        this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
        // 
        // tabPage2
        // 
        this.tabPage2.Controls.Add(this.txtTemplate);
        this.tabPage2.Controls.Add(this.label5);
        this.tabPage2.Controls.Add(this.nuAdd);
        this.tabPage2.Controls.Add(this.label4);
        this.tabPage2.Controls.Add(this.nuStart);
        this.tabPage2.Controls.Add(this.label3);
        this.tabPage2.Controls.Add(this.comboBox2);
        this.tabPage2.Controls.Add(this.label2);
        this.tabPage2.Location = new System.Drawing.Point(4, 21);
        this.tabPage2.Name = "tabPage2";
        this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
        this.tabPage2.Size = new System.Drawing.Size(589, 97);
        this.tabPage2.TabIndex = 1;
        this.tabPage2.Text = "序号设置";
        this.tabPage2.UseVisualStyleBackColor = true;
        // 
        // txtTemplate
        // 
        this.txtTemplate.Location = new System.Drawing.Point(318, 25);
        this.txtTemplate.Name = "txtTemplate";
        this.txtTemplate.Size = new System.Drawing.Size(190, 21);
        this.txtTemplate.TabIndex = 7;
        this.txtTemplate.TextChanged += new System.EventHandler(this.txtTemplate_TextChanged);
        // 
        // label5
        // 
        this.label5.AutoSize = true;
        this.label5.Location = new System.Drawing.Point(283, 31);
        this.label5.Name = "label5";
        this.label5.Size = new System.Drawing.Size(29, 12);
        this.label5.TabIndex = 6;
        this.label5.Text = "模板";
        // 
        // nuAdd
        // 
        this.nuAdd.Location = new System.Drawing.Point(217, 60);
        this.nuAdd.Minimum = new decimal(new int[] {
        1,
        0,
        0,
        0});
        this.nuAdd.Name = "nuAdd";
        this.nuAdd.Size = new System.Drawing.Size(56, 21);
        this.nuAdd.TabIndex = 5;
        this.nuAdd.Value = new decimal(new int[] {
        1,
        0,
        0,
        0});
        this.nuAdd.ValueChanged += new System.EventHandler(this.nuAdd_ValueChanged);
        // 
        // label4
        // 
        this.label4.AutoSize = true;
        this.label4.Location = new System.Drawing.Point(161, 64);
        this.label4.Name = "label4";
        this.label4.Size = new System.Drawing.Size(41, 12);
        this.label4.TabIndex = 4;
        this.label4.Text = "增量值";
        // 
        // nuStart
        // 
        this.nuStart.Location = new System.Drawing.Point(80, 60);
        this.nuStart.Name = "nuStart";
        this.nuStart.Size = new System.Drawing.Size(56, 21);
        this.nuStart.TabIndex = 3;
        this.nuStart.ValueChanged += new System.EventHandler(this.nuStart_ValueChanged);
        // 
        // label3
        // 
        this.label3.AutoSize = true;
        this.label3.Location = new System.Drawing.Point(21, 64);
        this.label3.Name = "label3";
        this.label3.Size = new System.Drawing.Size(53, 12);
        this.label3.TabIndex = 2;
        this.label3.Text = "起始数字";
        // 
        // comboBox2
        // 
        this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
        this.comboBox2.FormattingEnabled = true;
        this.comboBox2.Items.AddRange(new object[] {
        "pic_#",
        "file_#"});
        this.comboBox2.Location = new System.Drawing.Point(100, 25);
        this.comboBox2.Name = "comboBox2";
        this.comboBox2.Size = new System.Drawing.Size(173, 20);
        this.comboBox2.TabIndex = 1;
        this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
        // 
        // label2
        // 
        this.label2.AutoSize = true;
        this.label2.Location = new System.Drawing.Point(21, 28);
        this.label2.Name = "label2";
        this.label2.Size = new System.Drawing.Size(77, 12);
        this.label2.TabIndex = 0;
        this.label2.Text = "选择预设模板";
        // 
        // listView1
        // 
        this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
        this.columnHeader1,
        this.columnHeader2,
        this.columnHeader3,
        this.columnHeader4,
        this.columnHeader5,
        this.columnHeader6,
        this.columnHeader7});
        this.listView1.Dock = System.Windows.Forms.DockStyle.Fill;
        this.listView1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
        this.listView1.FullRowSelect = true;
        this.listView1.Location = new System.Drawing.Point(0, 0);
        this.listView1.MultiSelect = false;
        this.listView1.Name = "listView1";
        this.listView1.Size = new System.Drawing.Size(597, 265);
        this.listView1.TabIndex = 0;
        this.listView1.UseCompatibleStateImageBehavior = false;
        this.listView1.View = System.Windows.Forms.View.Details;
        // 
        // columnHeader1
        // 
        this.columnHeader1.Text = "文件名";
        this.columnHeader1.Width = 100;
        // 
        // columnHeader2
        // 
        this.columnHeader2.Text = "预览";
        this.columnHeader2.Width = 100;
        // 
        // columnHeader3
        // 
        this.columnHeader3.Text = "扩展名";
        // 
        // columnHeader4
        // 
        this.columnHeader4.Text = "日期";
        this.columnHeader4.Width = 90;
        // 
        // columnHeader5
        // 
        this.columnHeader5.Text = "路径";
        this.columnHeader5.Width = 80;
        // 
        // columnHeader6
        // 
        this.columnHeader6.Text = "大小";
        this.columnHeader6.Width = 83;
        // 
        // columnHeader7
        // 
        this.columnHeader7.Text = "结果";
        this.columnHeader7.Width = 80;
        // 
        // notifyIcon1
        // 
        this.notifyIcon1.Text = "notifyIcon1";
        this.notifyIcon1.Visible = true;
        // 
        // openFileDialog1
        // 
        this.openFileDialog1.Multiselect = true;
        // 
        // saveFileDialog1
        // 
        this.saveFileDialog1.Filter = "文本文档(*.txt)|*.txt";
        // 
        // Form1
        // 
        this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
        this.ClientSize = new System.Drawing.Size(597, 434);
        this.Controls.Add(this.splitContainer1);
        this.Controls.Add(this.statusStrip1);
        this.Controls.Add(this.menuStrip1);
        this.DoubleBuffered = true;
        this.MainMenuStrip = this.menuStrip1;
        this.MaximizeBox = false;
        this.Name = "Form1";
        this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
        this.Text = "批量更名器";
        this.Load += new System.EventHandler(this.Form1_Load);
        this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
        this.menuStrip1.ResumeLayout(false);
        this.menuStrip1.PerformLayout();
        this.statusStrip1.ResumeLayout(false);
        this.statusStrip1.PerformLayout();
        this.splitContainer1.Panel1.ResumeLayout(false);
        this.splitContainer1.Panel2.ResumeLayout(false);
        this.splitContainer1.ResumeLayout(false);
        this.tabControl1.ResumeLayout(false);
        this.tabPage1.ResumeLayout(false);
        ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
        this.groupBox2.ResumeLayout(false);
        this.groupBox2.PerformLayout();
        this.groupBox1.ResumeLayout(false);
        this.groupBox1.PerformLayout();
        this.tabPage2.ResumeLayout(false);
        this.tabPage2.PerformLayout();
        ((System.ComponentModel.ISupportInitialize)(this.nuAdd)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.nuStart)).EndInit();
        this.ResumeLayout(false);
        this.PerformLayout();

    }

    #endregion

    private System.Windows.Forms.MenuStrip menuStrip1;
    private System.Windows.Forms.ToolStripMenuItem 文件ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 添加文件ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 总在最前ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 更名PToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 帮助HToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 导出文件列表ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 退出ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 更名ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 繁体转简体ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 简体转繁体ToolStripMenuItem;
    private System.Windows.Forms.ToolStripMenuItem 关于ToolStripMenuItem;
    private System.Windows.Forms.StatusStrip statusStrip1;
    private System.Windows.Forms.SplitContainer splitContainer1;
    private System.Windows.Forms.TabControl tabControl1;
    private System.Windows.Forms.TabPage tabPage1;
    private System.Windows.Forms.TabPage tabPage2;
    private System.Windows.Forms.ListView listView1;
    private System.Windows.Forms.GroupBox groupBox2;
    private System.Windows.Forms.GroupBox groupBox1;
    private System.Windows.Forms.RadioButton radioButton2;
    private System.Windows.Forms.RadioButton radioButton1;
    private System.Windows.Forms.RadioButton radioButton3;
    private System.Windows.Forms.RadioButton radioButton5;
    private System.Windows.Forms.RadioButton radioButton4;
    private System.Windows.Forms.ColumnHeader columnHeader1;
    private System.Windows.Forms.ColumnHeader columnHeader2;
    private System.Windows.Forms.ColumnHeader columnHeader3;
    private System.Windows.Forms.ColumnHeader columnHeader4;
    private System.Windows.Forms.ColumnHeader columnHeader5;
    private System.Windows.Forms.ColumnHeader columnHeader6;
    private System.Windows.Forms.ColumnHeader columnHeader7;
    private System.Windows.Forms.PictureBox pictureBox1;
    private System.Windows.Forms.ComboBox comboBox2;
    private System.Windows.Forms.Label label2;
    private System.Windows.Forms.NumericUpDown nuAdd;
    private System.Windows.Forms.Label label4;
    private System.Windows.Forms.NumericUpDown nuStart;
    private System.Windows.Forms.Label label3;
    private System.Windows.Forms.NotifyIcon notifyIcon1;
    private System.Windows.Forms.TextBox txtTemplate;
    private System.Windows.Forms.Label label5;
    private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
    private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel2;
    private System.Windows.Forms.ToolStripStatusLabel tsslSum;
    private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel3;
    private System.Windows.Forms.ToolStripProgressBar toolStripProgressBar1;
    private System.Windows.Forms.ToolStripStatusLabel tsslError;
    private System.Windows.Forms.OpenFileDialog openFileDialog1;
    private System.Windows.Forms.SaveFileDialog saveFileDialog1;

}

需要的再直接Call我,直接发。

👉其他

📢作者:小空和小芝中的小空
📢转载说明-务必注明来源:https://zhima.blog.csdn.net/
📢这位道友请留步☁️,我观你气度不凡,谈吐间隐隐有王者霸气💚,日后定有一番大作为📝!!!旁边有点赞👍收藏🌟今日传你,点了吧,未来你成功☀️,我分文不取,若不成功⚡️,也好回来找我。

温馨提示点击下方卡片获取更多意想不到的资源。
空名先生

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/111446.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

DeepLearning_Note

这里写目录标题深度学习框架深度学习开发万能公式模型的网络设计和开发&#xff1a;激活函数&#xff1a;几个数据参数&#xff1a;神经网络的输出零碎知识点&#xff1a;深度学习框架 深度学习开发万能公式 ① 问题定义 ② Paddle.vision.datasets&#xff08;内置数据集&am…

【ROS参数服务器】

参数服务器是以共享方式实现不同节点间数据交互的通信方式。主要用于存储多节点共享的数据&#xff0c;类似于全局变量。ROS中的参数服务器主要包含三个角色&#xff0c;分别是ROS Master(节点管理者)、Talker(参数设置者)、Listener(参数使用者)&#xff0c;其中Talker和Liste…

创新京东T7开创“新算法宝典”,图文并茂,全新演绎,太酷了

导言 算法是一门学问&#xff0c;但却总遭到一些程序员的冷落。现在的开发人员&#xff0c;更热衷于编程语言的修炼&#xff0c;以应付面试需求时的需要&#xff0c;所以对算法的学习&#xff0c;稍许忽略了些。实际上&#xff0c;近些年来&#xff0c;各互联网公司对于算法的…

【知识梳理】前端路由的两种模式

一、概述 这是几年前写的的一篇文章&#xff0c;发在了简书上面&#xff0c;现在看来仍然有一些不足&#xff0c;所以再次整理一下发在掘金。 二、什么是单页面应用&#xff08;SPA&#xff09;&#xff1f; 首先我们需要了解一下前置的基础知识————SPA&#xff08;单页面…

S3 #DooTrader 经典组冠军以良好盘感,创下近 900% 收益率摘得桂冠

本届 S3 #DooTrader 慈善杯全球交易大赛现已经进入白热化阶段&#xff0c;第二轮赛事冲刺在即&#xff0c;各位选手摩拳擦掌争取赢得最终的丰厚奖金。目前&#xff0c;领先的选手调整策略和仓位&#xff0c;以保持排位优势。我们看到现阶段经典组 TOP 1 选手已经创造了 1,300% …

WMS类图分析-android12

为什么要分析类图&#xff1f; WMS是一个复杂的模块&#xff0c;就像一个很大的家族&#xff0c;里面有各种角色&#xff0c;认识类图就像是认识WMS模块中的各个角色&#xff0c;不先把人认清楚了&#xff0c;怎么更好的理解他们之间的交互&#xff1f; 我觉得&#xff0c;这…

vue+antd搭建后台管理界面模版(PC端),适配中文、英文、日文 mock数据,开箱即用

vueantd搭建后台管理界面模版&#xff08;PC端&#xff09; 完整代码下载地址&#xff1a;vueantd搭建后台管理界面模版&#xff08;PC端&#xff09; 技术栈 vue2 vuex vue-router webpack ES6/7 axios antd 阿里图标iconfont 项目预览 http://nmgwap.gitee.io/vue…

【软件工程】实验4:校园二手物品交易过程的UI设计

文章目录校园二手物品交易过程的UI设计通过“用户画像”对用户群体进行分析校园二手物品交易过程UI设计&#xff08;Figma&#xff09;校园二手物品交易过程的UI设计 通过“用户画像”对用户群体进行分析 大学校园交易市场特点&#xff1a; 容量大。随着我国高等教育近年来的连…

Kubernetes部署_使用kubernetes部署Mysql主从结构(Kubernetes工作实践类)

文章目录一、前言二、实际操作步骤1&#xff1a;编写namespace脚本步骤2&#xff1a;编写configmap脚本步骤3&#xff1a;编写secret脚本(用来存放mysql密码)步骤4&#xff1a;编写initContainer脚本步骤5&#xff1a;编写StorageClass相关脚本1&#xff09;权限设置&#xff1…

干货分享 | To B业务的用户运营五要点

随着产业互联网格局的逐渐深化&#xff0c;近年来&#xff0c;To B业务逐渐被互联网改变和赋能。为了更高效地获客和服务&#xff0c;更多的运营手段逐渐被运用在To B业务之中&#xff0c;而To B运营也变得越来越重要。 作为一家To B企业&#xff0c;AdBright常常收到网友的提问…

YOLOV3论文学习

YOLOv3论文链接&#xff1a;https://pjreddie.com/media/files/papers/YOLOv3.pdf 综述 一、摘要 1、320*320的YOLOv3推理时间22ms&#xff0c;准确率28.2mAP&#xff0c;达到了SSD的精确度&#xff0c;推理速度却快了三倍。 2、基于.5mAp Iou 的YOLOv3的检测效果还比较不错&a…

Python使用Pandas导入数据库sql

Python使用Pandas导入数据库sql一、前言二、准备工作三、从数据库导入数据到Pandas一、前言 对于关系数据库的访问&#xff0c;Python社区已经制定出一个标准&#xff0c;称为Python Database API Specification。Mysql&#xff0c;Oracal等特定数据库模块都遵从这一规范&…

QT 学习笔记(十一)

文章目录一、绘图设备1. QPixmap1.1 QPixmap 简介1.2 QPixmap 演示2. QBitmap2.1 QBitmap 简介2.2 QBitmap 演示见 QPixmap 和 QBitmap 的区别。3. QImage3.1 QImage 简介3.2 QImage 演示4. QPicture4.1 QPicture 简介4.2 QPicture 演示二、QPixmap 和 QBitmap 的区别1. widget…

Python正在消亡?致命弱点是否会让Python被新语言取代?

被业界称为“瑞士军刀”的编程语言&#xff0c;可能会被更适合该任务的其他语言取代吗&#xff1f; 自从1990年代初Python发布以来&#xff0c;它引起了很多热议。当然&#xff0c;编程社区花了至少20年的时间才逐渐注意到它的存在&#xff0c;而当它一旦开始流行起来&#xf…

Web入门开发【一】- Web开发介绍

欢迎来到霍大侠的小院&#xff0c;我们来学习Web入门开发的系列课程。 首先我们来了解下这个课程能学到什么&#xff1f; 1、你将可以掌握Web网站的开发全过程。 2、了解基础的HTML&#xff0c;CSS&#xff0c;JavaScript语言。 3、开发自己的第一个网站。 4、认识很多对编…

UML类关系

1、聚合关系&#xff08;aggregation&#xff09; 用空心菱形箭头表示&#xff0c;整体和部分有各自的生命周期。部分可以属于多个整体对象! class Student; class Class { private: Student s; public: void set_student(Student s) { this.s s; } }; student() { print(“c…

电脑商城网站

开发工具(eclipse/idea/vscode等)&#xff1a; 数据库(sqlite/mysql/sqlserver等)&#xff1a; 功能模块(请用文字描述&#xff0c;至少200字)&#xff1a; 作为一个网上商城系统&#xff0c;就应该做到能提供强大的业务支持功能&#xff0c;系统能实现用户的注册功能、登录 功…

整理各种Vue项目在IE浏览器白屏报错 SCRIPT1002:语法错误

目录 一、关于 sockjs-client 依赖包 二、关于 highlight 依赖包 三、关于 swiper 依赖包 四、IE 不支持 ES6 语法 五、第三方插件引入导致 六、本地环境正常&#xff0c;生产环境仍旧白屏 这篇文章主要介绍了 Vue 项目在 IE 浏览器显示白屏并报错 SCRIPT1002: 语法错误 …

【数字信号处理】卷积和乘法系列3之傅里叶变换对III

“傅里叶”家族 引言 虽然你知道傅里叶级数和变换,但看看它们之间的关系是很有趣的。本节的目的是展示各种基于傅立叶的变换如何相互关联。 要做到这一点,有必要认识到存在一个具有四个成员的傅里叶“家族”,如图 30 所示。有四个是因为除了具有系列与变换选项(行)外,…

转行的35岁程序员们

“大龄程序员去哪儿了”&#xff0c;10月24日程序员节当天&#xff0c;这成为了社交媒体上最火的话题之一。根据澎湃新闻统计&#xff0c;在知乎、豆瓣上关于“大龄程序员”的369个有效提问里&#xff0c;大龄程序员的职场成长问题最受关注&#xff0c;一共有242个&#xff0c;…