Exemplo n.º 1
0
    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();
    }
Exemplo n.º 2
0
    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();
    }