public FaceImageListControl( FaceXML XML, FaceForm ParentForm )
        {
            InitializeComponent();

            this.Category = null;
            this.ImageList = null;
            this.XML = XML;
            this.AllControl = null;
            this.ParentFaceForm = ParentForm;
            FillViewFromXML();
        }
        public FaceImageListControl( String Category, List<FaceImage> ImageList, FaceImageListControl AllControl, FaceForm ParentForm )
        {
            InitializeComponent();

            this.Category = Category;
            this.ImageList = ImageList;
            this.XML = null;
            this.AllControl = AllControl;
            this.ParentFaceForm = ParentForm;
            FillViewFromList();
        }
Пример #3
0
        public FaceImageListControl(FaceXML XML, FaceForm ParentForm)
        {
            InitializeComponent();

            this.Category       = null;
            this.ImageList      = null;
            this.XML            = XML;
            this.AllControl     = null;
            this.ParentFaceForm = ParentForm;
            FillViewFromXML();
        }
Пример #4
0
        public FaceImageListControl(String Category, List <FaceImage> ImageList, FaceImageListControl AllControl, FaceForm ParentForm)
        {
            InitializeComponent();

            this.Category       = Category;
            this.ImageList      = ImageList;
            this.XML            = null;
            this.AllControl     = AllControl;
            this.ParentFaceForm = ParentForm;
            FillViewFromList();
        }
Пример #5
0
        static void Main( string[] args )
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault( false );
            if ( args.Length == 1 ) {
                FaceForm f;
                try {
                    f = new FaceForm( new FaceXML( args[0] ) );
                } catch ( Exception ) {
                    f = new FaceForm();
                }

                Application.Run( f );
            } else {
                Application.Run( new FaceForm() );
            }
        }
Пример #6
0
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (args.Length == 1)
            {
                FaceForm f;
                try {
                    f = new FaceForm(new FaceXML(args[0]));
                } catch (Exception) {
                    f = new FaceForm();
                }

                Application.Run(f);
            }
            else
            {
                Application.Run(new FaceForm());
            }
        }