Example #1
0
        private void AnaForm_Load(object sender, EventArgs e)
        {
            countCategory  = _categoryService.GetCategories().Count;
            countSuppliers = _supplierService.GetSuppliers().Count;
            if (countCategory <= 0)
            {
                MessageBox.Show("Gorunuse Gore Ilk Defa Programi Aciyorsunuz. Lutfen Ilk Kategorinizi Giriniz.");
            }
            {
                CategoryOperationForm categoryOperationForm = new CategoryOperationForm();
                categoryOperationForm.ShowDialog();
                countCategory++;
            }

            if (countSuppliers <= 0)
            {
                MessageBox.Show("Gorunuse Gore Ilk Defa Programi Aciyorsunuz. Lutfen Ilk Tedarikcinizi Giriniz.");
                SupplierOperationForm supplierOperationForm = new SupplierOperationForm();
                supplierOperationForm.ShowDialog();
                countSuppliers++;
            }
        }
Example #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            SupplierOperationForm supplierOperationForm = new SupplierOperationForm();

            supplierOperationForm.ShowDialog();
        }