Exemple #1
0
        private void Modify_OnExecuted(object sender, ExecutedRoutedEventArgs e)
        {
            WinAddShipShares addShipSharesWindow = new WinAddShipShares((int)e.Parameter);

            //将当前页面对象赋给弹出窗,用于反向调用
            addShipSharesWindow.parentWin = this;
            addShipSharesWindow.Show();
        }
Exemple #2
0
        private void btnAddShipShares_OnClick(object sender, RoutedEventArgs e)
        {
            WinAddShipShares addShipSharesWindow = new WinAddShipShares();

            //将当前页面对象赋给弹出窗,用于反向调用
            addShipSharesWindow.parentWin = this;
            addShipSharesWindow.Show();
        }