Ejemplo n.º 1
0
        /// <summary>
        /// ���Đ�ݒ�{�^���������ꂽ�Ƃ�
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnAddress_Click(object sender, EventArgs e)
        {
            //����I���ʂ�\������B
            using (AddressSelectForm f = new AddressSelectForm(this._addressds))
            {
                f.ShowDialog();
            }

            if (this._addressds.Address.Count != 0) this.btnAddress.BackColor = SystemColors.ControlDark ;
            else this.btnAddress.BackColor = SystemColors.Control;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// あて先設定ボタンが押されたとき
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnAddress_Click(object sender, EventArgs e)
        {
            //宛先選択画面を表示する。
            using (AddressSelectForm f = new AddressSelectForm(this._addressds))
            {
                f.ShowDialog();
            }

            if (this._addressds.Address.Count != 0)
            {
                this.btnAddress.BackColor = SystemColors.ControlDark;
            }
            else
            {
                this.btnAddress.BackColor = SystemColors.Control;
            }
        }