Exemple #1
0
        private void button_SearchBuyers_Click(object sender, EventArgs e)
        {
            BuyersListForm buyersDialog = new BuyersListForm();

            if (buyersDialog.ShowDialog(this) == DialogResult.OK)
            {
                comboBox_kupci.SelectedIndex = comboBox_kupci.FindStringExact(buyersDialog.GetSelectedBuyer());
            }
            buyersDialog.Dispose();
        }
Exemple #2
0
        private void kupciToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new BuyersListForm();

            form.Show();
        }