Esempio n. 1
0
 private void cmdCat_Click(object sender, RoutedEventArgs e)
 {
     if (App.sua)
     {                
         string usr = gridControl1.GetFocusedRowCellValue(account).ToString().Trim();
         txttim.Text = usr;
         frmcatmy catmy = new frmcatmy(usr);
         catmy.txtusr.Text = usr;
         this.Hide();
         catmy.Show();                
     }
 }
Esempio n. 2
0
 void catmytvclick(object sender, RoutedEventArgs e)
 {
     if (App.sua)
     {
         frmcatmy catmy = new frmcatmy("");                 
         catmy.Show();        
     }
 }