private void Add_Click(object sender, RoutedEventArgs e) { //Msg.Input("Enter Title"); var title = Msg.InputBox("Enter Title"); AddnewWork(title); }