Exemple #1
0
        private void Button_Click_2(object sender, RoutedEventArgs e) //IZBERI KUPCA
        {
            var okno = new KupciView(1);

            if (okno.ShowDialog() == true)
            {
                id_kupca             = okno.id;
                lbl_id_kupca.Content = id_kupca;
                cb_podjetje.Text     = okno.podjetje;
            }
        }
Exemple #2
0
        private void Button_Click(object sender, RoutedEventArgs e) //IZBERI KUPCA
        {
            var okno = new KupciView(1);

            if (okno.ShowDialog() == true)
            {
                id_kupca             = okno.id;
                lbl_kupec_id.Content = id_kupca;
                podjetje             = okno.podjetje;
            }
            else
            {
                MessageBox.Show("Napaka");
            }

            tb_podjetje.Text = podjetje;
        }