コード例 #1
0
 public CustomPictureBox()
 {
     uiController = new CustomUIController(LEFT_RIGHT_MARGIN, TOP_BOTTOM_MARGIN, BASE_HEIGHT, BASE_WIDTH, Properties.Resources.border_disabled, Properties.Resources.border_hover, Properties.Resources.border_click, Properties.Resources.border);
 }
コード例 #2
0
ファイル: CustomButton.cs プロジェクト: jennstubley/rpg-game
 public CustomButton()
 {
     InitializeComponent();
     uiController = new CustomUIController(LEFT_RIGHT_MARGIN, TOP_BOTTOM_MARGIN, BASE_HEIGHT, BASE_WIDTH, Properties.Resources.button_disabled, Properties.Resources.button_hover, Properties.Resources.button_down, Properties.Resources.button);
 }