static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); List <Store> stores3 = QrApi.GetStores(); //List<String> stores = QrApi.GetFilesFrom(); //List<Store> stores1 = new List<Store>(); //foreach(String i in stores) //{ // stores1.Add(new Store(i)); //} Application.Run(new Form1(stores3)); }
private void button4_Click(object sender, EventArgs e) { string test = Testingbox.Text; QrApi.CreateImage(test, "Testing2"); }
public void GenerateImage() { string text = JsonConvert.SerializeObject(this); QrApi.CreateImage(text, this.storeName); }