public void Initialization() { ControlEditor.Init(pictureBoxSlot, this, parentTabPage); ControlEditor.Init(pictureBoxSelection, this, parentTabPage); pictureBoxSelection.SizeMode = PictureBoxSizeMode.StretchImage; ToDefault(); pictureBoxSlot.Click += PictureBoxSlot_Click; Visual = false; }
public void Initialization() { ControlEditor.Init(pictureBoxSlot, this, parentTabPage); ControlEditor.Init(pictureBoxSelection, this, parentTabPage); pictureBoxSelection.SizeMode = PictureBoxSizeMode.StretchImage; pictureBoxSlot.Dock = DockStyle.Fill; ToDefault(); pictureBoxSlot.Click += PictureBoxSlot_Click; index = 0; }
public void Initialization() { pictureBox1.Click += PictureBox_Click; ControlEditor.Init(pictureBox1, this, parentTabPage); pictureBox1.Dock = DockStyle.Fill; activeImage = Resources._selection; imageName = "_selection.png"; ApplyImage(activeImage); scale = parentTabPage.globalScale; ChangeScale(scale); }
public void Initialization() { ControlEditor.Init(pictureBox1, this, parentTabPage); pictureBox1.Dock = DockStyle.Fill; activeImage = _params.GetCloseButtonImage(out string image); activeImageName = image; ApplyImage(activeImage); pictureBox1.Click += button_Click; activeImage2 = _params.GetCloseButton2Image(out image); activeImage2Name = image; scale = parentTabPage.globalScale; ChangeScale(scale); BringToFront(); }
public void Initialization() { scale = 1; ControlEditor.Init(pictureBox1, this, parentTabPage); pictureBox1.Dock = DockStyle.Fill; activeImage = Resources._button_next_48x24; activeImageName = "_button_next_48x24.png"; ApplyImage(activeImage); pictureBox1.Click += button_Click; activeImage2 = Resources._button_next_48x24p; activeImage2Name = "_button_next_48x24p.png"; scale = parentTabPage.globalScale; ChangeScale(scale); }
public void Initialization() { pictureBox1.Click += PictureBox_Click; pictureBox2.Click += PictureBox_Click; pictureBox2.VisibleChanged += PictureBox2_VisibleChanged; ControlEditor.Init(pictureBox1, this, parentTabPage); ControlEditor.Init(pictureBox2, this, parentTabPage); overlayImageName = ""; overlayImage = Resources._default_slot_empty; overlayImageName = "_default_slot_empty"; overlayScale = 1; pictureBox2.SizeMode = PictureBoxSizeMode.StretchImage; ApplyOverlayImage(); activeImage = Resources._selection; imageName = "_selection.png"; ApplyImage(activeImage); scale = parentTabPage.globalScale; ChangeScale(scale); }
public void Initialization() { ControlEditor.Init(richTextBox1, this, parentTabPage); richTextBox1.Click += (sender, e) => SelectControl(); }