06 2018 档案
摘要:DECLARE @test intSET @test=nullselect isnull(@test,0)
阅读全文
摘要:一、定义变量--简单赋值 declare @a intset @a=5 print @a --使用select语句赋值 declare @user1 nvarchar(50) select @user1='张三'print @user1 declare @user2 nvarchar(50) sel
阅读全文
摘要:存储过程的种类: 1.系统存储过程。 以sp_开头 2.扩展存储过程。 以xp_开头 3.用户定义存储过程。 SQL 循环
阅读全文
摘要:this.but1.AddHandler(Button.ClickEvent,new RoutedEventHandler(OkButton_Click));
阅读全文
摘要:MainWindow mwin = new MainWindow(); Application.Current.MainWindow = mwin; this.Close(); mwin.Show();
阅读全文
摘要:一、考虑到大部分的splashscreen其实都只是一个图片,所以最简单的做法是,先导入一张图片,然后设置它的生成操作为“splash screen” 二、通过程序设置SplashScreen
阅读全文
摘要:方式一、通过当前控件名获取父级窗体 Window targetWindow = Window.GetWindow(button); 方式二、通过当前控件获取父级窗体 Window parentWindow = Window.GetWindow(this);
阅读全文
摘要:一、IntPtr、HandleC#中的IntPtr类型称为“平台特定的整数类型”,它们用于本机资源,如窗口句柄。1、WPF窗口句柄IntPtr wnip = new System.Windows.Interop.WindowInteropHelper(this).Handle;2、WPF控件句柄Sy
阅读全文

浙公网安备 33010602011771号