Пример #1
0
 void bosungcodinhclick(object sender, RoutedEventArgs e)
 {
     if (App.sua)
     {
         frmeditcd editcd = new frmeditcd(true, "", 0);
         editcd.Show();
     }
 }
Пример #2
0
 void suacodinhclick(object sender, RoutedEventArgs e)
 {
     if (App.sua)
     {
         frmeditcd editcd = new frmeditcd(false, "", 0);
         editcd.Show();
     }
 }
Пример #3
0
 void sua()
 {
     if (App.sua)
     {
         string sdt = gridControl1.GetFocusedRowCellValue(sodt).ToString().Trim();
         txttim.Text = sdt;
         frmeditcd editcd = new frmeditcd(false, sdt,1);
         editcd.txtsdt.Text = sdt;
         this.Hide();
         editcd.Show();                
     }
 }