예제 #1
0
 private void chkCustomize_CheckedChanged(object sender, EventArgs e)
 {
     if (chkCustomize.Checked == false)
     {
         m_CustomizeDialog.CloseDialog();
     }
     else
     {
         m_CustomizeDialog.StartDialog(axToolbarControl1.hWnd);
     }
 }
예제 #2
0
 private void toolbarCustomizeToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
 {
     if (toolbarCustomizeToolStripMenuItem.Checked == false)
     {
         mCustomizeDialog.CloseDialog();
     }
     else
     {
         mCustomizeDialog.StartDialog(axToolbarControl1.hWnd);
     }
 }
 private void chkCustomization_Click(object sender, System.EventArgs e)
 {
     //Show or hide the customize dialog
     if (chkCustomization.Checked == false)
     {
         m_CustomizeDialog.CloseDialog();
     }
     else
     {
         m_CustomizeDialog.StartDialog(axMapControl1.hWnd);
     }
 }
예제 #4
0
 private void customizeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     customizeToolStripMenuItem.Checked = !customizeToolStripMenuItem.Checked;
     //Show or hide the customize dialog
     if (customizeToolStripMenuItem.Checked == false)
     {
         m_CustomizeDialog.CloseDialog();
     }
     else
     {
         m_CustomizeDialog.StartDialog(axToolbarControl1.hWnd);
     }
 }