Esempio n. 1
0
 /// <summary>
 /// 数据库显示界面
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OutDataWindowShow_Click(object sender, EventArgs e)
 {
     if (_OutDataWindow == null || _OutDataWindow.IsDisposed)
     {
         _OutDataWindow = new IEDataBase.OutDataWindow();
     }
     SetTabPate("OutTable", OutTable, form: _OutDataWindow);
 }
Esempio n. 2
0
        public OutDataWindow()
        {
            InitializeComponent();

            outData_ = this;

            dateTimePicker1.CustomFormat = "yyyy-MM-dd HH:mm:ss";
            dateTimePicker1.Format       = DateTimePickerFormat.Custom;
            dateTimePicker1.ShowUpDown   = true;
            dateTimePicker1.Value        = DateTime.Now.Date;
            dateTimePicker2.CustomFormat = "yyyy-MM-dd HH:mm:ss";
            dateTimePicker2.Format       = DateTimePickerFormat.Custom;
            dateTimePicker2.ShowUpDown   = true;
            dateTimePicker2.Value        = DateTime.Now.Date.AddHours(23).AddMinutes(59).AddSeconds(59);

            DataradioButton.Checked = true;
        }