-2

I'm new in C#, and I'm trying to use a design I made in a form and put it inside the other one. In Java this is possible with Scene builder. You just press include and choose your FXML file. Is there any way to do that in Visual Studio??

Mario Tp
  • 53
  • 4

3 Answers3

1

You can do this.

The word is User Control. Drag and drop everything to your newly created User Control , then after you made it, you can choose it later from the Tool box in Visual Studio, and also can use Drag and drop your User Control like any other tool to existing forms.

koviroli
  • 1,422
  • 1
  • 15
  • 27
  • 1
    For more see [here](https://stackoverflow.com/questions/50203323/cloning-tabs-in-tab-control-on-button-click-in-winforms/50204174#50204174) – TaW May 07 '18 at 14:14
0

You are probably looking for UserControl.

TcKs
  • 25,849
  • 11
  • 66
  • 104
0

Is there any way to do that in Visual Studio??

Yes there is, you can use a UserControl if you are targeting Winform. Similar exists for WPF as well.

Rahul
  • 76,197
  • 13
  • 71
  • 125