public void OnTbtCheckoutPressButtonEvent(object o, EventArgs e) { Console.WriteLine("TbtCheckout"); CheckOutWindow cw = new CheckOutWindow(); this.ChangeMainLabel(cw.Title); this.ChangeEveChild(cw.vbCheckOut); }
protected override BaseWindow GetWindow() { MsgArgs arg = new MsgArgs() { Content = Amount.ToString() }; CheckOutWindow w = new CheckOutWindow(arg); w.Owner = App.Current.MainWindow; return(w); }
private void button2_Click(object sender, RoutedEventArgs e) { CheckOutWindow check = new CheckOutWindow(null); check.ShowDialog(); }