Beispiel #1
0
        private void 修改寄存ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            int          id   = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["glDanNo"].Value);
            UpdatejcFrom qzjc = UpdatejcFrom.CreateForm(id, dataviewBind1);

            qzjc.Show();
            qzjc.Focus();
        }
Beispiel #2
0
 public static UpdatejcFrom CreateForm(int ID, databind bind)
 {
     id        = ID;
     databind1 = bind;
     if (_danli == null)
     {
         _danli = new UpdatejcFrom();
     }
     return(_danli);
 }
Beispiel #3
0
 private void UpdatejcFrom_FormClosing(object sender, FormClosingEventArgs e)
 {
     videoSourcePlayer1.SignalToStop();
     videoSourcePlayer1.WaitForStop();
     _danli = null;
 }