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