Пример #1
0
        public static SplineForm SplineStarter(Action a)
        {
            var spl = new SplineForm(a);

            spl.Show();
            return(spl);
        }
Пример #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            SplineForm mainForm = new SplineForm();
            var        Points   = new List <Point>();

            Points.Add(new Point(14, 60));
            Points.Add(new Point(19, 10));
            mainForm.SetPoints(Points);
            Application.Run(mainForm);
        }