Answer the question
In order to leave comments, you need to log in
How to create an adjacency matrix in WPF/Windows Forms?
I want to make a form in which the user can set the number of vertices n .
A table n * n is being built , in which the user will have to write some numeric values.
The problem is that I don't understand how exactly to do it, in code. I read various answers to questions, videos, but for some reason this was not found anywhere
Answer the question
In order to leave comments, you need to log in
on top comes a container with an input
from below with a table
www.wpftutorial.net/DataGrid.html
when you enter, a table N x N + 1 is created, then you set the
names of the headers and the names of 1 column
in the DataGrid, set the id and do it all in CodeBehaind.
All other cells fill with text boxes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question