Пример #1
0
        private void ToolStripMenuItemHistory_Click(object sender, EventArgs e)
        {
            try
            {
                STPlayer data = GetSelectionData();

                HistoryPlayer wnd = new HistoryPlayer(connect, mode, data);

                DialogResult result = wnd.ShowDialog();
            }
            catch (Exception ex) { MessageBox.Show(ex.Message); }
        }
Пример #2
0
        private void ToolStripMenuItemHistory_Click(object sender, EventArgs e)
        {
            try
            {
                STEntryPlayers?data = GetSelectionData();
                STEntryPlayers ret  = (STEntryPlayers)data;

                CPlayer clP = new CPlayer(connect, ret.idplayer);

                HistoryPlayer wnd = new HistoryPlayer(connect, mode, clP.stPlayer);

                DialogResult result = wnd.ShowDialog();
            }
            catch (Exception ex) { MessageBox.Show(ex.Message); }
        }