예제 #1
0
 public CreatePipeReportCommand(
     PipeConstractionReportViewModel viewModel,
     IMillReportsRepository repo,
     IUserNotify notify)
 {
     this.viewModel = viewModel;
     this.repo      = repo;
     this.notify    = notify;
 }
 public CreatePipeReportCommand(
     PipeConstractionReportViewModel viewModel,
     IMillReportsRepository repo,
     IUserNotify notify)
 {
     this.viewModel = viewModel;
     this.repo = repo;
     this.notify = notify;
 }
        private void PipeConstractionReportXtraForm_Load(object sender, EventArgs e)
        {
            viewModel =
                (PipeConstractionReportViewModel)
                Program.Kernel.GetService(
                typeof(PipeConstractionReportViewModel));

            BindToViewModel();
            BindCommands();
        }
예제 #4
0
        private void PipeConstractionReportXtraForm_Load(object sender, EventArgs e)
        {
            viewModel =
                (PipeConstractionReportViewModel)
                Program.Kernel.GetService(
                    typeof(PipeConstractionReportViewModel));

            BindToViewModel();
            BindCommands();
        }