Inheritance: ESRI.ArcGIS.Desktop.AddIns.Tool
		private void Splitter_Panel1_Click(object sender, EventArgs e)
		{
			if (m_digitCommand == null)
				m_digitCommand = CurrentDigitTool.CurrentTool.currentDigit;

			if (m_digitCommand != null)
				m_digitCommand.EndFeedBack();

			m_createNode = true;

			if (m_curPanel != Splitter.Panel1 || m_clickPanel == false)
			{
				m_clickPanel = true;
				m_curPanel = Splitter.Panel1;

				foreach (System.Windows.Forms.Control ctrl in Splitter.Panel2.Controls)
					ctrl.Enabled = false;

				foreach (System.Windows.Forms.Control ctrl in Splitter.Panel1.Controls)
					ctrl.Enabled = true;

				lblMode.Text = "Create Node";

				if (m_curPanel == Splitter.Panel1)
				{
					btnOKPanel1.Visible = false;
					ErrorProvider1.SetError(btnOKPanel1, "");
				}
				else
				{
					btnOKPanel2.Visible = false;
					ErrorProvider1.SetError(btnOKPanel2, "");
				}
				System.EventArgs e2 = new System.EventArgs();
				cboType_SelectedIndexChanged(sender, e2);
			}
		}
		private void WindowVisibleChange(object sender, EventArgs e)
		{

			if (m_digitCommand == null)
				m_digitCommand = CurrentDigitTool.CurrentTool.currentDigit;

			if (m_digitCommand == null)
				return;

			if ((this.Visible) && !CurrentDigitTool.CurrentTool.currentDockableWindow.IsVisible())
			{
				if (!(m_digitCommand.FromDeactivate()))
				{
					m_digitCommand.DeactivatedFromDock(true);

					ESRI.ArcGIS.Framework.IApplication app = (ESRI.ArcGIS.Framework.IApplication)this.Hook;
					app.CurrentTool = null;
				}
			}
			m_digitCommand.EndFeedBack();
			m_digitCommand.FromDeactivate(false);
		}
		private void Splitter_Panel2_Click(object sender, EventArgs e)
		{
			if (m_digitCommand == null)
				m_digitCommand = CurrentDigitTool.CurrentTool.currentDigit;

			if (m_digitCommand == null)
				return;

			m_createNode = false;

			if (m_curPanel != Splitter.Panel2)
			{

				m_curPanel = Splitter.Panel2;
				foreach (System.Windows.Forms.Control ctrl in Splitter.Panel1.Controls)
					ctrl.Enabled = false;

				foreach (System.Windows.Forms.Control ctrl in Splitter.Panel2.Controls)
					ctrl.Enabled = true;

				lblMode.Text = "Create Link";

				if (m_schematicFeature1 != null)
				{
					m_schematicFeature1 = null;
					m_digitCommand.SchematicFeature1(m_schematicFeature1);
				}

				if (m_schematicFeature2 != null)
				{
					m_schematicFeature2 = null;
					m_digitCommand.SchematicFeature2(m_schematicFeature2);
				}

				if (m_curPanel == Splitter.Panel1)
				{
					btnOKPanel1.Visible = false;
					ErrorProvider1.SetError(btnOKPanel1, "");
				}
				else
				{
					btnOKPanel2.Visible = false;
					ErrorProvider1.SetError(btnOKPanel2, "");
				}

				System.EventArgs e2 = new System.EventArgs();
				cboLinkType_SelectedIndexChanged(sender, e2);

			}

		}