Пример #1
0
        /// <summary>
        /// Button "add header" have been click
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btHeaderAdd_Click(object sender, EventArgs e)
        {
            HeaderInputWindow oHiw = new HeaderInputWindow();

            if (oHiw.ShowDialog() == DialogResult.OK)
            {
                lbxHeadersToSign.Items.Add(oHiw.GetHeaderName());
                lbxHeadersToSign.SelectedItem = oHiw.GetHeaderName();
                bDataUpdated = true;
            }

            oHiw.Dispose();
        }
Пример #2
0
        /// <summary>
        /// Button "add header" have been click
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btHeaderAdd_Click(object sender, EventArgs e)
        {
            HeaderInputWindow oHiw = new HeaderInputWindow();

            if (oHiw.ShowDialog() == DialogResult.OK)
            {
                this.lbxHeadersToSign.Items.Add(oHiw.txtHeader.Text);
                this.lbxHeadersToSign.SelectedItem = oHiw.txtHeader;

                this.bDataUpdated = true;
            }
        }
Пример #3
0
        /// <summary>
        /// Button "add header" have been click
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btHeaderAdd_Click(object sender, EventArgs e)
        {
            HeaderInputWindow oHiw = new HeaderInputWindow();

            if (oHiw.ShowDialog() == DialogResult.OK)
            {
                lbxHeadersToSign.Items.Add(oHiw.GetHeaderName());
                lbxHeadersToSign.SelectedItem = oHiw.GetHeaderName();
                bDataUpdated = true;
            }

            oHiw.Dispose();
        }