protected virtual void View_ChangedActionEvent() { TransferAction selected = View.SelectedAction; if (Action.equals(selected)) { return; } Preferences.instance().setProperty("queue.prompt.action.default", selected.toString()); Action = selected; ReloadData(); }
protected override void View_ChangedActionEvent() { TransferAction selected = View.SelectedAction; if (Action.equals(selected)) { return; } Preferences.instance().setProperty("queue.sync.action.default", selected.toString()); ((SyncTransfer)Transfer).setTransferAction(selected); ReloadData(); }
protected virtual void View_ChangedActionEvent() { TransferAction selected = View.SelectedAction; if (Action.equals(selected)) { return; } PreferencesFactory.get() .setProperty(String.Format("queue.prompt.{0}.action.default", Transfer.getType().name()), selected.toString()); Action = selected; TransferPromptModel.SetAction(selected); ReloadData(); }