התחלתי היום ללמוד C# ויש לי שאלה.
הנה הקוד שלי
קוד:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void progressBar1_Click(object sender, EventArgs e)
{
progressBar1.Minimum = 1;
progressBar1.Maximum = 100;
progressBar1.Value = textBox1.Text;
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
הוא מבקש ממני להמיר משתנה מSTRING לINT , איך אני עושה את זה
עוד שאלה , אם אני עובד עם קונסול איך אני יכול להגיד לה שלא תיסגר אוטומתית לאחר הרצת הפקודות
אורי