Esempio n. 1
0
        public FormUpdateClasse(SearchComponent searchs, string paths, bool whatLevel)
        {
            this.path      = paths;
            this.whatLevel = whatLevel;
            this.search    = searchs;
            InitializeComponent();
            this.titleFormUpdate.Text = this.whatLevel ? "Ajouter une classe" : "Ajouter un niveau";

            if (!this.whatLevel)
            {
                this.attributeText();
            }
        }
Esempio n. 2
0
        public static FormUpdateClasse Instance(SearchComponent search, string paths, bool whatLevel)
        {
            componentSearch = new FormUpdateClasse(search, paths, whatLevel);

            return(componentSearch);
        }