private void Magh_S_Click(object sender, RoutedEventArgs e) { Insert.MaghazeS w = new Insert.MaghazeS(); if (w.newId != null && w.newId.Length > 0) { w.Show(); } }
private void INMGHS(object sender, RoutedEventArgs e) { Insert.MaghazeS w = new Insert.MaghazeS(); w.Topmost = true; if (w.newId.Length > 0) { w.Show(); } }
private void Magh_S_Click(object sender, RoutedEventArgs e) { if (session.allowInsert) { Insert.MaghazeS w = new Insert.MaghazeS(); if (w.newId != null && w.newId.Length > 0) { w.Show(); } } else { MessageBox.Show("شما اجازه دسترسی به این قسمت را ندارید", "عدم اجازه دسترسی", MessageBoxButton.OK, MessageBoxImage.Warning); } }
private void INMGHS(object sender, RoutedEventArgs e) { if (session.allowInsert) { Insert.MaghazeS w = new Insert.MaghazeS(); w.Topmost = true; if (w.newId != null && w.newId.Length > 0) w.Show(); } else { MessageBox.Show("شما اجازه دسترسی به این قسمت را ندارید", "عدم اجازه دسترسی", MessageBoxButton.OK, MessageBoxImage.Warning); } }
private void INMGHS(object sender, RoutedEventArgs e) { Insert.MaghazeS w = new Insert.MaghazeS(); w.Topmost = true; if (w.newId.Length > 0) w.Show(); }
private void Magh_S_Click(object sender, RoutedEventArgs e) { Insert.MaghazeS w = new Insert.MaghazeS(); if (w.newId != null && w.newId.Length > 0) w.Show(); }