예제 #1
0
 public WFAdvanceStatesGeneration(WFEditGestures wFEditGestures, EditRecordedForm myErf)
 {
     this.wFEditGestures         = wFEditGestures;
     this.wFEditGestures.Enabled = false;
     this.myErf = myErf;
     bodyParts  = new List <String>();
     stateTypes = new List <String>();
     myStates   = new List <AbstractState>();
     InitializeComponent();
 }
        public WFEditGestures(EditRecordedForm erf)
        {
            InitializeComponent();

            // Se dibujan los botones
            this.button5.Image  = new Bitmap(Environment.CurrentDirectory + "\\Data\\Resources\\Save.png");
            this.button8.Image  = new Bitmap(Environment.CurrentDirectory + "\\Data\\Resources\\Load.png");
            this.button7.Image  = new Bitmap(Environment.CurrentDirectory + "\\Data\\Resources\\Save.png");
            this.button9.Image  = new Bitmap(Environment.CurrentDirectory + "\\Data\\Resources\\Load.png");
            this.button12.Image = new Bitmap(Environment.CurrentDirectory + "\\Data\\Resources\\Save.png");
            this.myErf          = erf;

            cargarEstados();
            cargarGestos();
            resetBar(myErf.getCountPosition());
        }