コード例 #1
0
        private void ComboBoxPropertySerialization_SelectedIndexChanged(object sender, EventArgs e)
        {
            object selectedItem         = ComboBoxPropertySerialization.SelectedItem;
            string selectedItemAsString = selectedItem.ToString();

            OptionPage.SerializationType = PropertySerializationTypeConverter.GetSerializationType(selectedItemAsString);
        }
コード例 #2
0
 public void Initialize()
 {
     CheckBoxConfirmationAlerts.Checked         = OptionPage.ShouldShowConfirmationAlerts;
     ComboBoxPropertySerialization.SelectedItem = PropertySerializationTypeConverter.GetString(OptionPage.SerializationType);
 }