Beispiel #1
0
 public Sign(string signName, HandShapes signClass, string imgLocation, string vidLocation, EngineModel signModel)
 {
     SignName = signName;
     SignClass = signClass;
     ImgLocation = imgLocation;
     VidLocation = vidLocation;
     SignModel = signModel;
 }
        private string videoURL; // video location of the new sign

        #endregion Fields

        #region Constructors

        public NewSignFinish(Sign s, List<Sequence> examples)
        {
            this.InitializeComponent();
            this.Cursor = Cursors.None;
            this.name = s.SignName;
            this.pictureURL = s.ImgLocation;
            this.signClass = s.SignClass;
            this.videoURL = s.VidLocation;
            this.examples = examples;
            this.s = s;
            processingCounter = 0;
        }
        public SignSelectionListView(HandShapes hs)
        {
            this.InitializeComponent();

            // Gets all the signs from a given 'hand shape' directory
            if (Directory.Exists(Directory.GetCurrentDirectory() + "\\" + hs))
            {
                foreach (
                    var s in
                        Directory.GetFiles(Directory.GetCurrentDirectory() + "\\" + hs, "*.sign",
                                           SearchOption.AllDirectories))
                {
                    listBoxSign.Items.Add(new SignFile(s));
                }
            }
        }
Beispiel #4
0
 public RoundResultDisplay(PerformerRounds PerformerRounds)
 {
     OptionUser     = PerformerRounds.OptionSelectedByUser;
     OptionComputer = PerformerRounds.OptionDrawnByComputer;
 }