Exemple #1
0
        public SaleForm()
        {
            InitializeComponent();

            BidInfoInput        = new BidInfoInput();
            Transport           = new Transport();
            listingRegistration = new ListingRegistration();
            ListingResult       = new ListingResult();
            ListingCar          = new ListingCar();

            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btBitInfo, 0);
            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btListingResult, 1);
            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btListingCar, 2);
            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btDisposalCar, 3);
            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btTransportInfo, 4);

            panel1.Controls.Add(BidInfoInput);
            panel1.Controls.Add(Transport);
            panel1.Controls.Add(listingRegistration);
            panel1.Controls.Add(ListingResult);
            panel1.Controls.Add(ListingCar);

            BidInfoInput.Visible        = false;
            Transport.Visible           = false;
            listingRegistration.Visible = false;
            ListingResult.Visible       = false;
            ListingCar.Visible          = false;
        }
Exemple #2
0
        public Purchase()
        {
            InitializeComponent();

            ctr1         = new Search();
            BidInfoInput = new BidInfoInput();
            DeliverySlip = new DeliverySlip();
            //BidCarInput = new BidCarInput();
            Transport           = new Transport();
            listingRegistration = new ListingRegistration();
            Discount            = new Discount();
            ListingResult       = new ListingResult();
            BidCarProcessing    = new BidCarProcessing();
            ListingCar          = new ListingCar();

            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btBitInfo, 0);
            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btBidCarInput, 1);
            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btBitCar, 2);
            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btDeliverySlip, 3);
            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btTransportInfo, 4);
            inheritableFlowLayoutPanel1.Controls.SetChildIndex(btDisposalCarPurchase, 5);

            panel1.Controls.Add(ctr1);
            panel1.Controls.Add(BidInfoInput);
            panel1.Controls.Add(DeliverySlip);
            //panel1.Controls.Add(BidCarInput);
            panel1.Controls.Add(Transport);
            panel1.Controls.Add(listingRegistration);
            panel1.Controls.Add(Discount);
            panel1.Controls.Add(ListingResult);
            panel1.Controls.Add(BidCarProcessing);
            panel1.Controls.Add(ListingCar);

            ctr1.Visible         = false;
            BidInfoInput.Visible = false;
            DeliverySlip.Visible = false;
            //BidCarInput.Visible = false;
            Transport.Visible           = false;
            listingRegistration.Visible = false;
            Discount.Visible            = false;
            ListingResult.Visible       = false;
            BidCarProcessing.Visible    = false;
            ListingCar.Visible          = false;
        }