Example #1
0
        private void BtnSatisEtrafli_Click(object sender, EventArgs e)
        {
            var id = Convert.ToInt32(ComboSatislar.Text.Split('|')[2]);

            var formSatis = new FormSatis(id);

            formSatis.Show();
        }
Example #2
0
        private void BtnSell_Click(object sender, EventArgs e)
        {
            FormSatis formSatis;

            if (ListProducts.SelectedItems.Count == 0)
            {
                formSatis = new FormSatis();
            }
            else
            {
                var id = GetSelectedItemId();
                formSatis = new FormSatis(new int[] { id });
            }
            formSatis.Show();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            var formSatis = new FormSatis(GetSelectedItemId());

            formSatis.Show();
        }
Example #4
0
        private void BtnSatis_Click(object sender, EventArgs e)
        {
            var formSatis = new FormSatis();

            formSatis.Show();
        }