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