public override void OnOkeyClick()
        {
            Command comm = new Database.Command(DatabaseManager.Instance.Connection);

            var item = new OrdersManager.Model.Project();
            item.ProjectName = base.ProjectName;
            item.ProjectStatus = base.ProjectStatus;
            item.ProjectCost = base.ProjectCost;
            item.TeamLeadId = base.TeamLeadId;
            item.StartDate = base.StartDate;
            item.FinalDate = base.FinalDate;

            comm.InsertProject(item);
            Views.ProjectInsertView.Instance.Close();
            //base.OnOkeyClick();
        }
 public InsertProjectModelView(Project proj)
     : base(proj)
 {
 }
 public ProjectViewModel(Project project)
 {
     this.Project = project;
     base.Text = ProjectName;
 }