Example #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          = "---------";
        }
Example #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);
        }