public Grid GetOperatorGrid(bool needsBottomBorder, int number, double fontSize)
        {
            Grid grid = new Grid();

            ThirdTask.MarkupOperatorOrOperandGrid(ref grid, needsBottomBorder);

            TextBox numberTextBox = new TextBox()
            {
                Text = (number + 1).ToString(), Background = Data.ApplicationBackground, BorderThickness = Data.NullThickness, TextWrapping = TextWrapping.Wrap, FontSize = fontSize, HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Center, IsReadOnly = true
            };
            TextBox operatorTextBox = new TextBox()
            {
                Text = GetOperatorName(), Background = Data.ApplicationBackground, BorderThickness = Data.NullThickness, TextWrapping = TextWrapping.Wrap, FontSize = fontSize, HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Center, IsReadOnly = true
            };
            TextBox f1jTextBox = new TextBox()
            {
                Text = Locations.Count.ToString(), Background = Data.ApplicationBackground, BorderThickness = Data.NullThickness, TextWrapping = TextWrapping.Wrap, FontSize = fontSize, HorizontalAlignment = HorizontalAlignment.Center, VerticalAlignment = VerticalAlignment.Center, IsReadOnly = true, Cursor = Cursors.Hand
            };

            WPF_Methods.SetToolTip(ref f1jTextBox, WPF_Methods.CreateToolTip("Позиции оператора", ThirdTask.GetLocations(this)));

            WPF_Methods.AddToGrid(ref grid, (numberTextBox, 1, 1), (operatorTextBox, 3, 1), (f1jTextBox, 5, 1));
            ThirdTask.MakeBordersInOperatorOrOperandGrid(ref grid, needsBottomBorder);
            return(grid);
        }