AcManager.Pages.Dialogs.AcRootDirectorySelector.AcRootDirectorySelector C# (CSharp) Метод

AcRootDirectorySelector() публичный Метод

public AcRootDirectorySelector ( bool changeAcRoot, bool changeSteamId ) : System
changeAcRoot bool
changeSteamId bool
Результат System
        public AcRootDirectorySelector(bool changeAcRoot, bool changeSteamId) {
            InitializeComponent();
            DataContext = new ViewModel(changeAcRoot, changeSteamId);

            if (AppArguments.Values.Any()) {
                ProcessArguments(AppArguments.Values);
            }

            Buttons = new[] {
                CreateExtraDialogButton(UiStrings.Ok, new CombinedCommand(Model.ApplyCommand, new DelegateCommand(() => {
                    if (Model.FirstRun || Model.ReviewMode) {
                        new MainWindow {
                            Owner = null
                        }.Show();
                    }

                    CloseWithResult(MessageBoxResult.OK);
                }))),
                CancelButton
            };

            EntryPoint.HandleSecondInstanceMessages(this, ProcessArguments);
            PluginsManager.Instance.UpdateIfObsolete().Forget();
        }

Same methods

AcRootDirectorySelector::AcRootDirectorySelector ( ) : System