ActivateMap() public method

Activate the MapControl and deactivate the PagleLayoutControl
public ActivateMap ( ) : void
return void
 /// <summary>
 /// SelectedIndexChanged event handler
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void tabControl1_SelectedIndexChanged(object sender, System.EventArgs e)
 {
     if (tabControl1.SelectedIndex == 0) //map view
     {
         //activate the MapControl and deactivate the PageLayoutControl
         m_controlsSynchronizer.ActivateMap();
     }
     else //layout view
     {
         //activate the PageLayoutControl and deactivate the MapControl
         m_controlsSynchronizer.ActivatePageLayout();
     }
 }