コード例 #1
0
 private void cancellationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (_cancellation == null || _cancellation.IsDisposed == true)
     {
         _cancellation = new frmCancellation();
         _cancellation.Show();
     }
     _cancellation.BringToFront();
 }
コード例 #2
0
 private void LnkLbCancellation_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (_cancellation == null || _cancellation.IsDisposed == true)
     {
         _cancellation = new frmCancellation();
         _cancellation.Show();
     }
     _cancellation.BringToFront();
 }
コード例 #3
0
        private void tsbtnLoad_Click(object sender, EventArgs e)
        {
            if (dgList.SelectedRows.Count == 0)
            {
                return;
            }
            intId = Convert.ToInt32(dgList.SelectedRows[0].Cells["id"].Value);

            frmCancellation frm = new frmCancellation();

            frm.id = intId;
            frm.Show();
            this.Close();
        }
コード例 #4
0
        private void LnkLbCancellation_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmCancellation frm = new frmCancellation();

            frm.Show();
        }