public DocumentView()
 {
     InitializeComponent();
     MarineList.PrepareList();
     DocumentList.PrepareList();
     MarineDocumentList.PrepareList();
     DocTypeContextList.PrepareList();
     MarineTree.ItemsSource = MarineDocumentList.MarineDocuments;
 }
示例#2
0
 public MainWindow()
 {
     InitializeComponent();
     CommandModel.SetDateContext("2018");
     MarineList.PrepareList();
     DocumentList.PrepareList();
     MarineDocumentList.PrepareList();
     TestTree.ItemsSource = MarineDocumentList.MarineDocuments;
     DateTest.Text        = DateTime.Now.ToString();
 }
示例#3
0
        public DocumentUpload()
        {
            InitializeComponent();
            DocumentList.PrepareList();
            MarineList.PrepareList();
            GetList();
            DocTypeContextList.PrepareList();
            SectionContextList.PrepareSectionContext();

            DocType.ItemsSource = DocTypeContextList.DocTypes;
            Section.ItemsSource = SectionContextList.Sections;

            CheckExecutable();
        }