Example #1
0
 private void InitUi()
 {
     try
     {
         curGroups = new List <string>
         {
             "The left contact Angle",
             "Right contact Angle",
             "Differential contact Angle",
             "Evaluation contact Angle",
             "A few lines of inclination",
             "Minimum contact Angle",
             "Maximum contact Angle",
             "The standard deviatio",
             "Forward contact Angle",
             "Backward contact Angle",
             "Lag Angle",
             "Rolling Angle",
             "Droplet size",
             "Droplet diameter"
         };
         foreach (var item in curGroups)
         {
             ModuleGroup moduleGroup = new ModuleGroup()
             {
                 GroupName = item
             };
             ListGroups.Add(moduleGroup);
         }
     }
     catch (Exception)
     {
         throw;
     }
 }
        private void InitUi()
        {
            try
            {
                curGroups = new List <string>
                {
                    "Circle fitting",
                    "Elliptic fitting",
                    "LY - AP fitting",
                    "LY - SD fitting",
                    "The experimental diagram of contact Angle is automatically fitted",
                    "Manual fitting of contact Angle",
                    "Three point fitting circle",
                    "Five points fit the ellipse",
                };
                foreach (var item in curGroups)
                {
                    ModuleGroup moduleGroup = new ModuleGroup()
                    {
                        GroupName = item
                    };
                    ListGroups.Add(moduleGroup);
                }

                curGroupsData = new List <string>
                {
                    "Automatic baseline fitting (default)",
                    "Manually fit the horizontal/tilt baseline",
                    "Manually fitting the surface baseline",
                    "Surface tension",
                    "Automatic fitting test",
                    "The surface tension diagram was fitted automatically",
                    "Wettability analysis",
                    "Surface energy"
                };
                foreach (var item in curGroupsData)
                {
                    ModuleGroup moduleGroup = new ModuleGroup()
                    {
                        GroupName = item
                    };
                    ListGroupsData.Add(moduleGroup);
                }
            }
            catch (Exception)
            {
                throw;
            }
        }