public void Setup(DataProfile dataProfile, DataProfile.SubProfile dataSubProfile)
        {
            profile = dataProfile;
            subProfile = dataSubProfile;

            RedrawPreviewImg();
        }
Ejemplo n.º 2
0
        private void uiComboBox2_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            if (uiComboBox2.SelectedItem != null && uiComboBox1.SelectedItem != null)
            {
                selectedSubProfile = (DataProfile.SubProfile)uiComboBox2.SelectedItem.Value;
                textBox2.Text = selectedSubProfile.Desc;

                dataProfilePreviewControl1.Setup((DataProfile)uiComboBox1.SelectedItem.Value, selectedSubProfile);
            }
            else
                textBox2.Text = "";
        }