예제 #1
0
파일: frmMain.cs 프로젝트: joker1569/PMLW
        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            LoadingInForm loading = new LoadingInForm(splashScreenManager1);

            loading.ShowWaitForm();
            frmDanhGiaURL frm = new frmDanhGiaURL();

            frm.MdiParent = this;
            frm.Show();
            loading.CloseWaitForm();
        }
예제 #2
0
 private void InfoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (listviewURL.SelectedItems.Count > 0)
     {
         ListViewItem  item = listviewURL.SelectedItems[0];
         frmDanhGiaURL frm  = new frmDanhGiaURL(item.SubItems[1].Text);
         frm.Show();
         frm.PerformAction();
     }
     else
     {
         MessageBox.Show("Lỗi khi xử lý yêu cầu", "Thong bao", MessageBoxButtons.OK);
     }
 }