CmisSync.Setting.LoadSetting C# (CSharp) Method

LoadSetting() private method

private LoadSetting ( ) : void
return void
        private void LoadSetting()
        {
            System.Uri resourceLocater = new System.Uri("/DataSpaceSync;component/SettingWPF.xaml", System.UriKind.Relative);
            SettingWPF wpf = Application.LoadComponent(resourceLocater) as SettingWPF;

            ProxyNone = wpf.FindName("ProxyNone") as RadioButton;
            ProxySystem = wpf.FindName("ProxySystem") as RadioButton;
            ProxyCustom = wpf.FindName("ProxyCustom") as RadioButton;
            LoginCheck = wpf.FindName("LoginCheck") as CheckBox;
            AddressLabel = wpf.FindName("AddressLabel") as TextBlock;
            AddressText = wpf.FindName("AddressText") as TextBox;
            UserLabel = wpf.FindName("UserLabel") as TextBlock;
            UserText = wpf.FindName("UserText") as TextBox;
            PasswordLabel = wpf.FindName("PasswordLabel") as TextBlock;
            PasswordText = wpf.FindName("PasswordText") as PasswordBox;

            NotificationsCheck = wpf.FindName("NotificationToggle") as CheckBox;

            FinishButton = wpf.FindName("FinishButton") as Button;
            CancelButton = wpf.FindName("CancelButton") as Button;

            wpf.ApplyController(Controller);

            Content = wpf;
        }