Пример #1
0
 private void ProjectProperties_Shown(object sender, EventArgs e)
 {
     if (Project == null) { Project = new ProjectModel { ProjectName = "New project" }; }
     tbProjectName.Focus();
     tbProjectName.SelectAll();
 }
Пример #2
0
 public static bool Print(ProjectModel project,string ipAddress, int port =  9100)
 {
     return Print(project.PrintCommand, ipAddress, port);
 }