예제 #1
0
 void AddWin_SelectSolutionComplete(object sender, ReplicationProgram.SelectSolutionEventArgs e)
 {
     isCopy = true;
     travelObj = e.solution;
     travelObj.PROGRAMMENAME = "";
     DetailSolutionInfo(travelObj);
     client.GetVechileStandardAndPlaneLineAsync(travelObj.TRAVELSOLUTIONSID, RefPlaneList, RefvechileList, "DefaultSolution");
    
 }
예제 #2
0
        /// <summary>
        /// 复制按钮事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void SolutionManagement_Click(object sender, RoutedEventArgs e)
        {
            ReplicationProgram AddWin = new ReplicationProgram();
            AddWin.SelectSolutionComplete += AddWin_SelectSolutionComplete;
            EntityBrowser browser = new EntityBrowser(AddWin);
            browser.MinWidth = 500;
            browser.MinHeight = 350;
            browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
            browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
            //if (browser.ParentWindow != null)
            //{
            //    browser.ParentWindow.Closed += (sender2, args) =>
            //    {

            //       //LoadSolutionInfos();
                  
            //    };
            //}
        }