private DX12Panel InitDX12Panel()
        {
            var dxPanel = new DX12Panel(MainSplitter.Panel2.Width, MainSplitter.Panel2.Height);

            MainSplitter.Panel2.Controls.Add(dxPanel);
            dxPanel.Dock = DockStyle.Fill;
            return(dxPanel);
        }
 public MainFormWinFormsDX12()
 {
     InitializeComponent();
     _panel = InitDX12Panel();
 }