示例#1
0
文件: Form2.cs 项目: zhhongsh/iSBET
        public BackupReport(RoadwareSBET.Domain.frmSBETDialog sda)
        {
            // InitializeComponent();
            // stats.Text = "Enter folders";
            //stats.Update();

            //string lcl = sda.txtBxLocalFolder.Text;
            //if (string.IsNullOrEmpty(lcl))
            //{
            //textBox1.Text = string.Empty;
            //  textBox2.Text = string.Empty;
            //}
            //else
            //{
            // textBox1.Text = lcl;
            //  textBox2.Text = lcl + "\\Reports";
            //}
            sa = sda;
            var cond = MessageBox.Show("WARNING: The following action will delete data folder(vrms,sbet etc) and PCs folder and Batch folder. Make sure you have done QC and done Uploading to AWS before continuing!", "Warning", MessageBoxButtons.YesNo);

            if (cond == DialogResult.No)
            {
                return;
            }
            a();
        }
示例#2
0
 public SBETQC(RoadwareSBET.Domain.frmSBETDialog frm)
 {
     //InitializeComponent();
     //stat.Text = "Enter Posdata path";
     //stat.Update();
     og = frm;
     a();
     //textBox1.Text = og.txtBxLocalFolder.Text;
 }