private void btnAddToFavorites_Click(object sender, EventArgs e) { AddToFavoriteForm.Run( new DBStructSynchronizeFavorite { Source = m_srcDb, Target = m_dstDb }, String.Format("{0}-{1}", m_srcDb, m_dstDb) ); }
private void btnAddToFavorites_Click(object sender, EventArgs e) { var fav = new DiagramFavorite { File = m_file.DiskPath, Database = m_conn }; AddToFavoriteForm.Run(fav, Path.GetFileNameWithoutExtension(m_file.DiskPath)); }
private void btnAddToFavorites_Click(object sender, EventArgs e) { if (m_filledJob == null) { return; } AddToFavoriteForm.Run(new JobFavorite { JobFile = m_filledJob.File, }, Path.GetFileNameWithoutExtension(m_filledJob.FullFile)); }
private void btnAddToFavorites_Click(object sender, EventArgs e) { if (m_jobconn == null) { StdDialog.ShowInfo("s_please_save_job_first"); return; } AddToFavoriteForm.Run( new DataSynFavorite { File = m_jobconn.FileName, Command = m_cmd.GroupId }, Path.GetFileNameWithoutExtension(m_jobconn.FileName) ); }