AdvancedLauncher.UI.Controls.SettingsFlyout.SettingsFlyout C# (CSharp) Method

SettingsFlyout() public method

public SettingsFlyout ( ) : System
return System
        public SettingsFlyout()
        {
            InitializeComponent();
            if (!System.ComponentModel.DesignerProperties.GetIsInDesignMode(new DependencyObject())) {
                this.CloseCommand = new SimpleCommand {
                    CanExecuteDelegate = x => true,
                    ExecuteDelegate = x => this.ResetAll()
                };

                this.ClosingFinished += (s, e) => {
                    ResetAll();
                };

                ResetAll();

                IsPreventPassChange = true;
                if (proxySettings.Credentials.SecurePassword != null) {
                    ProxyPassword.Password = "empty_pass";
                } else {
                    ProxyPassword.Clear();
                }
                IsPreventPassChange = false;

                InitializeColorTheme();
                InitializeLanguages();
            }
        }