Open SeeInSeeOut opened 8 years ago
What operating system please? Is this for Windows? I'll also need to see the code that handles the button click and loading call to the framework
Windows
Currently just a form with a button on it.
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.Threading;
using System.Windows.Forms;
using FMScoutFramework.Core;
using FMScoutFramework.Core.Entities.InGame;
using System.Diagnostics;
namespace FMScoutiee
{
public partial class Form1 : Form
{
public FMCore fmCore = new FMCore(FMScoutFramework.Core.Entities.DatabaseModeEnum.Realtime);
public Form1()
{
InitializeComponent();
}
private void loadData_Click(object sender, EventArgs e)
{
fmCore.GameLoaded += new Action(GameLoaded);
new Action(() => fmCore.LoadData()).BeginInvoke((s) => { }, null);
}
public void GameLoaded()
{
Debug.WriteLine("Load Done");
}
}
}
Any idea ThanosSiopoudis?
@SeeInSeeOut it is most likely an incompatibility in the framework with the version you are using. Is it from Steam?
Yes its from Steam.
15.3.2 627042 (m.e v1555)
Hi,
I'd used this framework when it was originally released, and come across some work I'd done in 2009 on an old hard drive....so pleased to see the framework is still being developed!
I read through the readme to try make this work with FM 2015 (v15.3.2) however I'm experiencing an error when just having a button to load data on a form.
Using visual studio 2015 Ent.