public ExportForm(List <string[]> dataToExport, SettingClass settingClass) { InitializeComponent(); m_DataToExport = dataToExport; m_SettingClass = settingClass; }
public FindForm(MainForm mainForm, FilmotecClass filmotecClass, SettingClass settingClass) { InitializeComponent(); this.mMainForm = mainForm; this.mFilmotecClass = filmotecClass; this.mSettingClass = settingClass; }
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; }
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; }
/// <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(); }
public SettingForm(SettingClass settingClass) { InitializeComponent(); this.mSettingClass = settingClass; }