1
Answer

Help needed for implementing Wizard functionality for a Windows Form application

Photo of Sandeep N

Sandeep N

16y
2.5k
1
Hope you are doing well.
I am Sandeep, a Software Engineer working with an MNC.
 
Then,  I need a help for implementing wizard funtionality for a .NET Windows Form application.
I need to develop a Windows application with 5 Foms. Each Form will have  a "Next" and "Previous" button and I need to arrange these Forms. Thus I need to implement
a Wizrd control functionality. By googling, I found some ideas of using Tab control and but still I am looking for a professional way. Can you please suggest me the best method.
Your help will be appreciated. Our client is not willing to buy a third party Wizrd control.
 
Thanks in advance

Answers (1)

0
Photo of Nilanka Dharmadasa
NA 5.2k 0 15y

Hi Friend,
 
As I feel, what you have done is correct. If you change the size of the matrix then definetely you will have to reassign the values of each and every pixel. I dont think you can stop that by using another way.
 
You can use a class like this. So you can set the values from outside according to OOP concepts.
 

public class MyImage
{
 private int _ImageSize = 16;
 private double[,] _Matrix;
public MyImage(int imgsize)
{
      _ImageSize = imgsize;
      _Matrix = new double[_ImageSize, _ImageSize];
}

 
 
 

 public double this[int x, int y]
 {
  get { return _Matrix[x, y]; }
  set { _Matrix[x, y] = value; }
 }
}

 
Mark Do you like this answer checkbox if this helps you.