public AudioCue(Cue cue)
 {
     _workspaceID = cue._workspaceID;
     _uniqueID = cue._uniqueID;
     _number = cue._number;
     _name = cue._name;
     _type = cue._type;
     _colorName = cue._colorName;
     _flagged = cue._flagged;
     _armed = cue._armed;
 }
示例#2
0
        public frm_Cue(Cue holdingCue)
        {
            cue = holdingCue;

            InitializeComponent();

            if (cue != null)
            {
                lbl_CueName.Text = "Cue Name: " + cue.name;
                lbl_CueNumber.Text = "Cue Number: " + cue.number;
                lbl_CueType.Text = "Cue Type: " + cue.type;
            }
        }
        private void PopulateWorkspaces(Cue parentCue, TreeNode parentNode)
        {
            foreach (Cue cue in parentCue.cues)
            {
                TreeNode cueNode = new TreeNode(cue.name + " (" + cue.type + ")");
                cueNode.Name = cue.uniqueID;
                parentNode.Nodes.Add(cueNode);

                PopulateWorkspaces(cue, cueNode);
            }
        }