분류 전체보기
-
C# WPF 체스판 만들기카테고리 없음 2022. 4. 13. 12:55
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 System.Windows.Shapes; namespace _033_u..
-
C# WPF 체크박스C# 2022. 4. 13. 12:33
좋아하는 프로그래밍 언어를 선택하세요. C C++ C# Python Java 투표하기 끝내기 디자인 코드 StackPanel은 순서대로 생성함 namespace _023 { /// /// Interaction logic for MainWindow.xaml /// /// public partial class MainWindow : Window { CheckBox[] cbs; public MainWindow() { InitializeComponent(); cbs = new CheckBox[] { cbC, cbCPP, cbCS, cbPy, cbCJa }; } private void Button2_Click(object sender, RoutedEventArgs e) { this.Close(); } privat..
-
WPF - Hello WorldC# 2022. 4. 13. 12:10
UI 디자인 Hello World! 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 System.Windows.Shap..
-
백준 2775번 부녀회장이 될테야알고리즘 2022. 4. 6. 11:30
https://www.acmicpc.net/problem/2775 2775번: 부녀회장이 될테야 첫 번째 줄에 Test case의 수 T가 주어진다. 그리고 각각의 케이스마다 입력으로 첫 번째 줄에 정수 k, 두 번째 줄에 정수 n이 주어진다 www.acmicpc.net #include static int Test_Case(int x, int y) { int n[14] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 }; for (int i = 1; i = 1; a--) { for (int b = 1; b > t; for (int i = 0; i > x; ..
-
dataTimePickerC#/WindowForm 2022. 4. 6. 11:23
글씨체는 메이플스토리로 사용함 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 wdq { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void DateTimePicker1_ValueChanged(object sender, EventArgs e) { D..
-
Timer 사용C#/WindowForm 2022. 4. 6. 11:17
실행코드 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 _29 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { label1.Location = new Point(Cli..
-
ComboBox를 사용한 학점 계산기C#/WindowForm 2022. 4. 6. 11:08
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 WindowsFormsApp2 { public partial class Form1 : Form { TextBox[] titles; ComboBox[] crds; ComboBox[] grds; public Form1() { InitializeComponent(); } private void Form1_Load(o..