Example #1
0
        public EditItems(frm_Wikto frm, ListBox lst)
        {
            this.the_parent = frm;
            this.the_target = lst;
            InitializeComponent();
            String TheItems = "";

            for (int i = 0; i < the_target.Items.Count; i++)
            {
                String tmp = the_target.Items[i].ToString();
                tmp = tmp.Replace("\r", "");
                if (tmp.Length > 0)
                {
                    if (TheItems.Length == 0)
                    {
                        TheItems = tmp;
                    }
                    else
                    {
                        TheItems = TheItems + "\r\n" + tmp;
                    }
                }
            }
            this.txt_Items.Text = TheItems;
        }
Example #2
0
 public News(frm_Wikto theform)
 {
     InitializeComponent();
     this.g_form = theform;
     if (g_form.bl_ShowStart)
     {
         chk_ShowStart.Checked = true;
     }
     else
     {
         chk_ShowStart.Checked = false;
     }
     if (g_form.bl_ShowStartWiz)
     {
         chk_StartWiz.Checked = true;
     }
     else
     {
         chk_StartWiz.Checked = false;
     }
 }
Example #3
0
 public Wizard(frm_Wikto themainform)
 {
     this.frm_wikto = themainform;
     InitializeComponent();
 }