C#/C#200제
[C#] 21일차 - 152. WMP 컨트롤을 이용한 동영상 플레이어
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 A152_WMP { public partial class Form1 : Form { public Form1() { InitializeComponent(); WMP.uiMode = "full"; WMP.stretchToFit = true; btnFile.Location = new Point( ClientSize...
[C#] 21일차 - 151. WindowsMediaPlayer를 이용한 소리나는 알람시계
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; using WMPLib; // WindowsMediaPlayer namespace A150_TabControl { public partial class Form1 : Form { private Timer myTimer = new Timer(); private DateTime dDay; // 알람 날짜 private DateTim..
[C#] 21일차 - 150. TabControl을 사용한 디지털 알람시계
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 A150_TabControl { public partial class Form1 : Form { private Timer myTimer = new Timer(); private DateTime dDay; // 알람 날짜 private DateTime tTime; // 알람 시간 private bool setAl..
[C#] 20일차 - 149. DateTimePicker를 이용한 날짜 계산기
DateTimePicker 달력 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 A149_DateTimePicker { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void dateTimePicker1_ValueChanged(object sender,..
[C#] 20일차 - 148. TrackBar와 ProgressBar
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 A148_TrackBarNProgressBar { public partial class Form1 : Form { public Form1() { InitializeComponent(); timer1.Interval = 100; // 0.1초 timer1.Tick += Timer1_Tick; trackBar1.M..