//雙擊DataGrid資料列事件
 private void dgvMIData_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     //建立MatchItemChartWindow類別,傳遞賽事玩法項目資料DataView,接著開啟視窗
     matchItemChartWindow = MatchItemChartWindow.GetInstance();
     matchItemChartWindow.MatchItemDataView = matchItemDataView;
     matchItemChartWindow.Show();
 }
Ejemplo n.º 2
0
 //MatchItemChartWindow實例建立設定
 public static MatchItemChartWindow GetInstance()
 {
     if (staticInstance == null)
     {
         staticInstance = new MatchItemChartWindow();
     }
     return(staticInstance);
 }
Ejemplo n.º 3
0
 //視窗即將關閉事件設定
 private void WindowOnClosed(object sender, EventArgs e)
 {
     staticInstance = null;
 }