示例#1
0
        public ExportForm(List <string[]> dataToExport, SettingClass settingClass)
        {
            InitializeComponent();

            m_DataToExport = dataToExport;
            m_SettingClass = settingClass;
        }
示例#2
0
        public FindForm(MainForm mainForm, FilmotecClass filmotecClass, SettingClass settingClass)
        {
            InitializeComponent();

            this.mMainForm      = mainForm;
            this.mFilmotecClass = filmotecClass;
            this.mSettingClass  = settingClass;
        }
示例#3
0
        public AddEditFilmForm(MainForm mainForm, AddEditState currentState, FilmotecClass filmotecClass, SettingClass settingClass, FilmInfo editFilmInfo)
        {
            InitializeComponent();

            this.mMainForm      = mainForm;
            this.mCurrentState  = currentState;
            this.mFilmotecClass = filmotecClass;
            this.mSettingClass  = settingClass;
            this.mOldFilmInfo   = editFilmInfo;
        }
示例#4
0
        public AddEditDiskForm(MainForm mainForm, AddEditState currentState, FilmotecClass filmotecClass, SettingClass settingClass, DiskInfo editDiskInfo, int selectedIndex)
        {
            InitializeComponent();

            m_MainForm      = mainForm;
            m_CurrentState  = currentState;
            m_FilmotecClass = filmotecClass;
            m_SettingClass  = settingClass;
            m_OldDiskInfo   = editDiskInfo;
            m_SelectedIndex = selectedIndex;
        }
示例#5
0
        /// <summary>
        /// Инициализация и установка настроек при начале работы программы
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MainForm_Load(object sender, EventArgs e)
        {
            this.mLockChangeInfo = false;
            this.mFilmotecClass  = new FilmotecClass(Path.Combine(Application.StartupPath, "Data\\Filmotec.flm"));
            this.mSettingClass   = new SettingClass();
            Location             = this.mSettingClass.MainFormLocation;
            Size = this.mSettingClass.MainFormSize;

            InputLanguage.CurrentInputLanguage = this.mSettingClass.CurrentInputLanguage;

            this.mLockChangeSettings = false;
            this.mDiskInfos          = this.mFilmotecClass.DiskInfo;
            this.mFilmInfos          = this.mFilmotecClass.GetFilmInfo(0, string.Empty, string.Empty);
            DisplayInfos();

            SetFont();
        }
示例#6
0
        public SettingForm(SettingClass settingClass)
        {
            InitializeComponent();

            this.mSettingClass = settingClass;
        }