Exemplo n.º 1
0
        private void AutoListButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            AutoList autolist = new AutoList();

            autolist.Show();
        }
Exemplo n.º 2
0
        private void OpenAllButton_Click(object sender, EventArgs e)
        {
            Control btn = (Control)sender;

            AutoForStorage openCar = new AutoForStorage();

            openCar = AutoModelsListService.CarSearch(btn.Name);

            if (openCar != null)
            {
                AutoList automobilelist = new AutoList(flagCanAdd, openCar);
                automobilelist.Show();
            }
            else
            {
                AutoList automobilelist = new AutoList(flagCanAdd);
                automobilelist.Show();
            }
            //this.Refresh();
        }
Exemplo n.º 3
0
        private void LeaseToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AutoList autoLease = new AutoList(false, true, startMenu);

            autoLease.Show();
        }
Exemplo n.º 4
0
        private void AutoListToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            AutoList autoList = new AutoList(true, false, startMenu);

            autoList.Show();
        }