Пример #1
0
        private void AddressButton_Click(object sender, EventArgs e)
        {
            AddressForm addressForm = new AddressForm();

            addressForm.WarehousesForm = this;
            addressForm.Show();
            addressForm.parentID = 2;
        }
        private void AddressButton_Click(object sender, EventArgs e)
        {
            AddressForm addressForm = new AddressForm();

            addressForm.CustomersForm = this;
            addressForm.Show();
            addressForm.parentID = 1;
        }