public frmSettings(InputOutputData inputOutputData) : base() { InitializeComponent(); this.inputOutputData = inputOutputData; boxWorkingHoursPerDay.Text = $"{inputOutputData.WorkingHoursPerDay}"; IsEventsEnabled = true; }
private void startIo_Click(object sender, EventArgs e) { inputOutputdata = new InputOutputData(dataTableAdapter, WayForConnect); inputOutputdata.StartReading(); startIo.Enabled = false; stopIo.Enabled = true; changeWayButton.Enabled = false; generateFileButton.Enabled = false; }
public frmProperties(InputOutputData inputOutputData) : base() { InitializeComponent(); this.inputOutputData = inputOutputData; IsEventsEnabled = false; boxAggressiveDurationInDays.Text = $"{inputOutputData.AggressiveDurationInMinutes * DurationTools.GetMinutes2Days()}"; boxSafeDurationInDays.Text = $"{inputOutputData.SafeDurationInMinutes * DurationTools.GetMinutes2Days()}"; IsEventsEnabled = true; }