Example #1
0
        private void QuickItem_Load(object sender, System.EventArgs e)
        {
            m_Preview.BackColor = Pandora.Profile.General.ArtBackground.Color;

            if (m_Item == null)
            {
                m_Item           = new TheBox.Data.BoxItem();
                m_Item.EmptyCtor = true;

                pGrid.SelectedObject = m_Item;

                m_Backup = new TheBox.Data.BoxItem();
            }
            else
            {
                m_Preview.ArtIndex = m_Item.Item.Art;
                m_Preview.Hue      = m_Item.Item.Hue;
            }
        }
Example #2
0
		private void QuickItem_Load(object sender, System.EventArgs e)
		{
			m_Preview.BackColor = Pandora.Profile.General.ArtBackground.Color;

			if ( m_Item == null )
			{
				m_Item = new TheBox.Data.BoxItem();
				m_Item.EmptyCtor = true;

				pGrid.SelectedObject = m_Item;

				m_Backup = new TheBox.Data.BoxItem();
			}
			else
			{
				m_Preview.ArtIndex = m_Item.Item.Art;
				m_Preview.Hue = m_Item.Item.Hue;
			}
		}