示例#1
0
 public NomorWindow()
 {
     InitializeComponent();
     Background = null;
     service = new NumberService();
     DataContext = service;
     service.Start();
     Loaded += (s, e) =>
                   {
                      hotkey = new HotKey(Keys.F10, this);
                      hotkey.HotKeyPressed += k => MoveNext();
                   };
     Loaded += NomorWindow_Loaded;
 }
示例#2
0
 public NomorWindow()
 {
     InitializeComponent();
     Background  = null;
     service     = new NumberService();
     DataContext = service;
     service.Start();
     Loaded += (s, e) =>
     {
         hotkey = new HotKey(Keys.F10, this);
         hotkey.HotKeyPressed += k => MoveNext();
     };
     Loaded += NomorWindow_Loaded;
 }
示例#3
0
 public GantiNomer(NumberService service)
 {
     this.service = service;
     InitializeComponent();
 }
示例#4
0
 public GantiNomer(NumberService service)
 {
     this.service = service;
     InitializeComponent();
 }