예제 #1
0
 public static YGFinish CreateForm(Databind bind1)
 {
     bind = bind1;
     if (_danli == null)
     {
         _danli = new YGFinish();
     }
     return(_danli);
 }
예제 #2
0
파일: jcform.cs 프로젝트: wryip/diyiban
        private void button3_Click(object sender, EventArgs e)
        {
            //List<int> list = new List<int>();
            //foreach (DataGridViewRow iteam in dataGridView3.Rows)
            //{
            //    if (Convert.ToBoolean(iteam.Cells["XZ"].Value))
            //    {
            //        list.Add(Convert.ToInt32(iteam.Cells["jcID"].Value));
            //    }
            //}
            //string ID = dataGridView3.SelectedRows[0].Cells["jcID"].Value.ToString();
            //拿到送洗的ID

            YGFinish ygfin = YGFinish.CreateForm(BindData);

            ygfin.Show();
            ygfin.Focus();
        }
예제 #3
0
 private void YGFinish_FormClosing(object sender, FormClosingEventArgs e)
 {
     _danli = null;
 }