private void WriteApplyToHistory(int chanel, int min, int max, TifFileInfo fi)
        {
            string val = "B&C(" + chanel.ToString() + "," +
                         min.ToString() + "," +
                         max.ToString() + ")";

            if (IA.oldComand == val)
            {
                return;
            }

            fi.History.Add("B&C(" + chanel.ToString() + "," +
                           MinPrew.ToString() + "," +
                           MaxPrew.ToString() + ")");

            fi.History.Add(val);
            IA.oldComand = val;
            IA.CheckSizeHistory(fi);
        }