Ejemplo n.º 1
0
        private void cmdUpload_Click(object sender, EventArgs e)
        {
            if (!m_bQuyenCapNhat)
            {
                BaseMessages.ShowNoRolesMessage();
                return;
            }
            //if (m_sFileIdentity == "0" || !m_bQuyenCapNhat) return;
            frmUploadFile frm = new frmUploadFile((FTP_FilesManager.FTP_PhanMem)m_phanmem,
                                                  (FTP_FilesManager.FTP_FileType_Group)m_iFileType_Group,
                                                  (FTP_FilesManager.FTP_FileType)m_iFileType,
                                                  m_sFileIdentity);

            frm.sFilter       = m_sFilterEdit_FileType == "" ? m_sFilterView_FileType : m_sFilterEdit_FileType;
            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ShowDialog();
            if (frm.IsUpload)
            {
                Load_fg();
            }
        }