Hi All,
I created one sample Window form application and posted the full code below and problem what i am facing here is form is locked,
unable to move screen of window form using mouse cursor.
using timer is mandatory in this.
using System;
using System.Windows.Forms;
namespace WinScreenLocked
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
int Number = 0;
private void timer1_Tick(object sender, EventArgs e)
{
while (true)
{
textBox1.Text = Number.ToString();
Number++;
}
}
private void button1_Click(object sender, EventArgs e)
{
timer1.Start();
}
}
}


Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 22, 2019, 9:06 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Apr 22, 2019, 10:20 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 22, 2019, 11:14 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Apr 22, 2019, 11:30 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 22, 2019, 11:41 PM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Apr 22, 2019, 11:44 PM EDT
Amit KumarRank #459 · 5.4K reputationPosted Apr 22, 2019, 7:37 PM EDT