Inheritance: System.Windows.Forms.Form
Exemple #1
0
        //***************
        // Tool Windows *
        //***************

        private void newScreenStripMenuItem_Click(object sender, EventArgs e)
        {
            if (ActiveStage != null)
            {
                ScreenProp.CreateScreen(ActiveStage);
            }
        }
        private void buttonNewScreen_Click(object sender, EventArgs e)
        {
            if (projectView.SelectedNode != null)
            {
                var node = projectView.SelectedNode;
                var tag  = node.Tag as StageNodeHandler;
                while (tag == null && node.Parent != null)
                {
                    node = node.Parent;
                    tag  = node.Tag as StageNodeHandler;
                }

                if (tag != null && tag.Stage != null)
                {
                    ScreenProp.CreateScreen(tag.Stage);
                }
            }
        }
Exemple #3
0
 public override void Properties()
 {
     ScreenProp.EditScreen(screen);
 }