Esempio n. 1
0
        private void PromeniElemZaClana()
        {
            DataSet dataSet = new DataSet();

            dataSet = proxy.SviClanovi();

            label1.Text = "Ime:";
            label2.Text = "Prezime:";
            label3.Text = "Email:";
            label4.Text = "Datum rođenja:";

            label3.Visible         = true;
            textBox3.Visible       = true;
            label4.Visible         = true;
            dateTimePicker.Visible = true;
        }
Esempio n. 2
0
        private void Update_TabelaClanovi()
        {
            SveTabele_dataGridView.ReadOnly = false;
            DataSet dataSet = new DataSet();

            dataSet = proxy.SviClanovi();

            SveTabele_dataGridView.DataSource = dataSet.Tables["SviClanovi"].DefaultView;
            SveTabele_dataGridView.Columns["jmbg_clana"].ReadOnly = true;
            SveTabele_dataGridView.Columns["aktivan"].ReadOnly    = true;

            AdjustColumnWidth();
            SveTabele_dataGridView.ClearSelection();
        }
Esempio n. 3
0
        private void VracanjeKnjige_Load(object sender, EventArgs e)
        {
            DataSet dataSet = new DataSet();

            dataSet = proxy.SviClanovi();

            Clanovi_dataGridView.DataSource = dataSet.Tables["SviClanovi"].DefaultView;
            Clanovi_dataGridView.Columns["ime"].DisplayIndex     = 0;
            Clanovi_dataGridView.Columns["prezime"].DisplayIndex = 1;
            Clanovi_dataGridView.Columns["aktivan"].DisplayIndex = 2;

            Clanovi_dataGridView.Columns["email"].DisplayIndex          = 3;
            Clanovi_dataGridView.Columns["datum_rodjenja"].DisplayIndex = 4;
            Clanovi_dataGridView.Columns["jmbg_clana"].DisplayIndex     = 5;

            Clanovi_dataGridView.ClearSelection();
        }