Esempio n. 1
0
        /// <summary>
        /// Edit Board From Job Boards List
        /// </summary>
        protected override void Edit()
        {
            JobBoard b = BaseListWindow.listviewCurrent.SelectedItem as JobBoard;

            if (b != null)
            {
                JobBoardCreation bc = new JobBoardCreation(b);
                bc.ShowDialog();
                Files.Instance.SaveBoardFile();
                RefreshListView(JobBoards.Instance);
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Base Constructor
 /// </summary>
 /// <param name="board">The Job Board To Edit</param>
 /// <param name="mode">The Editing Mode</param>
 private JobBoardCreation(JobBoard board, EditMode mode) : base(board, mode, "Job Board", "Website")
 {
 }
Esempio n. 3
0
 /// <summary>
 /// Editing Constructor
 /// </summary>
 /// <param name="board">The Job Board To Edit</param>
 public JobBoardCreation(JobBoard board) : this(board, EditMode.Edit)
 {
 }