private void butStartUneven_Click(object sender, EventArgs e)
        {
            UnevenTypes type;

            if (rbStar.Checked)
            {
                type = UnevenTypes.Star;
            }
            else if (rbRectangle.Checked)
            {
                type = UnevenTypes.Rectangle;
            }
            else if (rbPetla.Checked)
            {
                type = UnevenTypes.Petla;
            }
            else
            {
                type = UnevenTypes.Normal;
            }
            var checkedGraphics = GetCheckedGraphics();
            var graphic         = checkedGraphics.Length > 0 ? checkedGraphics[0] : "S20";

            StartUnevenSplines?.Invoke(sender, new UnEvenTypesEventArgs(graphic, type));
        }
Пример #2
0
 private void butStartUneven_Click(object sender, EventArgs e)
 {
     StartUnevenSplines?.Invoke(sender, new EventArgs());
 }