Beispiel #1
0
 private void LnkLbTransfer_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (_transfer == null || _transfer.IsDisposed == true)
     {
         _transfer = new frmTransfer();
         _transfer.Show();
     }
     _transfer.BringToFront();
 }
 private void transferToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (_transfer == null || _transfer.IsDisposed == true)
     {
         _transfer = new frmTransfer();
         _transfer.Show();
     }
     _transfer.BringToFront();
 }
        private void tsbtnLoad_Click(object sender, EventArgs e)
        {
            if (dgList.SelectedRows.Count == 0)
            {
                return;
            }

            intId = Convert.ToInt32(dgList.SelectedRows[0].Cells["ID"].Value);

            frmTransfer frm = new frmTransfer();

            frm.id = intId;

            frm.Show();
            this.Close();
        }