Ejemplo n.º 1
0
 private void btnModifyVersion_Click(object sender, EventArgs e)
 {
     if (m_pWorkspace != null)
     {
         if (m_pWorkspace.Type == esriWorkspaceType.esriRemoteDatabaseWorkspace)
         {
             if (m_pWorkspace is IVersionedWorkspace)
             {
                 m_pVersionedWorkspace = m_pWorkspace as IVersionedWorkspace;
             }
         }
     }
     //打开版本修改界面
     if (m_pVersionedWorkspace != null)
     {
         frmChangeVersion frmChangeVersion1 = new frmChangeVersion(m_pVersionedWorkspace);
         frmChangeVersion1.Show();
     }
 }
Ejemplo n.º 2
0
 private void btnModifyVersion_Click(object sender, EventArgs e)
 {
     if (m_pWorkspace != null)
     {
         if (m_pWorkspace.Type == esriWorkspaceType.esriRemoteDatabaseWorkspace)
         {
             if (m_pWorkspace is IVersionedWorkspace)
             {
                 m_pVersionedWorkspace = m_pWorkspace as IVersionedWorkspace;
             }
         }
     }
     //�򿪰汾�޸Ľ���
     if (m_pVersionedWorkspace != null)
     {
         frmChangeVersion frmChangeVersion1 = new frmChangeVersion(m_pVersionedWorkspace);
         frmChangeVersion1.Show();
     }
 }