コード例 #1
0
        //增加输出
        private void MenuItem_Click_1(object sender, RoutedEventArgs e)
        {
            List <string> assets = new List <string>();

            //弹出输出对话框
            foreach (Tools.Input i in this.listInput.Items)
            {
                if (assets.Contains(i.Coin.assetID) == false)
                {
                    assets.Add(i.Coin.assetID);
                }
            }
            var output = Dialog_Transfer_Target.ShowDialog(this, assets.ToArray());

            if (output != null)
            {
                listOutput.Items.Add(output);
            }
            updateOutput();
        }