Ejemplo n.º 1
0
        private void ExportForm_Load(object sender, EventArgs e)
        {
            if (Global.IS_WOLFCOM)
            {
                this.btnClose.VIBlendTheme       = VIBLEND_THEME.NERO;
                this.HeaderPanel.BackgroundImage = Properties.Resources.topbar45;
            }
            LangCtrl.reText(this);
            Global.DeviceDetection_Callback(false);
            if (string.IsNullOrEmpty(this.FolderPath))
            {
                this.timer1.Enabled = true;
                this.timer1.Start();
                return;
            }
            ZipDlg zipDlg = new ZipDlg()
            {
                FilePath = this.FolderPath
            };

            if (zipDlg.ShowDialog(this) != DialogResult.OK)
            {
                base.Close();
                return;
            }
            this.EFD.IsPwd      = zipDlg.IsPwd;
            this.EFD.IsZipFile  = zipDlg.IsZipFile;
            this.EFD.ZipName    = zipDlg.ZipName;
            this.EFD.ZipPwd     = zipDlg.ZipPwd;
            this.timer1.Enabled = true;
            this.timer1.Start();
        }
Ejemplo n.º 2
0
 private void HeaderMouseDown(MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         ZipDlg.ReleaseCapture();
         ZipDlg.SendMessage(base.Handle, 161, 2, 0);
     }
 }