private void toolStripButtonAdd_Click(object sender, EventArgs e)
        {
            int          current_position = this.view_regulation_roomBindingSource.Position;
            List <Int32> regulationList   = new List <Int32>();

            this.view_regulation_roomBindingSource.Position = 0;

            for (int i = 0; i < this.view_regulation_roomBindingSource.Count; i++)
            {
                regulationList.Add(Convert.ToInt32(((DataRowView)this.view_regulation_roomBindingSource.Current).Row["ID_regulation"].ToString()));

                this.view_regulation_roomBindingSource.MoveNext();
            }

            this.view_regulation_roomBindingSource.Position = current_position;

            FormRegulationBook frmRegBook = new FormRegulationBook(id_room, regulationList);

            frmRegBook.ShowDialog();

            this.view_regulation_roomTableAdapter.FillBy(this.accessControlSystemDataSet.View_regulation_room, id_room);
        }
        // private void button1_Click(object sender, EventArgs e)
        // {
        //Выводит текущую дату в формате из двух букв: Пн, Вт, Ср    и т.д.
        //MessageBox.Show(CultureInfo.CurrentCulture.TextInfo.ToTitleCase(dateTimePicker1.Value.ToString("ddd")));
        //}

        private void правилаToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormRegulationBook frmReg = new FormRegulationBook();

            frmReg.ShowDialog();
        }