From d1089fe7162e9d72258c089c8fe3b5889eacd801 Mon Sep 17 00:00:00 2001 From: Florian Zevedei Date: Sat, 16 Sep 2023 17:11:21 +0200 Subject: [PATCH] editing Label example project --- TelegramBotBase.Test/Tests/Controls/LabelForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TelegramBotBase.Test/Tests/Controls/LabelForm.cs b/TelegramBotBase.Test/Tests/Controls/LabelForm.cs index 577a4cd..fe1ba7f 100644 --- a/TelegramBotBase.Test/Tests/Controls/LabelForm.cs +++ b/TelegramBotBase.Test/Tests/Controls/LabelForm.cs @@ -11,7 +11,7 @@ namespace TelegramBotBase.Example.Tests.Controls; public class LabelForm : AutoCleanForm { - TelegramBotBase.Controls.Inline.LabelControl _label; + TelegramBotBase.Controls.Inline.Label _label; ButtonGrid _buttonGrid; @@ -27,7 +27,7 @@ public class LabelForm : AutoCleanForm private Task LabelForm_Init(object sender, InitEventArgs e) { //The "label" control - _label = new LabelControl("My test label"); + _label = new Label("My test label"); AddControl(_label);