Beispiel #1
0
 public PadControl(int controllerIndex)
 {
     InitializeComponent();
     ControllerIndex = controllerIndex;
     // Add direct input user control.
     this.SuspendLayout();
     diControl      = new DirectInputControl();
     diControl.Dock = DockStyle.Fill;
     DirectInputTabPage.Controls.Add(diControl);
     PadTabControl.TabPages.Remove(DirectInputTabPage);
     this.ResumeLayout();
 }
 public PadControl(int controllerIndex)
 {
     InitializeComponent();
     ControllerIndex = controllerIndex;
     // Add direct input user control.
     this.SuspendLayout();
     diControl = new DirectInputControl();
     diControl.Dock = DockStyle.Fill;
     DirectInputTabPage.Controls.Add(diControl);
     PadTabControl.TabPages.Remove(DirectInputTabPage);
     this.ResumeLayout();
 }
Beispiel #3
0
 public PadControl(int controllerIndex)
 {
     InitializeComponent();
     ControllerIndex = controllerIndex;
     // Add direct input user control.
     this.SuspendLayout();
     diControl = new DirectInputControl();
     diControl.Dock = DockStyle.Fill;
     DirectInputTabPage.Controls.Add(diControl);
     PadTabControl.TabPages.Remove(DirectInputTabPage);
     // PadKeyboardControl
     this.PadKeyboardControl = new x360ce.App.Controls.KeyboardControl();
     this.PadKeyboardControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.PadKeyboardControl.Location = new System.Drawing.Point(3, 3);
     this.PadKeyboardControl.Name = "PadKeyboardControl";
     this.PadKeyboardControl.Size = new System.Drawing.Size(614, 405);
     this.PadKeyboardControl.TabIndex = 1;
     this.KeyboardTabPage.Controls.Add(this.PadKeyboardControl);
     this.ResumeLayout();
 }