Exemplo n.º 1
0
        private void requestExecuteCommand(CommandItem commandItem)
        {
            EventArgs <CommandItem> args = new EventArgs <CommandItem>(commandItem);

            ExecuteCommand.Fire(this, args);
            applySettings();
        }
Exemplo n.º 2
0
        private void requestLocationChange()
        {
            EventArgs <CommandItem> args =
                new EventArgs <CommandItem>(new CommandItem(HotBabeCommand.LocationChanged, Location));

            ExecuteCommand.Fire(this, args);
        }
Exemplo n.º 3
0
        private string requestIconText()
        {
            EventArgs <CommandItem> args =
                new EventArgs <CommandItem>(new CommandItem(HotBabeCommand.RequestIconText));

            ExecuteCommand.Fire(this, args);
            return((string)args.Value.Parameter);
        }