private void RunSetActionsGrid_RowChangedEvent(object sender, EventArgs e)
 {
     RunSetActionEditFrame.Content = null;
     if (RunSetActionsGrid.CurrentItem != null)
     {
         RunSetActionEditPage RSAEP = null;
         if (((Amdocs.Ginger.Repository.RepositoryItemBase)RunSetActionsGrid.CurrentItem).ItemName == "Open ALM Defects")
         {
             if (runSetActionEditPage == null)
             {
                 runSetActionEditPage = new RunSetActionEditPage((RunSetActionBase)RunSetActionsGrid.CurrentItem);
                 RSAEP = runSetActionEditPage;
             }
             else
             {
                 RSAEP = runSetActionEditPage;
             }
         }
         else
         {
             RSAEP = new RunSetActionEditPage((RunSetActionBase)RunSetActionsGrid.CurrentItem);
         }
         RunSetActionEditFrame.Content = RSAEP;
     }
 }
예제 #2
0
 private void RunSetActionsGrid_RowChangedEvent(object sender, EventArgs e)
 {
     RunSetActionEditFrame.Content = null;
     if (RunSetActionsGrid.CurrentItem != null)
     {
         RunSetActionEditPage RSAEP = new RunSetActionEditPage((RunSetActionBase)RunSetActionsGrid.CurrentItem);
         RunSetActionEditFrame.Content = RSAEP;
     }
 }
예제 #3
0
        private void SetContentAndEventsListeners()
        {
            RunSetActionsGrid.DataSourceList   = mRunSetConfig.RunSetActions;
            RunSetActionsGrid.RowChangedEvent += RunSetActionsGrid_RowChangedEvent;

            RunSetActionEditFrame.Content = null;
            if (RunSetActionsGrid.CurrentItem != null)
            {
                RunSetActionEditPage RSAEP = new RunSetActionEditPage((RunSetActionBase)RunSetActionsGrid.CurrentItem);
                RunSetActionEditFrame.Content = RSAEP;
            }
        }