private void MergeFile_Click(object sender, EventArgs e) { DlgWaiting dlg = new DlgWaiting(); dlg.OnAction += dlg_OnAction; dlg.ShowDialog(this); }
private void RefreshButton_Click(object sender, EventArgs e) { ParameterSetting dlg = new ParameterSetting(_db); if (dlg.ShowDialog(this) == DialogResult.Cancel) { return; } this.dateTimePicker_Start.Value = dlg.wpf.StartTime; this.dateTimePicker_End.Value = dlg.wpf.EndTime; DlgWaiting wait = new DlgWaiting(); wait.OnAction += dlg_OnAction; wait.ShowDialog(); //this.textBox_LSL.Text = this._lsl; //this.textBox_USL.Text = this._usl; //this.textBox_Target.Text = this._target; //this.tb_Sigma.Text = this._sigma; //this.tb_M3Sigma.Text = this._m3Sigma; //this.tb_P3Sigma.Text = this._p3Sigma; //this.tb_Average.Text = this._average; }
private void TsbShowValueLabel_Click(object sender, EventArgs e) { try { TsbShowValueLabel.Checked = !TsbShowValueLabel.Checked; Properties.Settings.Default.DefaultShowValues = TsbShowValueLabel.Checked; DlgWaiting wait = new DlgWaiting(); wait.OnAction += dlg_OnAction; wait.ShowDialog(); } catch (System.Exception ee) { this.chart1 = new Chart(); InvokeOnLog((MsgEventArgs)ee.Message); } }
private void tsbDrawChart_Click(object sender, EventArgs e) { if (!Setting()) { return; } this.ToolStripMenuItem_3d.Checked = false; DlgWaiting wait = new DlgWaiting(); wait.OnAction += dlg_OnAction; wait.ShowDialog(); foreach (ToolStripItem mi in _contentMenuEx) { if (!this.contextMenuStrip_msChart.Items.ContainsKey(mi.Text)) { this.contextMenuStrip_msChart.Items.Add(mi); } } }