Transparentna Forma C# Source Code

  • Uploaded by: Nikola Lukic
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Transparentna Forma C# Source Code as PDF for free.

More details

  • Words: 123
  • Pages: 3
[email protected] Nikola Lukic Nis Programski jezik c# 2008

Obrisi ceo sadrzaj form1 I iskopiraj dati kod!!!

using using using using using using using using

System; System.Collections.Generic; System.ComponentModel; System.Data; System.Drawing; System.Linq; System.Text; System.Windows.Forms;

namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } private void timer1_Tick(object sender, EventArgs e) { if (nik.Value >= 100) { timer2.Enabled = true; timer1.Enabled = false; } else { nik.Value = nik.Value + 5; this.Opacity = (double)nik.Value / 100; } } private void timer2_Tick(object sender, EventArgs e) { if (nik.Value <= 0) { timer1.Enabled = true; timer2.Enabled = false; } else { nik.Value = nik.Value - 5; this.Opacity = (double)nik.Value / 100; } }

}

}

Related Documents


More Documents from ""