コード例 #1
0
        private void ConfirmTrading_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            VentanaCompras compras = new VentanaCompras();

            this.Hide();
            compras.Show();
        }
コード例 #2
0
        public Confirm_trading()
        {
            InitializeComponent();
            VentanaCompras ventana = new VentanaCompras();

            txtNameObj.Text = ventana.TxtNameItem.Text;
            txtDescObj.Text = ventana.txtDescItem.Text;
        }
コード例 #3
0
        void button_click(object sender, RoutedEventArgs e)
        {
            Button btn = sender as Button;

            string ReplaceName = btn.Name;

            NameBtn = ReplaceName.Replace("btn", "");
            VentanaCompras buyit = new VentanaCompras();

            buyit.Show();
            this.Hide();
        }