Exemplo n.º 1
0
        public MainWindow()
        {
            ivDraft = new Draft();
            InitializeComponent();
            ivDraft.OnNewRoundStart += OnNewRoundStart;
            ivDraft.OnRoundFinished += OnRoundFinished;

            DataContext = ivDraft;
        }
Exemplo n.º 2
0
 public void SaveDraft(Draft draft, string id)
 {
     drafts[id] = draft;
 }