Beispiel #1
0
 public FrmDodajAkrNovinara(KontrolerKI kontroler, DataGridView dgv)
 {
     this.kontroler = kontroler;
     Dgv            = dgv;
     InitializeComponent();
     this.BackColor = Color.FromArgb(51, 0, 25);
 }
Beispiel #2
0
 public FrmIzmenaRasporeda(KontrolerKI kontroler, DataGridView dgvPretragaRasporeda)
 {
     this.kontroler = kontroler;
     DgvRasporedi   = dgvPretragaRasporeda;
     InitializeComponent();
     cmbAkrNovinari.Text = "Izaberite!";
     this.BackColor      = Color.FromArgb(51, 0, 25);
 }
Beispiel #3
0
        private void PocetnaForma_Load(object sender, EventArgs e)
        {
            this.Text = KontrolerKI.poveziSeNaServer();

            try
            {
                if (this.Text == "Klijent nije povezan na server!")
                {
                    MessageBox.Show("Nisi konektovan na server!");
                    this.Close();
                }
            }
            catch (Exception)
            {
                throw;
            }
        }
Beispiel #4
0
 private void PocetnaForma_FormClosed(object sender, FormClosedEventArgs e)
 {
     KontrolerKI.kraj();
 }
Beispiel #5
0
 private void PocetnaForma_Load(object sender, EventArgs e)
 {
     this.Text = KontrolerKI.poveziSeNaServer();
 }