章政 7 жил өмнө
parent
commit
8cc985d074

+ 2 - 2
UAS_DeviceMonitor/CustomerControl/PagingControl/PageControl.cs

@@ -58,7 +58,7 @@ namespace UAS_DeviceMonitor.CustomerControl.PagingControl
                 case "GoFormerPage":
                     if (currentpage == 1)
                     {
-                        MessageBox.Show("当前已经是第一页");
+                        XtraMessageBox.Show("当前已经是第一页", "提示");
                         return;
                     }
                     CurrentPage.Text = (currentpage - 1).ToString();
@@ -67,7 +67,7 @@ namespace UAS_DeviceMonitor.CustomerControl.PagingControl
                 case "GoNextPage":
                     if (currentpage.ToString() == PageCount.Text)
                     {
-                        MessageBox.Show("当前已经是最后一页");
+                        XtraMessageBox.Show("当前已经是最后一页", "提示");
                         return;
                     }
                     CurrentPage.Text = (currentpage + 1).ToString();

+ 0 - 2
UAS_DeviceMonitor/Main.cs

@@ -27,8 +27,6 @@ namespace UAS_DeviceMonitor
             GridViewPollSetting.RowCellStyle += GridViewPollSetting_RowCellStyle;
         }
 
-  
-
         private void Main_Load(object sender, EventArgs e)
         {
             //设备列表