void bosunggphoneclick(object sender, RoutedEventArgs e) { if (App.sua) { frmeditgp editgp = new frmeditgp(true, "", 0); editgp.Show(); } }
void suagphoneclick(object sender, RoutedEventArgs e) { if (App.sua) { frmeditgp editgp = new frmeditgp(false, "", 0); editgp.Show(); } }
void sua() { if (App.sua) { string sdt = gridControl1.GetFocusedRowCellValue(sodt).ToString().Trim(); txttim.Text = sdt; frmeditgp editgp = new frmeditgp(false, sdt,1); editgp.txtsdt.Text = sdt; this.Hide(); editgp.Show(); } }