alias panel {
  if (!$dialog(panel)) { .dialog -m panel panel }
}
alias xico { 
  did -i $dname 1 1 seticon list 0, $+ $mircdirSohbetSen\ico\ $+ $1 $+ .ico 
  did -a $dname 1 0 $2 $3-
}

dialog panel {
  title "..: SohbetSen Cafe - Kısa Yol Genel Panel :.."
  size 67 99 400 203
  option pixels
  list 1, 1 1 396 220, size
}
on 1:DIALOG:panel:*:*: {
  if ($devent == init) {
    { Splay $mircdirSohbetSen\sounds\Menu.wav } 
    mdx.
    mdx SetDialog $dname style dlgmodal
    mdx SetBorderStyle $1 $2 2
    mdx SetControlMDX $dname 1 listview autoarrange nosortheader icon extsel labeltip hottrack flatsb >  $vdx
    mdx SetControlMDX $dname 2 statusbar > $bdx
    mdx SetFont 1,2 12 700 Verdana 1,2
    did -i $dname 1 1 iconsize 16 16
    $xico(01,1,Wordpad)    
    $xico(02,2,Denetim Masası)
    $xico(03,3,Windows özellikleri)
    $xico(04,4,uzaktan yardım)
    $xico(05,5,Disc Temizleme)
    $xico(06,6,Disc Birleştirici)
    $xico(07,7,Sistem yapılandırması)
    $xico(08,8,Sanal KLavye)
    $xico(09,9,Belgelerim) 
    $xico(010,10,notepad) 
    $xico(011,11,Messanger)
    $xico(012,12,Hesap Makinesi)
    $xico(013,13,Media Player)
    $xico(014,14,Winamp) 
    $xico(015,15,Kapat)
  }
  if ($devent == sclick) { 
  }
  if ($devent == dclick) { 
    if ($did == 1) {
      if ($did($did).sel == 2) { run wordpad | panelok  }
      if ($did($did).sel == 3) { run control | panelok }
      if ($did($did).sel == 4) { run OptionalFeatures | panelok }
      if ($did($did).sel == 5) { run msra | panelok }
      if ($did($did).sel == 6) { run cleanmgr | panelok }
      if ($did($did).sel == 7) { run dfrgui | panelok }
      if ($did($did).sel == 8) { run msconfig | panelok }
      if ($did($did).sel == 9) { run osk | panelok }
      if ($did($did).sel == 10) { run explorer | panelok }
      if ($did($did).sel == 11) { run notepad | panelok }
      if ($did($did).sel == 12) { run msnmsgr | panelok }
      if ($did($did).sel == 13) { run calc| panelok }
      if ($did($did).sel == 14) { run wmplayer | panelok }
      if ($did($did).sel == 15) { run winamp | panelok }
      if ($did($did).sel == 16) { panelok }
    }
  }
}
alias panelok {  .timer 1 0  .dialog -x panel panel }
alias sifironiki { .run $mircdirSohbetSen\ico\012.scf }
