示例#1
0
        public bool Equals(MainFormOptions options)
        {
            if (location != options.location)
            {
                return(false);
            }
            if (size != options.size)
            {
                return(false);
            }
            if (maximized != options.maximized)
            {
                return(false);
            }
            if (m_toolStripView != options.m_toolStripView)
            {
                return(false);
            }
            if (m_statusStripView != options.m_statusStripView)
            {
                return(false);
            }

            return(true);
        }
示例#2
0
 public void CopyTo(ref MainFormOptions options)
 {
     options.location          = location;
     options.size              = size;
     options.maximized         = maximized;
     options.m_toolStripView   = m_toolStripView;
     options.m_statusStripView = m_statusStripView;
 }
示例#3
0
 public MainFormOptions(MainFormOptions options)
 {
     location          = options.location;
     size              = options.size;
     maximized         = options.maximized;
     m_toolStripView   = options.m_toolStripView;
     m_statusStripView = options.m_statusStripView;
 }
示例#4
0
文件: Options.cs 项目: vsf6/AntiDupl
        public Options(Options options)
        {
            resultsOptions      = new ResultsOptions(options.resultsOptions);
            mainFormOptions     = new MainFormOptions(options.mainFormOptions);
            hotKeyOptions       = new HotKeyOptions(options.hotKeyOptions);
            coreOptionsFileName = (string)options.coreOptionsFileName.Clone();

            Language               = options.Language;
            onePath                = options.onePath;
            checkingForUpdates     = options.checkingForUpdates;
            useImageDataBase       = options.useImageDataBase;
            checkResultsAtLoading  = options.checkResultsAtLoading;
            checkMistakesAtLoading = options.checkMistakesAtLoading;
            loadProfileOnLoading   = options.loadProfileOnLoading;
            saveProfileOnClosing   = options.saveProfileOnClosing;
        }