public void inTilData() { actionUP(); this.card = val.card; this.process = val.card.process; this.cost = val.cost; this.part = new Part(val.part); this.client = val.client.Name; visibility = Visibility.Visible; tashiravis = Visibility.Visible; edittashiravis = Visibility.Collapsed; if (val.visa != null) { visibility = Visibility.Collapsed; edittashiravis = Visibility.Visible; tashiravis = Visibility.Collapsed; visa = val.visa; } tashira = new Command(() => { Sample4Content = new Addtashira_kanoni(val, AcceptSample4Dialog, CancelSample4Dialog); OpenSample4Dialog(); this.inTilData(); }); edittashira = new Command(() => { Sample4Content = new Edittashira_kanoni(val, AcceptSample4Dialog, CancelSample4Dialog); OpenSample4Dialog(); }); }
public void inTilData() { this.card = val.card; this.process = val.card.process; this.cost = val.cost; this.part = new Part(val.part); this.client = val.client.Name; visibility = Visibility.Visible; tashiravis = Visibility.Visible; edittashiravis = Visibility.Collapsed; if (val.visa != null) { visibility = Visibility.Collapsed; edittashiravis = Visibility.Visible; tashiravis = Visibility.Collapsed; visa = val.visa; } tashira = new Command(() => { Sample4Content = new Addtashira_kanoni(val, AcceptSample4Dialog, CancelSample4Dialog); OpenSample4Dialog(); this.inTilData(Ico.getValue <db>().GetUnivdb().card_kanoni.ToList().Where(N => N.id == card.id).ToList().SingleOrDefault()); }); edittashira = new Command(() => { Sample4Content = new Edittashira_kanoni(val, AcceptSample4Dialog, CancelSample4Dialog); OpenSample4Dialog(); }); }
public void inTilData() { actionUP(); this.card = val.card; this.process = val.card.process; this.cost = val.cost; this.part = new Part(val.part); this.client = val.client.Name; visibility = Visibility.Visible; tashiravis = Visibility.Visible; edittashiravis = Visibility.Collapsed; if (val.visa != null) { visibility = Visibility.Collapsed; edittashiravis = Visibility.Visible; tashiravis = Visibility.Collapsed; visa = val.visa; } tashira = new Command(() => { Sample4Content = new Addtashira_kanoni(val, AcceptSample4Dialog, CancelSample4Dialog); OpenSample4Dialog(); this.inTilData(); }); edittashira = new Command(() => { Sample4Content = new Edittashira_kanoni(val, AcceptSample4Dialog, CancelSample4Dialog); OpenSample4Dialog(); }); open = new Command(async() => { OpenSample4Dialog(); AcceptSample4Dialog(); await Task.Run(() => { ExcelHlper.OpenFile(val.card.location); CancelSample4Dialog(); }); }); print = new Command(async() => { Ico.getValue <ContentApp>().OpenSample4Dialog(); Ico.getValue <ContentApp>().AcceptSample4Dialog(); await Task.Run(() => { ExcelHlper.PrintFile(val.card.location); Ico.getValue <ContentApp>().CancelSample4Dialog(); }); }); }