Witam,
Nie wiem co jest nie tak. Próbowalem z funkcją Int64ToString itp.,ale nie dziala.
Proszę o pomoc.
"liczene" to label na formularzu.
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 WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Click(object sender, EventArgs e)
{
}
private void Button1_Click(object sender, EventArgs e)
{
int licz=0;
licz++;
liczenie.Text = licz;
if (tekst.Visible == false)
{
tekst.Visible = true;
przycisk.Text = "Schowam się!";
}
else
{
tekst.Visible = false;
przycisk.Text = "Pokażę się!";
}
}
}
}