- Cleanup of unecessary init calls
- added form1/form2 option to start menu in test project - added example for different forms with and without event handlers - added form examples to Readme.md
This commit is contained in:
@@ -62,7 +62,7 @@ namespace TelegramBotBase.Base
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Is this a system call ? Starts with a slash and command
|
||||
/// Is this a system call ? Starts with a slash '/' and a command
|
||||
/// </summary>
|
||||
public bool IsSystemCall
|
||||
{
|
||||
|
||||
@@ -50,7 +50,6 @@ namespace TelegramBotBase.Form
|
||||
|
||||
await message.DeleteMessage();
|
||||
|
||||
|
||||
ButtonBase button = this.Buttons.FirstOrDefault(a => a.Value == call.Value);
|
||||
|
||||
if (button == null)
|
||||
@@ -73,7 +72,6 @@ namespace TelegramBotBase.Form
|
||||
{
|
||||
ButtonForm btn = new ButtonForm();
|
||||
|
||||
|
||||
var buttons = this.Buttons.Select(a => new ButtonBase(a.Text, CallbackData.Create("action", a.Value))).ToList();
|
||||
btn.AddButtonRow(buttons);
|
||||
|
||||
|
||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||
// übernehmen, indem Sie "*" eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.3.1.2")]
|
||||
[assembly: AssemblyFileVersion("1.3.1.2")]
|
||||
[assembly: AssemblyVersion("1.3.1.3")]
|
||||
[assembly: AssemblyFileVersion("1.3.1.3")]
|
||||
|
||||
Reference in New Issue
Block a user