Пример #1
0
        public DetailsForm(string name)
        {
            InitializeComponent();
            GeispDatabase gDet = new GeispDatabase();

            gDet = GeispUtils.getDatbase(name);

            NameTextBox.Text    = gDet.name;
            CodBaseTextBox.Text = gDet.codBas;
            SocietaTextBox.Text = gDet.getSocietaName();
            PathTextBox.Text    = gDet.path;
        }
Пример #2
0
        private void ControlsInit()
        {
            GeispDatabase gDet = new GeispDatabase();

            gDet          = GeispUtils.getDatbase(name);
            bs            = new BindingSource();
            bs.DataSource = GeispUtils.getSocietaNames();
            SocietaComboBox.DataSource = bs;

            NameTextBox.Text     = gDet.name;
            CodBaseTextBox.Text  = gDet.codBas;
            SocietaComboBox.Text = gDet.getSocietaName();
            PathTextBox.Text     = gDet.path;
        }