Example #1
0
 private void btn_add_custom_figure_Click(object sender, EventArgs e)
 {
     if (figureList.Count <= 1)
     {
         MessageBox.Show("One or less figures can not be customized", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
     else
     {
         customFigureIsChange = true;
         CustomFigure.AddCustomFigure(currentFabrics, figureList, cmb_custom_figures);
     }
 }
Example #2
0
 private void btn_add_custom_figure_Click(object sender, EventArgs e)
 {
     if (figureList.Count <= 1)
     {
         MessageBox.Show("Нарисуйте больше одной фигуры", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
     else
     {
         customFigureIsChange = true;
         CustomFigure.AddCustomFigure(currentFabrics, figureList, cmb_custom_figures);
     }
 }