private void LoadCmbValidationMode(Eucalypto.XHtmlMode mode) { cmbXhtmlMode.Items.Clear(); cmbXhtmlMode.Items.Add(Eucalypto.XHtmlMode.None.ToString()); cmbXhtmlMode.Items.Add(Eucalypto.XHtmlMode.BasicValidation.ToString()); cmbXhtmlMode.Items.Add(Eucalypto.XHtmlMode.StrictValidation.ToString()); cmbXhtmlMode.SelectedValue = mode.ToString(); }
private void LoadCmbBackupMode(Eucalypto.WikiBackupMode mode) { cmbBackupMode.Items.Clear(); cmbBackupMode.Items.Add(Eucalypto.WikiBackupMode.Always.ToString()); cmbBackupMode.Items.Add(Eucalypto.WikiBackupMode.Request.ToString()); cmbBackupMode.Items.Add(Eucalypto.WikiBackupMode.Never.ToString()); cmbBackupMode.SelectedValue = mode.ToString(); }