예제 #1
0
 private void MakeSendMemo(List <MemberObj> receiverList)
 { //MemoReceiver(key=id, value=name)
     try
     {
         SendMemoForm form;
         if (receiverList == null || receiverList.Count == 0)
         {
             form = new SendMemoForm(connection);
         }
         else
         {
             form = new SendMemoForm(connection, receiverList);
         }
         form.Show();
     }
     catch (Exception e)
     {
         Logger.error(e.ToString());
     }
 }
예제 #2
0
 private void MakeSendMemo(MemberObj receiver)
 {
     try
     {
         SendMemoForm form;
         if (receiver == null)
         {
             form = new SendMemoForm(connection);
         }
         else
         {
             form = new SendMemoForm(connection, receiver);
         }
         form.Show();
     }
     catch (Exception e)
     {
         Logger.error(e.ToString());
     }
 }
예제 #3
0
        private void MakeSendMemo(Hashtable MemoReceiver) { //MemoReceiver(key=id, value=name)
        
            try {
                SendMemoForm form = new SendMemoForm();
                form.formkey.Text = DateTime.Now.ToString();

                if (MemoReceiver.Count != 0) {
                    foreach (DictionaryEntry de in MemoReceiver) {
                        if (de.Value != null) {
                            form.txtbox_receiver.Text += (String)de.Value + "(" + (String)de.Key + ");";
                        }
                    }
                    logWrite("쪽지전송 리스트 생성 : " + form.txtbox_receiver.Text);
                }
                form.BtnReceiver.MouseClick += new MouseEventHandler(BtnReceiver_Click);
                form.BtnSend.MouseClick += new MouseEventHandler(BtnSend_Click);
                form.textBox1.KeyUp += new KeyEventHandler(textBox1_KeyDown);
                form.Show();
                form.textBox1.Focus();
                MemoFormList[form.formkey.Text] = form;
            } catch (Exception e) {
                logWrite(e.ToString());
            }
        }
예제 #4
0
 //MemoReceiver(key=name, value=id)
 private void MakeSendMemo(Hashtable MemoReceiver)
 {
     try
     {
         SendMemoForm form = new SendMemoForm();
         string Receiver = null;
         form.formkey.Text = DateTime.Now.ToString();
         if (MemoReceiver.Count != 0)
         {
             foreach (DictionaryEntry de in MemoReceiver)
             {
                 if (de.Value != null)
                 {
                     Receiver = (String)de.Key + "(" + (String)de.Value + ");";
                     form.txtbox_receiver.Text += Receiver;
                     form.receiverIDs.AppendText((String)de.Value + ";");
                 }
             }
             logWrite("������ receiverIDs ����Ʈ ���� : " + form.receiverIDs.Text);
         }
         form.BtnReceiver.MouseClick += new MouseEventHandler(BtnReceiver_Click);
         form.BtnSend.MouseClick += new MouseEventHandler(BtnSend_Click);
         form.textBox1.KeyUp += new KeyEventHandler(textBox1_KeyDown);
         form.Show();
         form.textBox1.Focus();
         MemoFormList[form.formkey.Text] = form;
     }
     catch (Exception e)
     {
         logWrite(e.ToString());
     }
 }
예제 #5
0
 private void MakeSendMemo(MemberObj receiver)
 {
     try
     {
         SendMemoForm form;
         if (receiver == null)
             form = new SendMemoForm(connection);
         else
             form = new SendMemoForm(connection, receiver);
         form.Show();
     }
     catch (Exception e)
     {
         Logger.error(e.ToString());
     }
 }
예제 #6
0
 private void MakeSendMemo(List<MemberObj> receiverList)
 { //MemoReceiver(key=id, value=name)
     try
     {
         SendMemoForm form;
         if (receiverList == null || receiverList.Count == 0)
             form = new SendMemoForm(connection);
         else
             form = new SendMemoForm(connection, receiverList);
         form.Show();
     }
     catch (Exception e)
     {
         Logger.error(e.ToString());
     }
 }