コード例 #1
0
ファイル: MainPage.xaml.cs プロジェクト: cafe1013/win8
        private void Page_Loaded_1(object sender, RoutedEventArgs e)
        {
            for (int i = 0; i < 20; i++)
            {
                ListViewItemPad item = new ListViewItemPad();
                item.Title = string.Format("title {0}", i);
                item.Date  = DateTime.Now;
                item.Text  = makeText(item.Title);
                listView1.Items.Add(item);
            }

            Window.Current.SizeChanged += Current_SizeChanged;
            popup1.Button1Click        += popup1_Click_1;
            popup1.Visibility           = Visibility.Collapsed;
            textBoxAni.Visibility       = Visibility.Collapsed;
        }
コード例 #2
0
ファイル: MainPage.xaml.cs プロジェクト: moonmile/win8
        private void Page_Loaded_1(object sender, RoutedEventArgs e)
        {
            for (int i = 0; i < 20; i++)
            {
                ListViewItemPad item = new ListViewItemPad();
                item.Title = string.Format("title {0}", i);
                item.Date = DateTime.Now;
                item.Text = makeText(item.Title);
                listView1.Items.Add(item);
            }

            Window.Current.SizeChanged += Current_SizeChanged;
            popup1.Button1Click += popup1_Click_1;
            popup1.Visibility = Visibility.Collapsed;
            textBoxAni.Visibility = Visibility.Collapsed;
        }