private void linkKryptonTreeView_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONTREEVIEW, tsslCurrentStatus); }
private void linkKryptonDateTimePicker_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONDATETIMEPICKER, tsslCurrentStatus); }
private void linkKryptonMonthCalendar_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONMONTHCALENDAR, tsslCurrentStatus); }
private void linkKryptonDomainUpDown_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONDOMAINUPDOWN, tsslCurrentStatus); }
private void linkKryptonBreadCrumb_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONBREADCRUMB, tsslCurrentStatus); }
private void linkKryptonGroupBox_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONGROUPBOX, tsslCurrentStatus); }
private void linkKryptonCommand_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONCOMMAND, tsslCurrentStatus); }
private void linkKryptonSplitContainer_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONSPLITCONTAINER, tsslCurrentStatus); }
private void linkKryptonContextMenu_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONCONTEXTMENU, tsslCurrentStatus); }
void Awake() { instance = this; DontDestroyOnLoad(this.gameObject); }
private void linkKryptonWrapLabel_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONWRAPLABEL, tsslCurrentStatus); }
public ServerLibraryViewModel(Game game, Lazy <ServersViewModel> serversVm, IContentManager contentList, IServerList serverList, LaunchManager launchManager, IDialogManager dialogManager, ISpecialDialogManager specialDialogManager) { _serversVm = serversVm; _contentList = contentList; Settings = DomainEvilGlobal.Settings; _launchManager = launchManager; ServerList = serverList; _dialogManager = dialogManager; _specialDialogManager = specialDialogManager; SearchItem = new SearchServerLibraryItemViewModel(this, new CleanServerFilter()); this.SetCommand(x => x.JoinServ); JoinServ.RegisterAsyncTask( x => JoinServer((Server)x)) .Subscribe(); this.SetCommand(x => x.ServerInfoCommand).Cast <Server>().Subscribe(ServerInfo); UpdateCommand = UiTaskHandlerExtensions.CreateCommand("UpdateCommand", true, true); UpdateCommand.RegisterAsyncTaskVoid <Server>(UpdateServer).Subscribe(); this.SetCommand(x => x.ResetFiltersCommand).Subscribe(RefreshFilter); this.SetCommand(x => x.Note).Cast <Server>().Subscribe(ShowNotes); ViewType = Settings.ServerOptions.ViewType; this.ObservableForProperty(x => x.ViewType) .Select(x => x.Value) .BindTo(Settings, s => s.ServerOptions.ViewType); this.WhenAnyValue(x => x.ActiveItem) .Skip(1) .Subscribe(x => game.CalculatedSettings.Server = x); DomainEvilGlobal.SelectedGame.WhenAnyValue(x => x.ActiveGame.CalculatedSettings.Server) .Subscribe(x => ActiveItem = x); var playerSortDescriptions = new[] { new SortDescription("Score", ListSortDirection.Descending), new SortDescription("Deaths", ListSortDirection.Ascending) }; Players = new ReactiveList <Player>(); Players.EnableCollectionSynchronization(_playersLock); PlayersView = Players.SetupDefaultCollectionView(playerSortDescriptions, null, null, null, true); this.WhenAnyValue(x => x.SelectedItem.SelectedItem) .OfType <Server>() .BindTo(this, x => x.SelectedServer); this.WhenAnyValue(x => x.SelectedServer.Players) .ObserveOn(RxApp.MainThreadScheduler) .Subscribe(UpdatePlayers); this.WhenAnyValue(x => x.SelectedItem.SelectedItem) .Subscribe(x => { if (x == null) { Players.Clear(); } }); IsLoading = true; }
private void linkKryptonRadioButton_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONRADIOBUTTON, tsslCurrentStatus); }
private void linkKryptonTaskDialog_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONTASKDIALOG, tsslCurrentStatus); }
private void linkKryptonBorderEdge_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONBORDEREDGE, tsslCurrentStatus); }
private void linkKryptonCheckedListBox_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONCHECKEDLISTBOX, tsslCurrentStatus); }
private void linkKryptonSeparator_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONSEPARATOR, tsslCurrentStatus); }
private void linkKryptonRichTextBox_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONRICHTEXTBOX, tsslCurrentStatus); }
private void linkKryptonHeader_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONHEADER, tsslCurrentStatus); }
private void linkKryptonPalette_LinkClicked(object sender, EventArgs e) { LaunchManager.LaunchComponentExample(ComponentToolkitExamples.KRYPTONPALETTE, tsslCurrentStatus); }