System.Windows.Forms.Form F = new System.Windows.Forms.Form();
F.TopMost=true;
F.Text = "Моя панель";
F.AutoSize=true;
//список зенки со всеми категориями
var list=project.Lists["Список 2"];
var list1=project.Lists["Список 1"];
//список в листбокс
System.Windows.Forms.CheckedListBox CLB1 = new System.Windows.Forms.CheckedListBox();
CLB1.Location = new System.Drawing.Point(30,60);
CLB1.AutoSize=true;
CLB1.Items.AddRange(list.ToArray());
F.Controls.Add(CLB1);
//создаем кнопку
System.Windows.Forms.Button button = new System.Windows.Forms.Button();
button.Text = "Продолжить";
button.Location = new System.Drawing.Point(30,25);
button.Size=new System.Drawing.Size(90, 25);
F.Controls.Add(button);
//описываем событие для клика по кнопке
button.Click+= delegate(object sender, System.EventArgs e)
{
list1.Add(CLB1.SelectedItem.ToString());
F.Close();
};
//запускаем форму
F.ShowDialog();