private ToolStripMenuItem CreateShowWayBill()
        {
            ToolStripMenuItem item = CreateItem("Просмотр путевого листа");

            item.Click += delegate
            {
                InputDate inputDate = new InputDate(_dgvMain, Actions.Show, WayBillType.Month);
                inputDate.ShowDialog();
            };
            return(item);
        }
 private ToolStripMenuItem CreatePrintWayBill()
 {
     ToolStripMenuItem item = CreateItem("Печать путевого листа");
     item.Click += delegate
     {
         InputDate inputDate = new InputDate(_dgvMain, Actions.Print, WayBillType.Month);
         inputDate.ShowDialog();
     };
     return item;
 }