private void DoDisaggregation() { CDisaggregation disaggregation = new CDisaggregation(); TextBox txtRainfallFile = this.txtRainfallFile; string text = txtRainfallFile.Text; disaggregation.ReadParameters(ref this.MSFlexGrid1, ref text, ref this.m_StartDate); txtRainfallFile.Text = text; this.Cursor = Cursors.WaitCursor; disaggregation.Disaggregate(ref false, ref 5); disaggregation.PrintRainfallSeries(ref disaggregation.NumberOfRainfallSeries, ref this.m_OutputFile, ref this.m_StartDate); this.Convert45To60(); this.Cursor = Cursors.Default; }
private void Command2_Click(object eventSender, EventArgs eventArgs) { CDisaggregation disaggregation = new CDisaggregation(); TextBox txtRainfallFile = this.txtRainfallFile; string text = txtRainfallFile.Text; disaggregation.ReadParameters(ref this.MSFlexGrid1, ref text, ref this.m_StartDate); txtRainfallFile.Text = text; this.Cursor = Cursors.WaitCursor; disaggregation.Disaggregate(ref false, ref 4); disaggregation.PrintRainfallSeries(ref disaggregation.NumberOfRainfallSeries, ref this.m_OutputFile, ref this.m_StartDate); this.Convert15To24(); this.Cursor = Cursors.Default; }