⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.cs

📁 音像资料管理系统光盘制作控件源代码音像资料管理系统光盘制作控件源代码
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Net;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using IsoFtp;
using System.Xml;
using System.IO;
namespace FormClass
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void Form1_Load(object sender, EventArgs e)
        {


        }


 
        private void button12_Click(object sender, EventArgs e)
        {
            f.DestFilestore = @"ftp://192.168.0.186/";
            f.ResourceFileName = @"C:\aa.iso";
            // 操作模式 0- 单个 1 - 批量制作ISO上传 2-只批量制作ISO 3-只上传
            f.CdRomNum = "F:";
            f.OpterationModel = 0;
            f.ShowDialog();
 

        }
        private void btShow_Click(object sender, EventArgs e)
        { 
            

           //  s.DestFilestore = @"\\server\公共目录\杨航\";
            s.DestFilestore = @"ftp://ftpuser:1@192.168.0.41:21//txtFile/";
           //  s.DestFilestore = @"ftp://anonymous:@192.168.0.130:21//Debug/";
           //  s.DestFilestore = @"ftp://192.-168.0.186/";
           //  s.ResourceFileName = @"C:\Documents and Settings\hanghang\桌面\360软件管理.iso";
            s.ResourceFileName = @"C:\aa.iso";
            // 操作模式 0- 单个 1 - 批量制作ISO上传 2-只批量制作ISO 3-只上传
            //s.CdRomNum = "F:";
            //s.OpterationModel =Convert.ToInt32(this.textBox1.Text);
            s.ShowDialog();  
    
        }

        FTPForm s = new FTPForm();
        FormMain f = new FormMain();
        private void button4_Click(object sender, EventArgs e)
        {
            MessageBox.Show(s.Filesize.ToString());
        }



     
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -