123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Text;
- using System.Linq;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- using DevExpress.XtraEditors;
- using Uninpho.Tools.components.DataAnalysis;
- namespace Uninpho.Tools.components
- {
- public partial class SuanFaFrom : DevExpress.XtraEditors.XtraForm
- {
- public SuanFaFrom()
- {
- InitializeComponent();
- }
- private void simpleButton1_Click(object sender, EventArgs e)
- {
- if (XZcheckBox.Checked)
- {
- DACommon.xzlcBool = true;
- }
- else
- {
- DACommon.xzlcBool = false;
- }
- if (GDSedit.SelectedItem == "高速")
- {
- DACommon.gdsBool = 0;
- }
- else if (GDSedit.SelectedItem == "普速")
- {
- DACommon.gdsBool = 1;
- }
- else
- {
- DACommon.gdsBool = 2;
- }
- this.DialogResult = DialogResult.OK;
- this.Close();
- }
- public void changeLabel(bool boolstr)
- {
- XZcheckBox.Visible = boolstr;
- }
- }
- }
|