private void addStandartBtn_Click(object sender, EventArgs e)
        {
            ProductionStandartForm form = new ProductionStandartForm(filter);

            form.ShowDialog();
            refreshDataGrid();
        }
 private void editStandartBtn_Click(object sender, EventArgs e)
 {
     if (dataGridOperations.SelectedRows.Count > 0)
     {
         ProductionStandartForm form = new ProductionStandartForm(standartList[dataGridOperations.SelectedRows[0].Index], filter);
         form.ShowDialog();
         refreshDataGrid();
     }
 }