public ViewMatchSessions(
     Logging.LoggingInterfaces.ITracer logger)
 {
     this.logger = logger;
     this.context = FSharpInterop.Interop.GetNewContext();
     InitializeComponent();
 }
        public ManagePlayers(Logging.LoggingInterfaces.ITracer logger)
        {
            this.logger = logger;

            // this is a copy.. this way we can discard everything at the end, if we need to
            wrapper = FSharpInterop.Interop.GetNewContext();
            InitializeComponent();
        }
 public ManageWatchFolder(Logging.LoggingInterfaces.ITracer logger, LocalDatabaseWrapper context, WrapperDataTable.WrapperTable<WatchFolder> wrapperTable, Game game)
 {
     this.logger = logger;
     this.context = context;
     this.wrapperTable = wrapperTable;
     this.wrapperTableCopy = wrapperTable.Clone();
     wrapperTableCopy.UserAddedRow += wrapperTableCopy_UserAddedRow;
     wrapperTableCopy.DeletedRow += wrapperTableCopy_DeletedRow;
     this.game = game;
     InitializeComponent();
 }
        public MatchSessionEnd(
            Logging.LoggingInterfaces.ITracer logger,
            LocalDatabaseWrapper context,
            SessionData sessionData,
            MatchSession session)
        {
            this.logger = logger;
            this.context = context;
            this.sessionData = sessionData;
            matchmediaTableCopy = sessionData.Item1.Clone();

            playerTableCopy = sessionData.Item2.Clone();
            this.session = session;
            InitializeComponent();
        }
 public EditMatchSession(
     Logging.LoggingInterfaces.ITracer logger,
     LocalDatabaseWrapper context,
     SessionData sessionData,
     MatchSession session,
     bool matchEndMode)
 {
     this.logger = logger;
     this.context = context;
     matchmediaData = sessionData.Item1;
     matchmediaDataCopy = matchmediaData.Clone();
     playersData = sessionData.Item2;
     playersDataCopy = playersData.Clone();
     this.session = session;
     this.matchEndMode = matchEndMode;
     InitializeComponent();
 }