private void chkCustomize_CheckedChanged(object sender, EventArgs e) { if (chkCustomize.Checked == false) { m_CustomizeDialog.CloseDialog(); } else { m_CustomizeDialog.StartDialog(axToolbarControl1.hWnd); } }
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); } }
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); } }