Ejemplo n.º 1
0
            public WorkCanvas(int Width, int Height, ProblemInstance problem, Solution solution, Cost cost, String title)
            {
                this.problem  = problem;
                this.solution = solution;
                this.title    = title;
                this.cost     = cost;

                this.Width  = Width;
                this.Height = Height;
            }
Ejemplo n.º 2
0
        public SolutionViewer(ProblemInstance problem, Solution solution, Cost cost, String title)
        {
            InitializeComponent();

            WorkCanvas wc = new WorkCanvas(pictureBox1.Width, pictureBox1.Height, problem, solution, cost, title);
        }