コード例 #1
0
        //メールアドレスメンテ画面を開く
        private void m_mailMente_link_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Form_mailDetail addressDetail = new Form_mailDetail();

            addressDetail.con     = con;
            addressDetail.loginDS = loginDS;
            addressDetail.Show();
        }
コード例 #2
0
        //メールアドレスのダブルクリック
        private void m_addressslist_DoubleClick(object sender, EventArgs e)
        {
            ListView.SelectedIndexCollection item = m_addressslist.SelectedIndices;

            Form_mailDetail addressDetail = new Form_mailDetail();

            addressDetail.con = con;


            MailaddressDS mailDt = new MailaddressDS();

            mailDt.kubun       = "1";
            mailDt.opetantouno = this.m_openo.Text;
            mailDt.addressNo   = this.m_addressslist.Items[item[0]].SubItems[0].Text;
            //mailDt.userno = this.m_addressslist.Items[item[0]].SubItems[1].Text;
            mailDt.mailAddress = this.m_addressslist.Items[item[0]].SubItems[1].Text;
            mailDt.addressname = this.m_addressslist.Items[item[0]].SubItems[2].Text;
            mailDt.chk_date    = this.m_addressslist.Items[item[0]].SubItems[3].Text;
            mailDt.chk_name_id = this.m_addressslist.Items[item[0]].SubItems[4].Text;

            addressDetail.addresssDS = mailDt;
            addressDetail.loginDS    = loginDS;
            addressDetail.Show();
        }