public MessageHandler(TelegramBotClient client, MainProvider provider, CommandProvider commandProvider, AdminHandler adminHandler) { this.client = client; this.provider = provider; this.commandProvider = commandProvider; this.adminHandler = adminHandler; authSystem = new AuthenticateSystem(client, provider); chatCommands = new ChatCommands(client, provider); addCash = new AddCash(client, provider); }
private void _loginView_AddCash(object sender, EventArgs e) { AddCash?.Invoke(this, null); }
private void buttonAddCash_Click(object sender, EventArgs e) { AddCash?.Invoke(this, e); }