예제 #1
0
 public LoadPresetsWindow()
 {
     InitializeComponent();
     WinControl.MainBody.Content = WinControl.MainContent;
     WinControl.SetTitle("X360CE - Load Preset");
     WinControl.SetHead("Load Preset");
     WinControl.SetBodyInfo("Select Preset and press [Load Selected] button.");
     WinControl.SetImage(Icons_Default.Icon_gamepad);
     WinControl.SetButton1("Load Selected", Icons_Default.Icon_ok);
     WinControl.SetButton2("Cancel", Icons_Default.Icon_close);
     WinControl.SetButton3();
 }
예제 #2
0
 public UserDevicesWindow()
 {
     InitializeComponent();
     WinControl.MainBody.Content = WinControl.MainContent;
     ControlsHelper.CheckTopMost(this);
     WinControl.SetTitle("X360CE - Map Device To Controller");
     WinControl.SetHead("Map Device To Controller");
     WinControl.SetBodyInfo("Select Devices and press [Add Selected Devices] button.");
     WinControl.SetImage(Icons_Default.Icon_gamepad);
     WinControl.SetButton1("Add Selected Devices", Icons_Default.Icon_ok);
     WinControl.SetButton2("Cancel", Icons_Default.Icon_close);
     WinControl.SetButton3();
     MainControl.MapDeviceToControllerMode = true;
 }
예제 #3
0
 public LoadPresetsWindow()
 {
     InitHelper.InitTimer(this, InitializeComponent);
     ControlsHelper.CheckTopMost(this);
     WinControl.MainBody.Content = WinControl.MainContent;
     WinControl.InfoPanel.SetTitle("X360CE - Load Preset");
     WinControl.InfoPanel.SetHead("Load Preset");
     WinControl.InfoPanel.SetBodyInfo("Select Preset and press [Load Selected] button.");
     WinControl.InfoPanel.SetImage(Application.Current.Resources[Icons_Default.Icon_gamepad]);
     WinControl.SetButton1("Load Selected", Icons_Default.Icon_ok);
     WinControl.SetButton2("Cancel", Icons_Default.Icon_close);
     WinControl.SetButton3();
     MainControl._ParentControl = WinControl;
 }
예제 #4
0
 public UserDevicesWindow()
 {
     InitHelper.InitTimer(this, InitializeComponent);
     WinControl.MainBody.Content = WinControl.MainContent;
     ControlsHelper.CheckTopMost(this);
     Title = "X360CE - Map Device To Controller";
     WinControl.InfoPanel.SetHead("Map Device To Controller");
     WinControl.InfoPanel.SetBodyInfo("Select Devices and press [Add Selected Devices] button.");
     WinControl.InfoPanel.SetImage(Application.Current.Resources[Icons_Default.Icon_gamepad]);
     WinControl.SetButton1("Add Selected Devices", Icons_Default.Icon_ok);
     WinControl.SetButton2("Cancel", Icons_Default.Icon_close);
     WinControl.SetButton3();
     // This window will be used to map DInput devices to XInput controller.
     MainControl.MapDeviceToControllerMode = true;
 }