Exemplo n.º 1
0
        private void tlsEmMenuItemUpdate_Click(object sender, EventArgs e)
        {
            frmEmployeeInfo frmInfo4 = new frmEmployeeInfo(4);

            frmInfo4.Owner = this;
            frmInfo4.ShowDialog();
        }
Exemplo n.º 2
0
        private void tlsEmMenuItemSecar_Click(object sender, EventArgs e)
        {
            frmEmployeeInfo frmInfo2 = new frmEmployeeInfo(2);

            frmInfo2.Owner = this;
            frmInfo2.ShowDialog();
        }
Exemplo n.º 3
0
        private void tlsEmMenuItemDelete_Click(object sender, EventArgs e)
        {
            frmEmployeeInfo frmInfo3 = new frmEmployeeInfo(3);

            frmInfo3.Owner = this;
            frmInfo3.ShowDialog();
        }
Exemplo n.º 4
0
        private void tlsEmMenuItenAdd_Click(object sender, EventArgs e)
        {
            frmEmployeeInfo frmInfo1 = new frmEmployeeInfo(1);

            frmInfo1.Owner = this;
            frmInfo1.ShowDialog();
        }
Exemplo n.º 5
0
 private void listView1_Click(object sender, EventArgs e)
 {
     if (lvQs.SelectedItems[0].Text == "产品信息")
     {
         frmtbProduction frmProd1 = new frmtbProduction();
         frmProd1.Owner = this;
         frmProd1.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "产品分类")
     {
         frmtbProPath frmpath1 = new frmtbProPath();
         frmpath1.Owner = this;
         frmpath1.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "通话信息")
     {
         frmDai dai = new frmDai();
         dai.Owner = this;
         dai.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "电话查询")
     {
         frmTel tel = new frmTel();
         tel.Owner = this;
         tel.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "添加员工信息")
     {
         frmEmployeeInfo frmInfo11 = new frmEmployeeInfo(1);
         frmInfo11.Owner = this;
         frmInfo11.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "删除员工信息")
     {
         frmEmployeeInfo frmInfo33 = new frmEmployeeInfo(3);
         frmInfo33.Owner = this;
         frmInfo33.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "修改员工信息")
     {
         frmEmployeeInfo frmInfo11 = new frmEmployeeInfo(2);
         frmInfo11.Owner = this;
         frmInfo11.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "查询员工信息")
     {
         frmEmployeeInfo frmInfo22 = new frmEmployeeInfo(4);
         frmInfo22.Owner = this;
         frmInfo22.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "添加客户信息")
     {
         frmCustomerUpdate CustomerUpdate11 = new frmCustomerUpdate(1);
         CustomerUpdate11.Owner = this;
         CustomerUpdate11.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "修改客户信息")
     {
         frmCustomerUpdate CustomerUpdate22 = new frmCustomerUpdate(2);
         CustomerUpdate22.Owner = this;
         CustomerUpdate22.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "删除客户信息")
     {
         frmCustomerUpdate CustomerUpdate33 = new frmCustomerUpdate(3);
         CustomerUpdate33.Owner = this;
         CustomerUpdate33.ShowDialog();
     }
     if (lvQs.SelectedItems[0].Text == "查询客户信息")
     {
         frmCustomer CustomerF = new frmCustomer();
         CustomerF.Owner = this;
         CustomerF.ShowDialog();
     }
 }