Exemplo n.º 1
0
        public tabCreateChange()

        {
            InitializeComponent();
            estateHandler = new EstateHandler();
            comboBoxCountry.DataSource   = Countries.GetValues(typeof(Countries));
            comboBoxLegalForm.DataSource = LegalForms.GetValues(typeof(LegalForms));
            comboBox3.DataSource         = Category.GetValues(typeof(Category));
            comboBoxLegalForm.DataSource = LegalForms.GetValues(typeof(LegalForms));
            comboBox5.DataSource         = TypeAll.GetValues(typeof(TypeAll));
            lblDynamicTxt1.Text          = "---------";
        }
Exemplo n.º 2
0
        /// <summary>
        /// Constructor to the components
        /// </summary>
        public tabCreateChange()
        {
            InitializeComponent();

            btnSaveChanges.Enabled       = false;
            estateHandler                = new EstateHandler(listBox1);
            comboBoxCountry.DataSource   = Countries.GetValues(typeof(Countries));
            comboBoxLegalForm.DataSource = LegalForms.GetValues(typeof(LegalForms));
            comboBox3.DataSource         = Category.GetValues(typeof(Category));
            comboBoxLegalForm.DataSource = LegalForms.GetValues(typeof(LegalForms));
            comboBox5.DataSource         = TypeAll.GetValues(typeof(TypeAll));
            lblDynamicTxt1.Text          = "---------";
            btnChangeEstate.BackColor    = Color.FromArgb(140, 135, 222);
            btnCreateEstate.BackColor    = Color.FromArgb(140, 135, 222);
            btnChooseImage.BackColor     = Color.FromArgb(140, 135, 222);
            btnSaveChanges.BackColor     = Color.FromArgb(168, 165, 209);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Constructor to the components
        /// </summary>
        public GUI()
        {
            InitializeComponent();

            btnSaveChanges.Enabled       = false;
            estateManager                = new EstateManager(listBox1);
            comboBoxCountry.DataSource   = Countries.GetValues(typeof(Countries));
            comboBoxLegalForm.DataSource = LegalForms.GetValues(typeof(LegalForms));
            comboBoxCategory.DataSource  = Category.GetValues(typeof(Category));
            comboBoxLegalForm.DataSource = LegalForms.GetValues(typeof(LegalForms));

            lblDynamicTxt1.Text          = "---------";
            btnChangeEstate.BackColor    = Color.FromArgb(140, 135, 222);
            btnCreateEstate.BackColor    = Color.FromArgb(140, 135, 222);
            btnChooseImage.BackColor     = Color.FromArgb(140, 135, 222);
            btnSaveChanges.BackColor     = Color.FromArgb(168, 165, 209);
            btnDeleteAll.BackColor       = Color.FromArgb(140, 135, 222);
            btnDelete.BackColor          = Color.FromArgb(140, 135, 222);
            btnChangeEstate.BackColor    = Color.FromArgb(140, 135, 222);
            btnGenerateEstates.BackColor = Color.FromArgb(140, 135, 222);
            btnSearch.BackColor          = Color.FromArgb(140, 135, 222);
            btnShowAll.BackColor         = Color.FromArgb(140, 135, 222);
        }