//scale 21
        private void S30ToolStripMenuItem3_Click(object sender, EventArgs e)
        {
            double k = Convert.ToDouble(toolStripTextBox1.Text.Replace(".", ","));

            m_workImage = ImageScaleChanger.ResizeImage(m_workImage, k, ScaleOptions.S21);
            RefreshWorkImage();
        }
        void DoSubdiviosion(ScaleOptions scaleOptions)
        {
            int w = 0;
            int h = 0;

            try
            {
                w = Convert.ToInt32(SubdivisionWidthTextBox.Text);
                h = Convert.ToInt32(SubdivisionHeightTextBox.Text);
            }
            catch {
                MessageBox.Show("Помилка з конвертуванням параметрів для процедури Subdivision");
                return;
            }
            m_workImage = ImageScaleChanger.SubdivisionImageResize(m_workImage, w, h, scaleOptions);
            RefreshWorkImage();
        }