void ReleaseDesignerOutlets()
        {
            if (HistoryLabel != null)
            {
                HistoryLabel.Dispose();
                HistoryLabel = null;
            }

            if (LossLabel != null)
            {
                LossLabel.Dispose();
                LossLabel = null;
            }

            if (WinLabel != null)
            {
                WinLabel.Dispose();
                WinLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (HistoryLabel != null)
            {
                HistoryLabel.Dispose();
                HistoryLabel = null;
            }

            if (HistoryTableView != null)
            {
                HistoryTableView.Dispose();
                HistoryTableView = null;
            }

            if (NoHistoryLabel != null)
            {
                NoHistoryLabel.Dispose();
                NoHistoryLabel = null;
            }
        }
Пример #3
0
 private void DeleteHistoryButton_Click(object sender, EventArgs e)
 {
     HistoryLabel.ResetText();
 }