void catgphoneclick(object sender, RoutedEventArgs e) { if (App.sua) { frmcatgp catgp = new frmcatgp("",false); catgp.Show(); } }
private void cmdCat_Click(object sender, RoutedEventArgs e) { if (App.sua) { string sdt = gridControl1.GetFocusedRowCellValue(sodt).ToString().Trim(); txttim.Text = sdt; frmcatgp catgp = new frmcatgp(sdt,true); catgp.txtsdt.Text = sdt; this.Hide(); catgp.Show(); } }