コード例 #1
0
        public void Setup(DataProfile dataProfile, DataProfile.SubProfile dataSubProfile)
        {
            profile = dataProfile;
            subProfile = dataSubProfile;

            RedrawPreviewImg();
        }
コード例 #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 = "";
        }