private void CreateBtn_Click_Async(object sender, EventArgs e)
 {
     Status.CurrentDetailsSetDirectory = Status.CurrentDirectory + "/FEMAP/DETAILS SET " + db.DETAILS.Count();
     Directory.CreateDirectory(Status.CurrentDetailsSetDirectory);
     Directory.CreateDirectory(Status.CurrentDetailsSetDirectory + "/ROD");
     CreateBtn.Enabled = false;
     ui.Create_Async(groupBox1, "Шатун");
 }
Exemple #2
0
 private async void CreateBtn_Click_Async(object sender, EventArgs e)
 {
     Status.CurrentDetailsSetDirectory = Status.CurrentDirectory + "/FEMAP/DETAILS SET " + db.DETAILS.Count();
     Directory.CreateDirectory(Status.CurrentDetailsSetDirectory);
     Directory.CreateDirectory(Status.CurrentDetailsSetDirectory + "/CRANKSHAFT");
     CreateBtn.Enabled = false;
     ui.Create_Async(groupBox1, "Коленчатый вал");
 }
Exemple #3
0
 private void CreateBtn_Click_Async(object sender, EventArgs e)
 {
     Status.CurrentDetailsSetDirectory = Status.CurrentDirectory + "/FEMAP/DETAILS SET " + db.DETAILS.CountAsync().Result;
     Directory.CreateDirectory(Status.CurrentDetailsSetDirectory);
     Directory.CreateDirectory(Status.CurrentDetailsSetDirectory + "/PISTON");
     CreateBtn.Enabled = false;
     ui.Create_Async(groupBox1, "Поршень");
 }