예제 #1
0
파일: Current.cs 프로젝트: xxftapv/RDCMan
        public static void Read()
        {
            CheckConfig();
            System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
            RdcManSection = (configuration.GetSection("rdcman") as RdcManSection);
            if (RdcManSection == null)
            {
                FormTools.InformationDialog("RDCMan н╢ур╣╫ еДжцнд╪Ч: RDCMan.exe.config");
                return;
            }
            DisplaySizeElementCollection displaySizes = RdcManSection.DisplaySizes;
            int num = Math.Min(10, displaySizes.Count);

            SizeHelper.StockSizes = new Size[num];
            for (int i = 0; i < num; i++)
            {
                SizeHelper.StockSizes[i] = SizeHelper.Parse(displaySizes.GetDisplaySize(i).Size);
            }
        }
예제 #2
0
 public override bool ConfirmRemove(bool askUser)
 {
     FormTools.InformationDialog("Smart group members are specified by inclusion criteria; manual removal is not allowed");
     return(false);
 }