Esempio n. 1
0
        public override void Unload()
        {
            if (m_form != null)
            {
                m_form.Dispose();
                m_form = null;
            }

            ParentApplication.ToolsMenu.MenuItems.Remove(m_menuItem);

            base.Unload();
        }
Esempio n. 2
0
 void m_menuItem_Click(object sender, EventArgs e)
 {
     m_menuItem.Checked = !m_menuItem.Checked;
     if (m_form != null)
     {
         m_form.Visible = m_menuItem.Checked;
     }
     else
     {
         m_form         = new MainPaltform();
         m_form.Visible = m_menuItem.Checked;
     }
 }
Esempio n. 3
0
        public override void Load()
        {
            m_menuItem        = new System.Windows.Forms.MenuItem("3DDataVisualization");
            m_menuItem.Click += new EventHandler(m_menuItem_Click);
            ParentApplication.ToolsMenu.MenuItems.Add(m_menuItem);

            m_form            = new MainPaltform();
            m_form.ClientSize = new System.Drawing.Size(800, 600);
            m_form.Location   = new System.Drawing.Point(0, 400);



            base.Load();
        }
Esempio n. 4
0
 void m_menuItem_Click(object sender, EventArgs e)
 {
     m_menuItem.Checked = !m_menuItem.Checked;
     if (m_form != null)
     {
         m_form.Visible = m_menuItem.Checked;
     }
     else
     {
         m_form = new MainPaltform();
         m_form.Visible = m_menuItem.Checked;
     }
 }
Esempio n. 5
0
        public override void Unload()
        {
            if (m_form != null)
            {
                m_form.Dispose();
                m_form = null;
            }

            ParentApplication.ToolsMenu.MenuItems.Remove(m_menuItem);

            base.Unload();
        }
Esempio n. 6
0
        public override void Load()
        {
            m_menuItem = new System.Windows.Forms.MenuItem("3DDataVisualization");
            m_menuItem.Click += new EventHandler(m_menuItem_Click);
            ParentApplication.ToolsMenu.MenuItems.Add(m_menuItem);

            m_form = new MainPaltform();
            m_form.ClientSize = new System.Drawing.Size(800, 600);
            m_form.Location = new System.Drawing.Point(0, 400);



            base.Load();
        }