コード例 #1
0
 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;
            }
        }
コード例 #3
0
        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);
            }
        }