private ERP_DBEntities db; //db related var.

        public MainWindow()
        {
            InitializeComponent();
            this.ResizeMode = System.Windows.ResizeMode.NoResize;
            SDModule.SDWindow sdWindow = new SDModule.SDWindow();
            sdWindow.Show();
        }
 private void SDButton_Click(object sender, RoutedEventArgs e)
 {
     SDModule.SDWindow sdWindow = new SDModule.SDWindow();
     sdWindow.Show();
 }
 private void SDButton_Click(object sender, RoutedEventArgs e)
 {
     SDModule.SDWindow sdWindow = new SDModule.SDWindow();
     sdWindow.Show();
 }