Beispiel #1
0
        private void ColRelationshipTail_EditItemClicked(object sender, EditItemClickEventArg e)
        {
            frmEntityRelationshipTail view = new frmEntityRelationshipTail(EntityID);

            MyProjectManager.GetMyProjectManager.ShowDialog(view, "رابطه");
            view.ItemSelected += (sender1, e1) => View_ItemSelected(sender1, e1, (sender as MyStaticLookup));
        }
Beispiel #2
0
        //private void btnReturn_Click(object sender, RoutedEventArgs e)
        //{
        //    this.Close();
        //}



        private void btnRelationshipTail_Click(object sender, RoutedEventArgs e)
        {
            frmEntityRelationshipTail view = new frmEntityRelationshipTail(EntityID);

            view.ItemSelected += View_ItemSelected;
            view.ShowDialog();
        }
        private void ColRelationshipTail_EditItemClicked(object sender, MyCommonWPFControls.EditItemClickEventArg e)
        {
            frmEntityRelationshipTail frm = null;

            frm = new frmEntityRelationshipTail(EntityID);
            MyProjectManager.GetMyProjectManager.ShowDialog(frm, "رابطه های مرتبط");
            frm.ItemSelected += (sender1, e1) => Frm_TailSelected(sender1, e1, (sender as MyStaticLookup));
        }
Beispiel #4
0
 private void ColRelationshipTail_EditItemClicked(object sender, EditItemClickEventArg e)
 {
     if (lokFirstSideEntity.SelectedItem != null)
     {
         frmEntityRelationshipTail view = new frmEntityRelationshipTail((int)lokFirstSideEntity.SelectedValue);
         MyProjectManager.GetMyProjectManager.ShowDialog(view, "رابطه");
         view.ItemSelected += (sender1, e1) => View_ItemSelected(sender1, e1, (sender as MyStaticLookup));
     }
 }
Beispiel #5
0
        //private void btnReturn_Click(object sender, RoutedEventArgs e)
        //{
        //    MyProjectManager.GetMyProjectManager.CloseDialog(this);
        //}



        private void btnRelationshipTail_Click(object sender, RoutedEventArgs e)
        {
            if (lokEntities.SelectedItem != null)
            {
                frmEntityRelationshipTail view = new frmEntityRelationshipTail((int)lokEntities.SelectedValue);
                view.ItemSelected += View_ItemSelected;
                MyProjectManager.GetMyProjectManager.ShowDialog(view, "رابطه های مرتبط");
            }
        }