コード例 #1
0
 public studentInfo(MySqlConnection connection, string id, studentSerch s)
 {
     globalConnection = connection;
     studentID        = id;
     page             = s;
     InitializeComponent();
     bnd.bindCombobox(citizenship, globalConnection);
 }
コード例 #2
0
ファイル: eviction.xaml.cs プロジェクト: GesamalKoT/Test
 public eviction(MySqlConnection connection, string t, studentInfo s, string ID, studentSerch p)
 {
     globalConnection = connection;
     type             = t;
     id = ID;
     InitializeComponent();
     window = s;
     page   = p;
 }
コード例 #3
0
ファイル: Functions.xaml.cs プロジェクト: GesamalKoT/Test
        private void testLabel4_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            int k = 0;

            if (testLabel3.Content.ToString() == "Есть временно выселенные проживающие ожидающие заселения")
            {
                k = 3;
            }
            studentSerch search_st = new studentSerch(globalConnection, k);

            this.NavigationService.Navigate(search_st);
        }
コード例 #4
0
ファイル: Functions.xaml.cs プロジェクト: GesamalKoT/Test
        private void testLabel1_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            int k = 0;

            if (testLabel1.Content.ToString() == "Есть проживающие, у которых закончился период проживания")
            {
                k = 2;
            }
            if (testLabel1.Content.ToString() == "Есть проживающие, не оплатившие проживание")
            {
                k = 1;
            }
            if (testLabel1.Content.ToString() == "Есть временно выселенные проживающие ожидающие заселения")
            {
                k = 3;
            }
            studentSerch search_st = new studentSerch(globalConnection, k);

            this.NavigationService.Navigate(search_st);
        }
コード例 #5
0
ファイル: Functions.xaml.cs プロジェクト: GesamalKoT/Test
        private void search_Student_Click(object sender, RoutedEventArgs e)
        {
            studentSerch search_st = new studentSerch(globalConnection);

            this.NavigationService.Navigate(search_st);
        }