Ejemplo n.º 1
0
        private void imageManagerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var tmp = new FrmImage(TempImages);

            tmp.buttonSelect.Visible = false;
            tmp.ShowDialog();
        }
Ejemplo n.º 2
0
        private void buttonChooseImage_Click(object sender, EventArgs e)
        {
            if (TmpItem.UseTemp.Prefix == "armour_")
            {
                MessageBox.Show("Armour is Not Support Now\nSubscribe and Thumbs-up on steam To Let author Update faster");
                return;
            }
            FrmImage Fi = new FrmImage(frmMain.TempImages);

            if (Fi.ShowDialog() == DialogResult.OK)
            {
                if (Fi.NowSelect.VirtualSize != TmpItem.UseTemp.Image.VirtualSize)
                {
                    MessageBox.Show($"This Item Image is {Fi.NowSelect.VirtualSize.ToString()}\n You Select {TmpItem.UseTemp.Image.VirtualSize.ToString()}", "Size Error");
                    return;
                }
                TmpItem.ItemImage = Fi.NowSelect;
                setShow();
            }
        }