using System; using System.Collections.Generic; using System.Text; using TelegramBotBase.Controls.Hybrid; using TelegramBotBase.Form; namespace TelegramBotBase.Args { public class CheckedChangedEventArgs : EventArgs { /// /// Contains the index of the row where the button is inside. /// Contains -1 when it is a layout button or not found. /// public int Index { get; set; } /// /// Contains all buttons within this row, excluding the checkbox. /// public ButtonRow Row { get; set; } /// /// Contains the new checked status of the row. /// public bool Checked { get; set; } public CheckedChangedEventArgs() { } public CheckedChangedEventArgs(ButtonRow row, int Index, bool Checked) { this.Row = row; this.Index = Index; this.Checked = Checked; } } }