- updating namespaces in test project

- adding chat splitter to testproject to allow single chat and group chat examples at the same time
This commit is contained in:
FlorianDahn
2019-11-23 02:44:05 +01:00
parent 6ebdd9f208
commit 0ceab58059
21 changed files with 224 additions and 179 deletions
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
using TelegramBotBase.Controls;
using TelegramBotBase.Form;
namespace TelegramBaseTest.Tests.Controls
namespace TelegramBotBaseTest.Tests.Controls
{
public class ButtonGridForm : AutoCleanForm
{
@@ -50,7 +50,7 @@ namespace TelegramBaseTest.Tests.Controls
if (e.Button.Value == "back")
{
var start = new Start();
var start = new Menu();
await this.NavigateTo(start);
}
else if (e.Button.Value == "switch")
@@ -8,7 +8,7 @@ using TelegramBotBase.Base;
using TelegramBotBase.Form;
using TelegramBotBase.Controls;
namespace TelegramBaseTest.Tests.Controls
namespace TelegramBotBaseTest.Tests.Controls
{
public class CalendarPickerForm : AutoCleanForm
{
@@ -39,7 +39,7 @@ namespace TelegramBaseTest.Tests.Controls
{
case "back":
var s = new Start();
var s = new Menu();
await this.NavigateTo(s);
@@ -8,7 +8,7 @@ using TelegramBotBase.Base;
using TelegramBotBase.Form;
using TelegramBotBase.Controls;
namespace TelegramBaseTest.Tests.Controls
namespace TelegramBotBaseTest.Tests.Controls
{
public class MonthPickerForm : AutoCleanForm
{
@@ -38,7 +38,7 @@ namespace TelegramBaseTest.Tests.Controls
{
case "back":
var s = new Start();
var s = new Menu();
await this.NavigateTo(s);
@@ -6,7 +6,7 @@ using System.Threading.Tasks;
using TelegramBotBase.Controls;
using TelegramBotBase.Form;
namespace TelegramBaseTest.Tests.Controls
namespace TelegramBotBaseTest.Tests.Controls
{
public class ToggleButtons : AutoCleanForm
{
@@ -7,7 +7,7 @@ using TelegramBotBase.Form;
using TelegramBotBase.Controls;
using TelegramBotBase.Base;
namespace TelegramBaseTest.Tests.Controls
namespace TelegramBotBaseTest.Tests.Controls
{
public class TreeViewForms : AutoCleanForm
{
@@ -60,7 +60,7 @@ namespace TelegramBaseTest.Tests.Controls
message.Handled = true;
var start = new Start();
var start = new Menu();
await this.NavigateTo(start);