public SafeProgressBar() : base() { getMaximumMethod += new getMaximumMethodInvoker(this.getMaximum); setMaximumMethod += new setMaximumMethodInvoker(this.setMaximum); getValueMethod += new getValueMethodInvoker(this.getValue); setValueMethod += new setValueMethodInvoker(this.setValue); getVisibleMethod += new getVisibleMethodInvoker(this.getVisible); setVisibleMethod += new setVisibleMethodInvoker(this.setVisible); }
internal FImport(ref Common.Interface newCommon) { // // Required for Windows Form Designer support // InitializeComponent(); setCursorMethod += new setCursorMethodInvoker(setCursor); setVisibleMethod += new setVisibleMethodInvoker(setVisible); CommonCode = newCommon; Trace.WriteLine("FImport: Creating"); try { Resize +=new EventHandler(FImport_Resize); // Default columnorder columnOrder.Add(Common.Interface.ImportFileColumns.ShooterId.ToString(), 0); columnOrder.Add(Common.Interface.ImportFileColumns.ClubId.ToString(), 1); columnOrder.Add(Common.Interface.ImportFileColumns.Surname.ToString(), 2); columnOrder.Add(Common.Interface.ImportFileColumns.Givenname.ToString(), 3); columnOrder.Add(Common.Interface.ImportFileColumns.ShooterClass.ToString(), 4); columnOrder.Add(Common.Interface.ImportFileColumns.Email.ToString(), 5); columnOrder.Add(Common.Interface.ImportFileColumns.WeaponId.ToString(), 6); columnOrder.Add(Common.Interface.ImportFileColumns.Patrol.ToString(), 7); columnOrder.Add(Common.Interface.ImportFileColumns.Lane.ToString(), 8); CommonCode.UpdatedFileImportCount += new UpdatedFileImportCountHandler(CommonCode_UpdatedFileImportCount); CallDataBindToDataGrid = new MethodInvoker(dataGridResultDataBind); } catch(Exception exc) { Trace.WriteLine("FImport: Exception: " + exc.ToString()); throw; } finally { Trace.WriteLine("FImport: Created."); } }
internal FImport(ref Common.Interface newCommon) { // // Required for Windows Form Designer support // InitializeComponent(); setCursorMethod += new setCursorMethodInvoker(setCursor); setVisibleMethod += new setVisibleMethodInvoker(setVisible); CommonCode = newCommon; Trace.WriteLine("FImport: Creating"); try { Resize += new EventHandler(FImport_Resize); // Default columnorder columnOrder.Add(Common.Interface.ImportFileColumns.ShooterId.ToString(), 0); columnOrder.Add(Common.Interface.ImportFileColumns.ClubId.ToString(), 1); columnOrder.Add(Common.Interface.ImportFileColumns.Surname.ToString(), 2); columnOrder.Add(Common.Interface.ImportFileColumns.Givenname.ToString(), 3); columnOrder.Add(Common.Interface.ImportFileColumns.ShooterClass.ToString(), 4); columnOrder.Add(Common.Interface.ImportFileColumns.Email.ToString(), 5); columnOrder.Add(Common.Interface.ImportFileColumns.WeaponId.ToString(), 6); columnOrder.Add(Common.Interface.ImportFileColumns.Patrol.ToString(), 7); columnOrder.Add(Common.Interface.ImportFileColumns.Lane.ToString(), 8); CommonCode.UpdatedFileImportCount += new UpdatedFileImportCountHandler(CommonCode_UpdatedFileImportCount); CallDataBindToDataGrid = new MethodInvoker(dataGridResultDataBind); } catch (Exception exc) { Trace.WriteLine("FImport: Exception: " + exc.ToString()); throw; } finally { Trace.WriteLine("FImport: Created."); } }