C#/C#200제

    [C#] 22일차 - 164. WPF 디지털 시계

    using System; using System.Windows; using System.Windows.Threading;// DispatcherTimer를 위해 추가 namespace A164_WPF_DigitalClock { /// /// MainWindow.xaml에 대한 상호 작용 논리 /// public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); DispatcherTimer timer = new DispatcherTimer(); timer.Interval = new TimeSpan(0, 0, 1); // 1초 timer.Tick += Timer_Tick; // 이벤트 처리 메소드 지정 timer...

    [C#] 22일차 - 163. WPF 윈도우 표준 계산기의 디자인

    0 MC MR M- M+ MS % √ x² 1/x CE C a / 7 8 9 x 4 5 6 - 1 2 3 + ± 0 . =

    [C#] 22일차 - 161. WinForm 윈도우 표준 계산기

    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 A161_WinformCalc { public partial class Form1 : Form { private double saved; // txtResult에 있는 값 저장 private double memory; // 메모리에 저장된 값 private char op = '\0'; // 현재 계산할 op p..

    [C#] 22일차 - 160. WPF 간단한 계산기

    0 7 8 9 + 4 5 6 - 1 2 3 x . 0 = / using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using Syste..

    [C#] 21일차 - 159. WPF DispatcherTimer와 깜박이는 프로그램

    WPF는 타이머 기능을 DispatcherTimer를 사용해 구현한다. Strat Blinking! Stop Blinking! using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using S..