예제 #1
0
파일: hyczck.cs 프로젝트: wryip/diyiban
        private void  除本条_Click(object sender, EventArgs e)
        {
            memberToUpModel model  = Alllist[dataGridView1.SelectedRows[0].Index];
            caocuofrom      caozuo = caocuofrom.Create(deletePassword, model.czId.ToString());

            caozuo.Show();
        }
예제 #2
0
파일: jcglform.cs 프로젝트: wryip/diyiban
        private void  除寄存ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            JCInfoModel model  = (JCInfoModel)dataGridView1.SelectedRows[0].DataBoundItem;
            caocuofrom  caozuo = caocuofrom.Create(deletePassword, model.jcID.ToString());

            caozuo.Show();
        }
예제 #3
0
파일: caocuofrom.cs 프로젝트: wryip/diyiban
 public static caocuofrom Create(caozuoyanzheng action, string cardNo)
 {
     action1 = action;
     cardNo1 = cardNo;
     if (_danli == null)
     {
         _danli = new caocuofrom();
     }
     return(_danli);
 }
예제 #4
0
        private void  除会员ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count == 0)
            {
                MessageBox.Show("请选择会员!");
                return;
            }
            memberInfoModel model    = (memberInfoModel)dataGridView1.SelectedRows[0].DataBoundItem;
            caocuofrom      chongzhi = caocuofrom.Create(deletePassword, model.ID.ToString().Trim());

            chongzhi.Show();
            chongzhi.Focus();
        }
예제 #5
0
파일: jcglform.cs 프로젝트: wryip/diyiban
        private void 取消取走ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            JCInfoModel model = (JCInfoModel)dataGridView1.SelectedRows[0].DataBoundItem;

            if (model.jcZT == "未取走")
            {
                MessageBox.Show("该物品并未取走,不能执行此操作!");
                return;
            }
            caocuofrom caozuo = caocuofrom.Create(updateZT, model.jcID.ToString());

            caozuo.Show();
        }
예제 #6
0
파일: caocuofrom.cs 프로젝트: wryip/diyiban
 private void caocuofrom_FormClosing(object sender, FormClosingEventArgs e)
 {
     _danli = null;
 }
예제 #7
0
        private void button1_Click(object sender, EventArgs e)
        {
            caocuofrom from = caocuofrom.Create(deletePassword, "1");

            from.Show();
        }