示例#1
0
        public List <Button> GenerateButton(string jsonFormat)
        {
            List <Button> lstButton = new List <Button>();
            Button        btnTemp   = new Button();
            TableModal    tbDetail  = JsonConvert.DeserializeObject <TableModal>(jsonFormat);


            return(lstButton);
        }
示例#2
0
        private void Button_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            // Get the Position of Window so that it will set margin from this window
            m_MouseX = e.GetPosition(this).X;
            m_MouseY = e.GetPosition(this).Y;

            Button btnTemp = sender as Button;

            Console.WriteLine(btnTemp.Name);
            TableModal tableModel = new TableModal();

            tableModel.Name = btnTemp.Name;
        }