updates.txt

Backcolor for $button
ReadOnly for $textbox
ScrollBars for $textbox
 
FlatStyle for $Combobox
DropDownStyle for $Combobox
 
AutoSize for $Label
AutoSize for $Combobox
 
(General $Size and $Location Recode)
 
(Listbox function)
 
function atualizarlistbox {
    param (
        [string] $SelectedItem
    )
 
    switch ($SelectedItem) {
        "Geral" {
            $config_general_btn_openonstart.Visible = $true
            $config_general_chb_openonstart.Visible = $true
            $config_general_lb_savelog.Visible = $true
            $config_general_btn_savelog.Visible = $true
            $config_preferences_lb_email.Visible = $false
            $config_preferences_tb_email.Visible = $false
            $config_preferences_lb_defaultbrowser.Visible = $false
            $config_preferences_btn_defaultbrowser.Visible = $false
            $config_logs_tab.Visible = $false
 
        }
        "Prefer�ncias" {
            $config_general_btn_openonstart.Visible = $false
            $config_general_chb_openonstart.Visible = $false
            $config_general_lb_savelog.Visible = $false
            $config_general_btn_savelog.Visible = $false
            $config_preferences_lb_email.Visible = $true
            $config_preferences_tb_email.Visible = $true
            $config_preferences_lb_defaultbrowser.Visible = $true
            $config_preferences_btn_defaultbrowser.Visible = $true
            $config_logs_tab.Visible = $false
        }
        "Logs" {
            $config_general_btn_openonstart.Visible = $false
            $config_general_chb_openonstart.Visible = $false
            $config_general_lb_savelog.Visible = $false
            $config_general_btn_savelog.Visible = $false
            $config_preferences_lb_email.Visible = $false
            $config_preferences_tb_email.Visible = $false
            $config_preferences_lb_defaultbrowser.Visible = $false
            $config_preferences_btn_defaultbrowser.Visible = $false
            $config_logs_tab.Visible = $true
        }
    }
}
 
$config_list.add_SelectedIndexChanged({
    atualizarlistbox -SelectedItem $config_list.SelectedItem
})
$config_list.SelectedItem = "Geral"