Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public partial class Messagebox
- {
- public Messagebox()
- {
- InitializeComponent();
- }
- public void Show(string title, string text)
- {
- Show();
- titleE.Content = title;
- textE.Content = text;
- }
- }
- public Messagebox Messagebox = new Messagebox();
- public MainWindow()
- {
- InitializeComponent();
- Messagebox.Show("ooooo", "text here");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement