public AssortmentForm()
        {
            InitializeComponent();

            pictureBox1.Image = Image.FromFile($@"{Application.StartupPath}\FilmsImage\0.jpeg");
            gridViewControll  = new DataGridViewControll();

            gridViewControll.Update(assortmentTable, "Films");
        }
Пример #2
0
        public SellingTicketForm(string login)
        {
            InitializeComponent();

            DataGridViewControll gridViewControll = new DataGridViewControll();

            gridViewControll.Update(clientsDataGridView, "Clients");
            gridViewControll.Update(filmsDataGridView, "Films");
            Login = login;
        }
Пример #3
0
        private void AddingMovieForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            DataGridViewControll gridViewControll = new DataGridViewControll();

            gridViewControll.Update(AssortmentDataGrid, "Films");
        }
Пример #4
0
        private void AddingClientsForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            DataGridViewControll gridViewControll = new DataGridViewControll();

            gridViewControll.Update(DataGrid, "Clients");
        }