Exemplo n.º 1
0
Arquivo: News.cs Projeto: liorvh/wikto
        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;


        }
Exemplo n.º 2
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;
 }
Exemplo n.º 3
0
 public Wizard(frm_Wikto themainform)
 {
     this.frm_wikto = themainform;
     InitializeComponent();
 }