示例#1
0
        public static bool IsFormSegmentationOpen(String strNetworkName)
        {
            FormSegmentation formTemp = listFormSegmentation.Find(delegate(FormSegmentation form) { return(form.Tag.ToString() == strNetworkName); });

            if (formTemp != null)
            {
                formTemp.Focus();
                return(true);
            }
            else
            {
                return(false);
            }
        }
示例#2
0
 public static void AddFormSegmentation(FormSegmentation form)
 {
     listFormSegmentation.Add(form);
 }
示例#3
0
 public static void RemoveFormSegmentation(FormSegmentation form)
 {
     listFormSegmentation.Remove(form);
 }