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