خرید بک لینک

Vote count: 0

I got 2 forms for a application and I am using a system tray to get it as a popup. But when I enter my useame at my first form and open my second form and click at the popup icon in the bottom it doesn't work for the second form anymore.

I also have add this code at my second form.

here is the code;

private void Form1_Resize(object sender, EventArgs e)
{
    if (FormWindowState.Minimized == this.WindowState)
    {
        notifyIcon1.Visible = true;
        notifyIcon1.ShowBalloonTip(500);
        this.Hide();
    }
    else if (FormWindowState.Normal == this.WindowState)
    {
        notifyIcon1.Visible = false;
    }
}

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 3 خرداد 1395 ساعت: 16:20

صفحه بندی