Esempio n. 1
0
 public MainWindow()
 {
     InitializeComponent();
     this.Closing += MainWindow_Closing;
     JWCCommunicationLib.JWCCommunicatorFactory.LoadLibs(AppDomain.CurrentDomain.BaseDirectory + "\\Communicators");
     JWCControlFactory.LoadLibs(AppDomain.CurrentDomain.BaseDirectory + "\\Controls");
     this.WindowStartupLocation = System.Windows.WindowStartupLocation.Manual;
     this.Left    = 0;
     this.Top     = 0;
     this.Topmost = true;
 }
Esempio n. 2
0
 private void JWCCMainWindow_Loaded(object sender, RoutedEventArgs e)
 {
     JWCControlFactory.LoadLibs(AppDomain.CurrentDomain.BaseDirectory + "\\Controls");
     JWCCommunicationLib.JWCCommunicatorFactory.LoadLibs(AppDomain.CurrentDomain.BaseDirectory + "\\Communicators");
 }