Assembly.cs не найден C# WinForms, пакет gMap
using GMap.NET.MapProviders;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Altways
{
public partial class MainScreen : Form
{
public MainScreen()
{
InitializeComponent();
}
private void MainScreen_Load(object sender, EventArgs e)
{
}
private void MainScreen_FormClosed(object sender, FormClosedEventArgs e)
{
Application.Exit();
}
private void label1_Click(object sender, EventArgs e)
{
}
private void signInPanel_Paint(object sender, PaintEventArgs e)
{
}
private void panel1_Paint(object sender, PaintEventArgs e)
{
}
private async void buttValidRun_Click(object sender, EventArgs e)
{
AvailableTruckRuns.Visible = true;
while (AvailableTruckRuns.Location.X < 200)
{
await Task.Delay(1);
AvailableTruckRuns.Location = new Point(AvailableTruckRuns.Location.X + 5, AvailableTruckRuns.Location.Y);
}
}
private void butt_Click(object sender, EventArgs e)
{
AvailableTruckRuns.Visible = false;
}
private void button4_Click(object sender, EventArgs e)
{
}
private void ButtMap_Click(object sender, EventArgs e)
{
gMapControl1.MapProvider = GMap.NET.MapProviders.GMapProviders.GoogleMap;
GMap.NET.GMaps.Instance.Mode = GMap.NET.AccessMode.ServerOnly;
}
}
}
