private void PrintNewMaterialDataForPoint(PointF newMaterialPoint)
        {
            var schaefflerMicrophaseHelper = new SchaefflerMicrophaseHelper();
            SchaefflerMicrophase newMaterialMicrophase = schaefflerMicrophaseHelper.GetMicrophaseForPoint(newMaterialPoint);

            switch (newMaterialMicrophase)
            {
                case SchaefflerMicrophase.FM:
                    _view.NewMaterialMicrophaseTextBox = "Ferrytyczno - martenzytyczna";
                    break;
                case SchaefflerMicrophase.M:
                    _view.NewMaterialMicrophaseTextBox = "Martenzytyczna";
                    break;
                case SchaefflerMicrophase.AM:
                    _view.NewMaterialMicrophaseTextBox = "Austenityczno - martenzytyczna";
                    break;
                case SchaefflerMicrophase.A:
                    _view.NewMaterialMicrophaseTextBox = "Austenityczna";
                    break;
                case SchaefflerMicrophase.MF:
                    _view.NewMaterialMicrophaseTextBox = "Martenzytyczno - ferrytyczna";
                    break;
                case SchaefflerMicrophase.AMF:
                    _view.NewMaterialMicrophaseTextBox = "Austeniticzno - martenzytyczno - ferrytyczna";
                    break;
                case SchaefflerMicrophase.AF:
                    _view.NewMaterialMicrophaseTextBox = "Austenityczno - ferrytyczna";
                    break;
                case SchaefflerMicrophase.F:
                    _view.NewMaterialMicrophaseTextBox = "Ferrytyczna";
                    break;
                case SchaefflerMicrophase.Unknown:
                    _view.NewMaterialMicrophaseTextBox = "Poza wykresem";
                    break;
            }

            SchaefflerFerriteQuantity newMaterialFerriteQuantity = schaefflerMicrophaseHelper.GetFerriteQuantityForPoint(newMaterialPoint);

            if (newMaterialFerriteQuantity == SchaefflerFerriteQuantity.Unknown)
                _view.NewMaterialFerriteQuantityTextBox = "Nieznana";
            else
            {
                switch (newMaterialFerriteQuantity)
                {
                    case SchaefflerFerriteQuantity._0to5:
                        _view.NewMaterialFerriteQuantityTextBox = "0 - 5";
                        break;
                    case SchaefflerFerriteQuantity._5to10:
                        _view.NewMaterialFerriteQuantityTextBox = "5 - 10";
                        break;
                    case SchaefflerFerriteQuantity._10to20:
                        _view.NewMaterialFerriteQuantityTextBox = "10 - 20";
                        break;
                    case SchaefflerFerriteQuantity._20to40:
                        _view.NewMaterialFerriteQuantityTextBox = "20 - 40";
                        break;
                    case SchaefflerFerriteQuantity._40to80:
                        _view.NewMaterialFerriteQuantityTextBox = "40 - 80";
                        break;
                    case SchaefflerFerriteQuantity._80to100:
                        _view.NewMaterialFerriteQuantityTextBox = "80 - 100";
                        break;
                }

            }
        }
 public void Init()
 {
     _microphaseHelper = new SchaefflerMicrophaseHelper();
 }