public AddProjectForm(DatabaseTools databaseTools, SettingClass settingClass) { InitializeComponent(); m_DatabaseTools = databaseTools; m_SettingClass = settingClass; }
public MainForm() { InitializeComponent(); m_SettingClass = new SettingClass(); m_DatabaseTools = new DatabaseTools(); m_LockChangeSettings = true; }
public DeleteProjectForm(DatabaseTools databaseTools, Exchange.ProjectInfo projectInfo, SettingClass settingClass) { InitializeComponent(); m_DatabaseTools = databaseTools; m_ProjectInfo = projectInfo; m_SettingClass = settingClass; textBoxName.Text = m_ProjectInfo.Name; }
public TimesForm(DatabaseTools databaseTools, SettingClass settingClass, Exchange.ProjectInfo projectInfo) { m_LockChangeSettings = true; InitializeComponent(); m_DatabaseTools = databaseTools; m_ProjectInfo = projectInfo; m_SettingClass = settingClass; labelCaption.Text = "Выбранный проект:\r\n" + projectInfo.Name; }
public DeleteTimesForm(Exchange.TimesInfo timesInfo, DatabaseTools dayabaseTools, SettingClass settingClass) { InitializeComponent(); m_TimesInfo = timesInfo; m_DatabaseTools = dayabaseTools; m_SettingClass = settingClass; textBoxDateStart.Text = timesInfo.DateStart.ToString(); textBoxDateStop.Text = timesInfo.DateStop.ToString(); }
public EditTimesForm(int currentNumber, DatabaseTools dayabaseTools, SettingClass settingClass, Exchange.TimesInfo[] timesInfos) { InitializeComponent(); m_SettingClass = settingClass; m_CurrentNumber = currentNumber; m_DatabaseTools = dayabaseTools; m_TimesInfos = timesInfos; textBoxDateStart.Text = m_TimesInfos[m_CurrentNumber].DateStart.ToString(); textBoxDateStop.Text = m_TimesInfos[m_CurrentNumber].DateStop.ToString(); }
public EditProjectForm(DatabaseTools databaseTools, SettingClass settingClass, Exchange.ProjectInfo projectInfo) { InitializeComponent(); m_SettingClass = settingClass; m_DatabaseTools = databaseTools; m_ProjectInfo = projectInfo; textBoxName.Text = m_ProjectInfo.Name; textBoxPay.Text = m_ProjectInfo.Pay.ToString(); textBoxInfo.Text = m_ProjectInfo.Info; }