티스토리 뷰
1 2 3 4 5 6 7 8 9 10 | <Application x:Class="WPF_tutorial.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:WPF_tutorial" StartupUri="MainWindow.xaml"> : "MainWindow.xaml"이라는 Window 혹은 Page를 응용프로그램 구동 시 최초에 시작해라. <Application.Resources> </Application.Resources> </Application> | cs |
1 2 3 4 5 6 | <Application x:Class="WpfTutorialSamples.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Startup="Application_Startup"> StartupUri가 Startup으로 바뀌었습니다. <Application.Resources></Application.Resources> </Application> | cs |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | using System; using System.Collections.Generic; using System.Windows; namespace WpfTutorialSamples { public partial class App : Application { private void Application_Startup(object sender, StartupEventArgs e) { // Create the startup window MainWindow wnd = new MainWindow(); // Do stuff here, e.g. to the window wnd.Title = "Something else"; // Show the window wnd.Show(); 시작 창을 표시하기 전에 시작 창을 조작한다는 이점이 있습니다. } } } |
'C# > WPF' 카테고리의 다른 글
WPF tutorial - Resource (0) | 2017.06.20 |
---|---|
WPF tutorial - Command-line parameters in WPF (2) | 2017.06.20 |
WPF tutorial - window (0) | 2017.06.20 |
WPF tutorial - xaml의 이벤트 (0) | 2017.06.20 |
WPF tutorial - xaml이란, xaml 기본 (0) | 2017.06.20 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Add TapGesture
- dfs
- Grid
- DP
- 스택
- BFS
- BOJ
- 백준
- Fakebook
- 데이터 바인딩
- 문자열
- 생활코딩
- Custom Cell
- FEED
- Cell Animation
- UIView Animation
- CollectionView
- C++
- 그래프
- 코딩야학
- WPF
- listview
- 백준온라인
- 객체
- XAML
- command
- MVVM
- 타일링
- CustomCollectionViewCell
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
글 보관함