Esempio n. 1
0
        private void ChatUI_Load(object sender, EventArgs e)
        {
            // test other ui
            // new ui_login().Show();

            ui_temp   = this;
            show_test = new ShowTest(set_test);
        }
Esempio n. 2
0
 /// <summary>
 ///     on test to do grid double click
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void TestToDoGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     try
     {
         //open window
         var win = new ShowTest((Test)TestToDoGrid.SelectedItem);
         win.ShowDialog();
         Refresh();
     }
     catch
     {
         // ignored
     }
 }
Esempio n. 3
0
        private void ShowTest_Click(object sender, EventArgs e)
        {
            ShowTest st = new ShowTest(soldeir.SoldierDataID);

            st.ShowDialog();
        }